281 Commits (a4bda405447b13e84b4004ab281ae01abd230e22)

Author SHA1 Message Date
Justin Ruggles 282255bbd2 Split setting of bandwidth into a separate function. 14 years ago
Justin Ruggles e35c984a5d Move setting of bitstream_id and bitstream_mode to ac3_encode_init(). 14 years ago
Justin Ruggles ddf63d37b8 Improve ac3_encode_init() error reporting. 14 years ago
Justin Ruggles b64d842c1d cosmetics: indent after last commit 14 years ago
Justin Ruggles 99ca4f73f0 Don't use nested loops to iterate valid sample rates. 14 years ago
Justin Ruggles 1607db0a95 Remove some duplicate local copies of avctx fields. 14 years ago
Justin Ruggles 8f60f70d44 Split validation of initial user options into a separate function. 14 years ago
Justin Ruggles 427e2293d3 Use bytes instead of 16-bit words for frame size. 14 years ago
Justin Ruggles eed00252c9 cosmetics: rename variable 'n' to 'pad_bytes' 14 years ago
Justin Ruggles 1971ab6ed6 Change output_frame_end() to return void. The frame size is already known. 14 years ago
Justin Ruggles e8b552a818 cosmetics: pretty-printing 14 years ago
Justin Ruggles ce67b7cd38 cosmetics: rename some iterator variables to match what they represent 14 years ago
Justin Ruggles 777732756a cosmetics: rename a variable for consistency 14 years ago
Justin Ruggles aab45ca3de cosmetics: rename exp_samples and global_exp to exp_shift. 14 years ago
Justin Ruggles 23c5b361a6 cosmetics: rename 2 functions 14 years ago
Justin Ruggles 47ae6e795b define AC3_CRITICAL_BANDS and use it in the AC-3 encoder and decoder. 14 years ago
Justin Ruggles 0454b55801 Use sizeof(array value) instead of sizeof(int16_t). 14 years ago
Justin Ruggles a0a9204e49 cosmetics: use lowercase letters for function names 14 years ago
Justin Ruggles c36ce0f8df cosmetics: add new function documentation and clean up existing documentation 14 years ago
Justin Ruggles 2f8ae52228 cosmetics: add more space between functions 14 years ago
Justin Ruggles e77fd066fb cosmetics: rearrange some functions/typedefs/macros 14 years ago
Justin Ruggles 02877def49 Simplify group size calculation in 2 places. 14 years ago
Justin Ruggles 9816155337 cosmetics: make a switch/case more compact 14 years ago
Justin Ruggles b84a211bc8 Clean up fft_init() and mdct_init() 14 years ago
Justin Ruggles 6a988808a4 cosmetics: pretty-printing, alignment, etc... 14 years ago
Justin Ruggles a913b5cf60 Remove unneeded #include 14 years ago
Justin Ruggles 918cd2255c Simplify fix15(). 14 years ago
Justin Ruggles 228315bbd3 Fix the fixed-point MDCT and FFT tests so that they actually compile and work. 14 years ago
Justin Ruggles a8d2b06b7c Split out initialization of MDCT tables into a separate function. 14 years ago
Justin Ruggles 0796546370 cosmetics: Document AC3EncodeContext fields. 14 years ago
Justin Ruggles 22c0b03c8f Remove unneeded debugging messages. 14 years ago
Justin Ruggles 1fda2c10f6 cosmetics: Define AC3_WINDOW_SIZE and use it instead of AC3_BLOCK_SIZE*2. 14 years ago
Justin Ruggles 7066cc8f2b cosmetics: use better (and shared) macro names for some constant values 14 years ago
Justin Ruggles a657899cf7 Remove duplicate AC3EncodeContext fields, sr_shift and sr_code. 14 years ago
Justin Ruggles 2d2692eb49 cosmetics: rename some fields in AC3EncodeContext 14 years ago
Justin Ruggles 9cb5903299 cosmetics: change all short to int16_t 14 years ago
Justin Ruggles 2be209b213 Change some unsigned types to signed types in AC3EncodeContext 14 years ago
Justin Ruggles 7e5a4bf8ba cosmetics: rearrange AC3EncodeContext fields 14 years ago
Stefano Sabatini 63e8d9760f Use the new libavcore audio channel API. 14 years ago
Stefano Sabatini 5d6e4c160a Replace deprecated symbols SAMPLE_FMT_* with AV_SAMPLE_FMT_*, and enum 14 years ago
Reimar Döffinger edac49daf5 Use "const" qualifier for pointers that point to input data of 15 years ago
Måns Rullgård 8fc0162ac4 Add av_ prefix to bswap macros 15 years ago
Diego Biurrun ba87f0801d Remove explicit filename from Doxygen @file commands. 15 years ago
Stefano Sabatini 72415b2adb Define AVMediaType enum, and use it instead of enum CodecType, which 15 years ago
Francesco Lavra 91cc5d3767 Move ff_reverse in libavcodec to av_reverse in libavutil. 15 years ago
Reimar Döffinger b5f09d31c2 Make sample_fmts and channel_layouts compound literals const to reduce size of 16 years ago
Diego Biurrun 8b44de14d1 Change av_log() calls surrounded by '#ifdef DEBUG' into dprintf macros. 16 years ago
Justin Ruggles be1efe5993 ac3enc: log a warning message if the channel layout is not specified at 16 years ago
Justin Ruggles 120b4557f3 Add channel layout support to the AC-3 encoder. 16 years ago
Justin Ruggles a7c6e1171b ac3enc: reorder input channels to AC-3 channel order 16 years ago