summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudio.h
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-06-30 20:11:27 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-06-30 20:11:27 +0000
commit06d01188e94321113684a271f62f6b0f2b818e53 (patch)
tree221fa77222aa1e088050256c9e2c06113fbfd749 /libavcodec/mpegaudio.h
parentcae70f99a3bb0955a325ed58a9dfa88eff4a6199 (diff)
downloadffmpeg-06d01188e94321113684a271f62f6b0f2b818e53.tar.gz
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
Diffstat (limited to 'libavcodec/mpegaudio.h')
-rw-r--r--libavcodec/mpegaudio.h4
1 files changed, 4 insertions, 0 deletions
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;