comparison aacenc.h @ 10199:38ab367d4231 libavcodec

Merge FFTContext and MDCTContext
author mru
date Sun, 20 Sep 2009 17:30:20 +0000
parents 7f42ae22c351
children 34a65026fa06
comparison
equal deleted inserted replaced
10198:78af613fc316 10199:38ab367d4231
47 /** 47 /**
48 * AAC encoder context 48 * AAC encoder context
49 */ 49 */
50 typedef struct AACEncContext { 50 typedef struct AACEncContext {
51 PutBitContext pb; 51 PutBitContext pb;
52 MDCTContext mdct1024; ///< long (1024 samples) frame transform context 52 FFTContext mdct1024; ///< long (1024 samples) frame transform context
53 MDCTContext mdct128; ///< short (128 samples) frame transform context 53 FFTContext mdct128; ///< short (128 samples) frame transform context
54 DSPContext dsp; 54 DSPContext dsp;
55 DECLARE_ALIGNED_16(FFTSample, output[2048]); ///< temporary buffer for MDCT input coefficients 55 DECLARE_ALIGNED_16(FFTSample, output[2048]); ///< temporary buffer for MDCT input coefficients
56 int16_t* samples; ///< saved preprocessed input 56 int16_t* samples; ///< saved preprocessed input
57 57
58 int samplerate_index; ///< MPEG-4 samplerate index 58 int samplerate_index; ///< MPEG-4 samplerate index