comparison wma.h @ 7546:97383e012cb9 libavcodec

remove mdct tmp buffer
author lorenm
date Tue, 12 Aug 2008 00:36:36 +0000
parents 1d83e9c34641
children c4a4495715dd
comparison
equal deleted inserted replaced
7545:2dca9201c400 7546:97383e012cb9
113 int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE]; 113 int16_t coefs1[MAX_CHANNELS][BLOCK_MAX_SIZE];
114 DECLARE_ALIGNED_16(float, coefs[MAX_CHANNELS][BLOCK_MAX_SIZE]); 114 DECLARE_ALIGNED_16(float, coefs[MAX_CHANNELS][BLOCK_MAX_SIZE]);
115 DECLARE_ALIGNED_16(FFTSample, output[BLOCK_MAX_SIZE * 2]); 115 DECLARE_ALIGNED_16(FFTSample, output[BLOCK_MAX_SIZE * 2]);
116 MDCTContext mdct_ctx[BLOCK_NB_SIZES]; 116 MDCTContext mdct_ctx[BLOCK_NB_SIZES];
117 float *windows[BLOCK_NB_SIZES]; 117 float *windows[BLOCK_NB_SIZES];
118 DECLARE_ALIGNED_16(FFTSample, mdct_tmp[BLOCK_MAX_SIZE]); ///< temporary storage for imdct
119 /* output buffer for one frame and the last for IMDCT windowing */ 118 /* output buffer for one frame and the last for IMDCT windowing */
120 DECLARE_ALIGNED_16(float, frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2]); 119 DECLARE_ALIGNED_16(float, frame_out[MAX_CHANNELS][BLOCK_MAX_SIZE * 2]);
121 /* last frame info */ 120 /* last frame info */
122 uint8_t last_superframe[MAX_CODED_SUPERFRAME_SIZE + 4]; /* padding added */ 121 uint8_t last_superframe[MAX_CODED_SUPERFRAME_SIZE + 4]; /* padding added */
123 int last_bitoffset; 122 int last_bitoffset;