From 06d01188e94321113684a271f62f6b0f2b818e53 Mon Sep 17 00:00:00 2001 From: Vitor Sessak Date: Wed, 30 Jun 2010 20:11:27 +0000 Subject: More mp{1,2,3} 32-point DCT transform to our common DCT framework. Should allow for future SIMD optimizations. Originally committed as revision 23912 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mpegaudio.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/mpegaudio.h') diff --git a/libavcodec/mpegaudio.h b/libavcodec/mpegaudio.h index da81ac5cc3..5a530b71e8 100644 --- a/libavcodec/mpegaudio.h +++ b/libavcodec/mpegaudio.h @@ -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 @@ typedef struct MPADecodeContext { 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; -- cgit v1.2.3