comparison atrac3.c @ 7547:8226017a65ae libavcodec

mdct wrapper function to match fft
author lorenm
date Tue, 12 Aug 2008 00:38:30 +0000
parents 97383e012cb9
children cd8602533b62
comparison
equal deleted inserted replaced
7546:97383e012cb9 7547:8226017a65ae
206 206
207 for (i=0; i<128; i++) 207 for (i=0; i<128; i++)
208 FFSWAP(float, pInput[i], pInput[255-i]); 208 FFSWAP(float, pInput[i], pInput[255-i]);
209 } 209 }
210 210
211 mdct_ctx.fft.imdct_calc(&mdct_ctx,pOutput,pInput); 211 ff_imdct_calc(&mdct_ctx,pOutput,pInput);
212 212
213 /* Perform windowing on the output. */ 213 /* Perform windowing on the output. */
214 dsp.vector_fmul(pOutput,mdct_window,512); 214 dsp.vector_fmul(pOutput,mdct_window,512);
215 215
216 } 216 }