aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/mpegaudiodec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-18 16:10:09 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-18 16:10:09 +0200
commitc0dfc720ef44bb3d8d7bf30965d15a9584ae73c9 (patch)
treef6761037eae7ab0088cda0b132ef37007132bc63 /libavcodec/x86/mpegaudiodec.c
parent36e5c472c83ce63ecc7a8650666c59e87c512e0b (diff)
downloadffmpeg-c0dfc720ef44bb3d8d7bf30965d15a9584ae73c9.tar.gz
mpegaudiodec: add prototypes for all functions that may need them
fixes compile failure Found-by: kriegerod Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/mpegaudiodec.c')
-rw-r--r--libavcodec/x86/mpegaudiodec.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/libavcodec/x86/mpegaudiodec.c b/libavcodec/x86/mpegaudiodec.c
index cbc1e464c3..0842b709f2 100644
--- a/libavcodec/x86/mpegaudiodec.c
+++ b/libavcodec/x86/mpegaudiodec.c
@@ -25,11 +25,16 @@
#include "libavcodec/dsputil.h"
#include "libavcodec/mpegaudiodsp.h"
-void ff_imdct36_float_sse(float *out, float *buf, float *in, float *win);
-void ff_imdct36_float_sse2(float *out, float *buf, float *in, float *win);
-void ff_imdct36_float_sse3(float *out, float *buf, float *in, float *win);
-void ff_imdct36_float_ssse3(float *out, float *buf, float *in, float *win);
-void ff_imdct36_float_avx(float *out, float *buf, float *in, float *win);
+#define DECL(CPU)\
+static void imdct36_blocks_ ## CPU(float *out, float *buf, float *in, int count, int switch_point, int block_type);\
+void ff_imdct36_float_ ## CPU(float *out, float *buf, float *in, float *win);
+
+DECL(sse)
+DECL(sse2)
+DECL(sse3)
+DECL(ssse3)
+DECL(avx)
+
void ff_four_imdct36_float_sse(float *out, float *buf, float *in, float *win,
float *tmpbuf);
void ff_four_imdct36_float_avx(float *out, float *buf, float *in, float *win,