237 Commits (42315dabce376fd7085e2a1bbab4d230d3d2ccd8)

Author SHA1 Message Date
Justin Ruggles 991f3de1bb ac3enc: Add codec-specific options for writing AC-3 metadata. 14 years ago
Justin Ruggles be18738801 Get audio_service_type for AC-3 based on bitstream mode in the AC-3 parser 14 years ago
Justin Ruggles e6e9823488 Add apply_window_int16() to DSPContext with x86-optimized versions and use it 14 years ago
Justin Ruggles 85ab290470 ac3enc: make sym_quant() branch-free 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Justin Ruggles 0f999cfddb ac3enc: add float_to_fixed24() with x86-optimized versions to AC3DSPContext 14 years ago
Justin 323e6fead0 ac3enc: do not right-shift fixed-point coefficients in the final MDCT stage. 14 years ago
Justin Ruggles 2d9a101a1f ac3enc: add some assertions 14 years ago
Justin Ruggles 7100d63ca5 ac3enc: use av_assert2() instead of assert() to make debugging easier. 14 years ago
Justin Ruggles 53e35fd340 ac3enc: add num_rematrixing_bands to AC3EncodeContext and use it instead of the hardcoded value. 14 years ago
Justin Ruggles 5b54d4b376 ac3enc: fix bug in stereo rematrixing decision. 14 years ago
Justin Ruggles 50d7140441 ac3enc: change default floor code to 7. 14 years ago
Reinhard Tartler 737eb5976f Merge libavcore into libavutil 14 years ago
Justin Ruggles dda3f0ef48 Add x86-optimized versions of exponent_min(). 14 years ago
Justin Ruggles c3beafa0f1 ac3enc: Change EXP_DIFF_THRESHOLD to 500. 14 years ago
Justin Ruggles 4c57cde942 Add ff_ prefix to ac3_common_init(). 14 years ago
Justin Ruggles 3b924294ea ac3enc: use dsputil functions in apply_window() 14 years ago
Justin Ruggles 0db5d2b09e cosmetics: spacing, line wrap, and remove unneeded braces 14 years ago
Justin Ruggles 964f2cf2a0 Process all EXP_REUSE blocks at once in exponent_min(). 14 years ago
Justin Ruggles 7d87d56ff8 Take advantage of per-channel exponent and exponent strategy layout to 14 years ago
Justin Ruggles 5bff8590f3 Simplify compute_exp_strategy() by passing a pointer to all exponents and 14 years ago
Justin Ruggles 4b90c35d74 Use a local variable in the inner loop of group_exponents() to simplify the 14 years ago
Justin Ruggles a281c6509f cosmetics: remove unneeded braces 14 years ago
Justin Ruggles 5fc2e0075d cosmetics: rename block_num to blk for variable name consistency 14 years ago
Justin Ruggles 0429e4a6ca Move exp_strategy from AC3Block to AC3EncodeContext in order to arrange by 14 years ago
Justin Ruggles 7cc4be58b4 Rearrange exponent buffer to group all blocks for a single channel together. 14 years ago
Justin Ruggles dc7e07ac1f Add stereo rematrixing support to the AC-3 encoders. 14 years ago
Justin Ruggles ac05f9030e Convert floating-point MDCT coefficients to 24-bit fixed-point all at once 14 years ago
Justin Ruggles 9be52d48d9 Use local variables outside the inner loop in extract_exponents() to reduce 14 years ago
Justin Ruggles f1cbbb79bf cosmetics: fix typo in previous commit 14 years ago
Justin Ruggles 6fd96d1a85 Change the AC-3 encoder to use floating-point. 14 years ago
Justin Ruggles ad6b2c1f6d Move fixed-point parts of the AC-3 encoder to separate files. 14 years ago
Justin Ruggles 9c84a72a25 Skip the bit allocation search if previous and current SNR offsets are the 14 years ago
Justin Ruggles 5128842ea2 10l: Fix mistake in r26044. Check increment bounds using actual increment 14 years ago
Justin Ruggles c05ffcd9ba Change planar_samples from int16_t to SampleType. 14 years ago
Justin Ruggles 0cbd5ff704 Add typedefs and a macro that will allow sharing of functions between the 14 years ago
Justin Ruggles b33dae5efb Move the list of supported channel layouts to a separate table. 14 years ago
Justin Ruggles 34d5074e6d Add a window field to AC3MDCTContext and use it as an input to apply_window() 14 years ago
Justin Ruggles b5293036b9 cosmetics: alignment, line wrap, and spacing 14 years ago
Justin Ruggles 14166a6d6c Remove avctx from AC3MDCTContext and just pass it to mdct_init() instead. 14 years ago
Justin Ruggles e0698e4bbd Make exponent_group_tab[] static. 14 years ago
Justin Ruggles ec44dd5fc2 Change the default dB-per-bit code from 2 to 3. 14 years ago
Justin Ruggles b51c740eab cosmetics: line wrap and vertical alignment 14 years ago
Justin Ruggles e96dc767e4 Make sure that the 2nd CRC value does not match the AC-3 sync word. 14 years ago
Justin Ruggles a897423baa Store CRC context locally to reduce number of calls to av_crc_get_table(). 14 years ago
Justin Ruggles 0e9b064305 Remove unneeded local variable, frame_size, in output_frame_end(). 14 years ago
Justin Ruggles 1ce9d6b85f cosmetics: fix comment after change in clipping range 14 years ago
Justin Ruggles 295ab2af6e Change FIX15() back to clipping to -32767..32767. 14 years ago
Justin Ruggles f9f69028af Add emms_c() after exp_diff calculations. 14 years ago
Justin Ruggles a81d7c6aa3 Pre-calculate crc_inv at codec init. 14 years ago