Justin Ruggles
ba7f712c21
remove unneeded local variable
...
Originally committed as revision 14547 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
55aff0d901
Read bitstream parameters for E-AC-3 streams before returning an error.
...
Originally committed as revision 14528 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
602116df9b
Hardcode the table for ungrouping 3 values in 5 bits. It will be reused by
...
the E-AC-3 decoder.
Originally committed as revision 14527 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7417120b6f
use the same table for ungrouping exponents and bap=2 mantissas
...
Originally committed as revision 14525 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
14b7062829
cosmetics: make all references to AC-3 capitalized and hyphenated
...
Originally committed as revision 14523 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Peter Ross
fd76c37fd9
Modify all codecs to report their supported input and output sample format(s).
...
Originally committed as revision 14482 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
4760aec6a0
read 'coupling in use' parameter from bitstream into decoder context first,
...
then copy to the local variable.
Originally committed as revision 14311 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7645da9194
cosmetic: use hex value instead of decimal to show relation to 0x7FFFFF
...
Originally committed as revision 14290 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
fe4bf37455
Make AVCodec long_names definition conditional depending on CONFIG_SMALL.
...
Originally committed as revision 13759 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
227322b837
move rematrixing band table to ac3dec_data.c
...
Originally committed as revision 13716 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
4397d95ce0
split up header parsing function
...
Originally committed as revision 13705 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
da04be10a2
store exp_strategy for all blocks in decode context
...
Originally committed as revision 13704 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
54624396fc
store cpl_in_use for all blocks in decode context
...
Originally committed as revision 13703 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
58ce349f0a
move the decode context and some macro constants to a new file, ac3dec.h
...
Originally committed as revision 13697 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
30f71adc46
move mix level tables from parser to decoder. have parser read bitstream value instead of using an index to a table in the decoder.
...
Originally committed as revision 13696 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
caf0fbc889
add more gain levels and adjust mix level tables accordingly.
...
Originally committed as revision 13695 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
687671f03b
pass bap table to ff_ac3_bit_alloc_calc_bap()
...
Originally committed as revision 13694 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
4921bbbae5
cosmetics: indent
...
Originally committed as revision 13692 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
aa5d6be8df
skip unsupported frame types and substream id's
...
Originally committed as revision 13691 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
be5f17b96b
read frame type from header info into decode context
...
Originally committed as revision 13690 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
3596aa6fe6
get substreamid from ac3 parser
...
Originally committed as revision 13689 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
6730e9f300
get the number of blocks from the ac3 parser and use in the ac3 decoder.
...
Originally committed as revision 13688 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7af26d14ac
return error on frame sync error
...
Originally committed as revision 13654 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
fb2b88a816
cosmetics: add a comment, remove a comment
...
Originally committed as revision 13590 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
9b57545934
simplify
...
Originally committed as revision 13589 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
6e74513a48
set lfe params at frame init instead of in every block
...
Originally committed as revision 13588 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
b85a15fe73
only calculate number of exponent groups when exponents are not reused.
...
Originally committed as revision 13587 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
aa148649a4
cosmetics: remove unneeded braces
...
Originally committed as revision 13586 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
7e13b31c19
10l: cosmetics
...
Originally committed as revision 13585 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
e25973a1fd
new dba values requires running last 2 bit allocation stages
...
Originally committed as revision 13584 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
ff5d419e2f
get_transform_coeffs() never returns an error, so make the function and its children return void.
...
Originally committed as revision 13582 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
fbe52e4188
use enum value for CRC error
...
Originally committed as revision 13580 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
c78c6d6c58
move header error logging to after CRC check
...
Originally committed as revision 13579 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
bd98e9e230
zero the upper frequencies of the correct coefficients
...
Originally committed as revision 13452 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
eccba2bc4b
safer solution for setting audio parameters
...
Originally committed as revision 13402 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
cf03a8173a
set audio parameters if frame header is ok, even if crc fails
...
Originally committed as revision 13399 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
3336110acf
cosmetics: indent
...
Originally committed as revision 13398 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
ecfe94b294
add error concealment
...
Originally committed as revision 13397 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
93a2c8c14f
cosmetics: indent
...
Originally committed as revision 13385 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
43ad93a4f1
10l: fix error in commit r13382
...
Originally committed as revision 13384 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
82a591d8d1
add checks for missing information in the first block
...
Originally committed as revision 13382 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
3af9131398
add check for invalid channel mode when coupling is used
...
Originally committed as revision 13381 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
245976da2a
Use full path for #includes from another directory.
...
Originally committed as revision 13098 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
162d4fc99d
Add long names to AVCodec declarations.
...
patch by Stefano Sabatini, stefano.sabatini-lala poste it
Originally committed as revision 13009 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Bartlomiej Wolowiec
55736cfbd2
change ff_ac3_parse_header() to take a GetBitContext instead of const char*
...
Originally committed as revision 12922 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Bartlomiej Wolowiec
79b25a27b8
change name from stream type to frame type in AC3 code
...
Originally committed as revision 12623 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
509fdb0b7e
only allocate context input buffer if AVCodecContext.error_reslience is greater than 0.
...
Originally committed as revision 12600 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
984ff38a2b
cosmetics: indentation after last commit
...
Originally committed as revision 12594 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Justin Ruggles
c33a196716
additional protection from segmentation faults and memory access errors by
...
copying the input buffer to a local context buffer which is large enough to
hold the largest possible AC3 frame.
Originally committed as revision 12593 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Bartlomiej Wolowiec
4e6eeaf019
using stream type in eac3 parser
...
Originally committed as revision 12570 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago