Anton Khirnov
50a1c66cf6
ac3_parser: add a public function for parsing the data required by the demuxer
...
Make the current semi-public avpriv_ac3_parse_header() private to lavc.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years ago
Tim Walker
fef2147b7a
eac3dec: don't call avpriv_request_sample every frame.
...
These errors neither prevent nor stop successful decoding
of the E-AC-3 stream's "core", causing avpriv_request_sample
to be called for every single frame in the bitstream.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
9 years ago
Tim Walker
9cd4bc4176
ac3dec: set AV_FRAME_DATA_DOWNMIX_INFO side data.
11 years ago
Tim Walker
0d43b114cc
eac3: cosmetics, re-indent.
11 years ago
Tim Walker
ade75fb811
(e)ac3: clip surround mix level indexes.
...
Values 0-2 are reserved, 3 (-1.5dB) should be used instead.
11 years ago
Tim Walker
c229f571fd
(e)ac3: parse and store the Lt/Rt and LFE mix levels.
11 years ago
Tim Walker
1f604f96ea
ac3: set default matrix encoding modes in parse_frame_header.
...
Deduplicates some code.
11 years ago
Tim Walker
13345fc1f8
(e)ac3: parse and store the Dolby Surround, Surround EX and Headphone mode flags.
11 years ago
Diego Biurrun
12e25ed284
avcodec: av_log_missing_feature(1) ---> avpriv_request_sample()
12 years ago
Diego Biurrun
511cf612ac
miscellaneous typo fixes
12 years ago
Diego Biurrun
8f4c414df6
Improve wording and spelling of av_log_missing_feature messages.
12 years ago
Diego Biurrun
717addecad
Use proper return values in case of missing features
12 years ago
Janne Grunau
c57fe49da8
eac3dec: replace undefined 1<<31 with INT32_MIN in noise generation
13 years ago
Justin Ruggles
31b69928e5
cosmetics: rename eac3dec_data.c/h to eac3_data.c/h since the tables will also
...
be used in the E-AC-3 encoder.
14 years ago
Justin Ruggles
be18738801
Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser
...
and decoder, and vice-versa for the AC-3 encoder.
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Carl Eugen Hoyos
ca6e7708b4
Add spectral extension to the E-AC-3 decoder.
...
Original patch by Justin, updated and resubmitted by
Christophe Gisquet, christophe D gisquet A gmail
Originally committed as revision 22734 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
d15153244f
refactoring: properly separate AC-3 and E-AC-3 code
...
Originally committed as revision 19501 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Ronald S. Bultje
ce863d7f36
Rename ff_log_missing_feature() to av_log_missing_feature().
...
Originally committed as revision 19294 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
724b8f6ac7
eac3dec: get rid of unnecessary left shifts in 16-bit * 24-bit
...
multiplication in GAQ mantissa ramapping.
Originally committed as revision 18941 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
cab4e4e84d
10l: typing mistake in r18888
...
Originally committed as revision 18890 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
37a1cc4834
eac3dec: fix bug in GAQ dequantization. large mantissas should only be
...
decoded when the gain value is 2 or 4.
Originally committed as revision 18889 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9907c7804a
eac3dec: make GAQ dequantization 24-bit
...
Originally committed as revision 18888 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
ae04de316f
eac3dec: revert commit r18860. keep the AHT IDCT 24-bit. will make AHT GAQ
...
dequantization 24-bit in a separate commit.
Originally committed as revision 18887 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
9a7a71ed4c
eac3dec: use 16-bit pre-mantissas instead of 24-bit in AHT decoding. it is
...
simpler and also fixes a bug in GAQ dequantization.
Originally committed as revision 18860 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
137707e53a
Add documentation about missing E-AC-3 features.
...
Originally committed as revision 18021 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Alex Converse
11d6f38cc9
Factorise enum of AC3 error types to be usable by AAC in the ADTS patch that
...
will follow
Patch by Alex Converse ( alex converse gmail com )
Originally committed as revision 16479 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
dbbec0c2f2
Make av_log_missing_feature an internal function, and change its name
...
to ff_log_missing_feature.
Originally committed as revision 16037 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
d98d70d697
ac3dec: add missing feature log message for block start info
...
Originally committed as revision 16020 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
3e7aa8fa4c
ac3dec: use skip_bits_long() for block start bits
...
Originally committed as revision 16019 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
e202cc2580
revert r15812 (E-AC-3 Spectral Extension) pending further review
...
Originally committed as revision 15818 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
0cc51734b2
add support for spectral extension
...
Originally committed as revision 15812 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Justin Ruggles
f07fe6e78a
simplify code and comment regarding determination whether or not AHT is used.
...
Originally committed as revision 15101 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9cf8ebe38a
use correct table name
...
Originally committed as revision 15099 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
1ffbafa02b
skip converter exponent strategy for all channels at once
...
Originally committed as revision 15092 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
e1747bfa4e
merge declaration and init. variable is not used outside the loop.
...
Originally committed as revision 15090 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
d82bdf684b
commit more OKed parts of the E-AC-3 decoder
...
Originally committed as revision 15067 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
0c3021eade
change eac3dec.c license to LGPL
...
Originally committed as revision 14936 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
602031305c
add more OKed parts of the E-AC-3 decoder
...
Originally committed as revision 14912 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago