278 Commits (cf57bea6fb32a320191f9f0721b352fc33c87826)

Author SHA1 Message Date
Justin Ruggles 4397d95ce0 split up header parsing function 17 years ago
Justin Ruggles da04be10a2 store exp_strategy for all blocks in decode context 17 years ago
Justin Ruggles 54624396fc store cpl_in_use for all blocks in decode context 17 years ago
Justin Ruggles 58ce349f0a move the decode context and some macro constants to a new file, ac3dec.h 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. 17 years ago
Justin Ruggles caf0fbc889 add more gain levels and adjust mix level tables accordingly. 17 years ago
Justin Ruggles 687671f03b pass bap table to ff_ac3_bit_alloc_calc_bap() 17 years ago
Justin Ruggles 4921bbbae5 cosmetics: indent 17 years ago
Justin Ruggles aa5d6be8df skip unsupported frame types and substream id's 17 years ago
Justin Ruggles be5f17b96b read frame type from header info into decode context 17 years ago
Justin Ruggles 3596aa6fe6 get substreamid from ac3 parser 17 years ago
Justin Ruggles 6730e9f300 get the number of blocks from the ac3 parser and use in the ac3 decoder. 17 years ago
Justin Ruggles 7af26d14ac return error on frame sync error 17 years ago
Justin Ruggles fb2b88a816 cosmetics: add a comment, remove a comment 17 years ago
Justin Ruggles 9b57545934 simplify 17 years ago
Justin Ruggles 6e74513a48 set lfe params at frame init instead of in every block 17 years ago
Justin Ruggles b85a15fe73 only calculate number of exponent groups when exponents are not reused. 17 years ago
Justin Ruggles aa148649a4 cosmetics: remove unneeded braces 17 years ago
Justin Ruggles 7e13b31c19 10l: cosmetics 17 years ago
Justin Ruggles e25973a1fd new dba values requires running last 2 bit allocation stages 17 years ago
Justin Ruggles ff5d419e2f get_transform_coeffs() never returns an error, so make the function and its children return void. 17 years ago
Justin Ruggles fbe52e4188 use enum value for CRC error 17 years ago
Justin Ruggles c78c6d6c58 move header error logging to after CRC check 17 years ago
Justin Ruggles bd98e9e230 zero the upper frequencies of the correct coefficients 17 years ago
Justin Ruggles eccba2bc4b safer solution for setting audio parameters 17 years ago
Justin Ruggles cf03a8173a set audio parameters if frame header is ok, even if crc fails 17 years ago
Justin Ruggles 3336110acf cosmetics: indent 17 years ago
Justin Ruggles ecfe94b294 add error concealment 17 years ago
Justin Ruggles 93a2c8c14f cosmetics: indent 17 years ago
Justin Ruggles 43ad93a4f1 10l: fix error in commit r13382 17 years ago
Justin Ruggles 82a591d8d1 add checks for missing information in the first block 17 years ago
Justin Ruggles 3af9131398 add check for invalid channel mode when coupling is used 17 years ago
Diego Biurrun 245976da2a Use full path for #includes from another directory. 17 years ago
Stefano Sabatini 162d4fc99d Add long names to AVCodec declarations. 17 years ago
Bartlomiej Wolowiec 55736cfbd2 change ff_ac3_parse_header() to take a GetBitContext instead of const char* 17 years ago
Bartlomiej Wolowiec 79b25a27b8 change name from stream type to frame type in AC3 code 17 years ago
Justin Ruggles 509fdb0b7e only allocate context input buffer if AVCodecContext.error_reslience is greater than 0. 17 years ago
Justin Ruggles 984ff38a2b cosmetics: indentation after last commit 17 years ago
Justin Ruggles c33a196716 additional protection from segmentation faults and memory access errors by 17 years ago
Bartlomiej Wolowiec 4e6eeaf019 using stream type in eac3 parser 17 years ago
Zuxy Meng 98a6fff98c Apply 'cold' attribute to init/uninit functions in libavcodec 17 years ago
Justin Ruggles 98f6dfa653 make input buffer const, as it should be. fixes a warning. 17 years ago
Justin Ruggles 38dae9c3a6 downmix before imdct unless different size transforms are used. about 20% 17 years ago
Justin Ruggles d8870f120e use scale factor instead of sum for downmix level adjustment. avoids division 17 years ago
Justin Ruggles 9d10e6e6c0 pre-calculate downmix coefficient sums. 2% faster 5.1-to-stereo downmixing. 17 years ago
Justin Ruggles a4de6dd2c1 Use 24-bit fixed-point transform coefficients until just before MDCT. This 17 years ago
Robert Swain 3ed546fe52 Add variable alpha and size of half window for Kaiser-Bessel Derived window 17 years ago
Robert Swain 4eb7a735cb Make the Kaiser-Bessel window generator a common function 17 years ago
Justin Ruggles f34b221bd2 used defined name for testing error resilience level 17 years ago
Justin Ruggles f0b3a7ba12 split out init of downmix coeffs into a separate function that can be called 17 years ago