summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc_template.c
Commit message (Collapse)AuthorAge
* ac3enc: merge AC3MDCTContext with AC3EncodeContext.Justin Ruggles2011-07-13
| | | | | | Since both the fixed-point and floating-point encoders use the FFTContext, this no longer needs to be in a separate context. Also, when a short-transform context is added, the same MDCT window will be used.
* ac3enc: prefer passing AC3EncodeContext rather than AVCodecContextJustin Ruggles2011-07-13
|
* ac3enc: clip coefficients after MDCT.Justin Ruggles2011-07-01
| | | | | This ensures that any processing between the MDCT and exponent extraction will be using clipped coefficients.
* ac3enc: move ff_ac3_encode_frame() to ac3enc_template.cJustin Ruggles2011-06-27
| | | | | This avoids using function pointers for quite a few small functions, most of which just call DSP functions.
* ac3enc: use correct alignment and length in channel coupling dsp functions.Justin Ruggles2011-06-15
| | | | This fixes a segfault when using the C version of ac3dsp.float_to_fixed24().
* ac3enc: fix allocation of floating point samples.Justin Ruggles2011-06-13
| | | | sizeof(SampleType) is different for fixed and float encoders.
* ac3enc: split templated float vs. fixed functions into a separate file.Justin Ruggles2011-06-13
Function pointers are used for templated functions instead of needlessly duplicating many functions.