Mercurial > libavcodec.hg
diff mpegaudio.h @ 12026:3f3d08bb5cf8 libavcodec
More mp{1,2,3} 32-point DCT transform to our common DCT framework.
Should allow for future SIMD optimizations.
author | vitor |
---|---|
date | Wed, 30 Jun 2010 20:11:27 +0000 |
parents | ef338bd70180 |
children | b4888704c11e |
line wrap: on
line diff
--- a/mpegaudio.h Wed Jun 30 20:09:37 2010 +0000 +++ b/mpegaudio.h Wed Jun 30 20:11:27 2010 +0000 @@ -33,6 +33,7 @@ #include "avcodec.h" #include "get_bits.h" #include "dsputil.h" +#include "fft.h" #define CONFIG_AUDIO_NONSHORT 0 @@ -156,6 +157,9 @@ int dither_state; int error_recognition; AVCodecContext* avctx; +#if CONFIG_FLOAT + DCTContext dct; +#endif void (*apply_window_mp3)(MPA_INT *synth_buf, MPA_INT *window, int *dither_state, OUT_INT *samples, int incr); } MPADecodeContext;