aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flacdsp.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-11-13 13:47:55 -0300
committerJames Almer <jamrial@gmail.com>2014-11-13 13:47:55 -0300
commit3cec54b7d72bc594b28faa7b8fb6683ef397fe66 (patch)
tree19bc6828a49c0b4d45512c81e9204eb5242b6593 /libavcodec/flacdsp.h
parent2093c1dc51ee1c08cb558759a1c59e6d1e3358a0 (diff)
downloadffmpeg-3cec54b7d72bc594b28faa7b8fb6683ef397fe66.tar.gz
x86/flacdsp: add SSE2 and AVX decorrelate functions
Two to four times faster depending on instruction set, block size and channel count.
Diffstat (limited to 'libavcodec/flacdsp.h')
-rw-r--r--libavcodec/flacdsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h
index 14f3466b0b..417381cc70 100644
--- a/libavcodec/flacdsp.h
+++ b/libavcodec/flacdsp.h
@@ -31,8 +31,8 @@ typedef struct FLACDSPContext {
const int32_t coefs[32], int shift);
} FLACDSPContext;
-void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int bps);
-void ff_flacdsp_init_arm(FLACDSPContext *c, enum AVSampleFormat fmt, int bps);
-void ff_flacdsp_init_x86(FLACDSPContext *c, enum AVSampleFormat fmt, int bps);
+void ff_flacdsp_init(FLACDSPContext *c, enum AVSampleFormat fmt, int channels, int bps);
+void ff_flacdsp_init_arm(FLACDSPContext *c, enum AVSampleFormat fmt, int channels, int bps);
+void ff_flacdsp_init_x86(FLACDSPContext *c, enum AVSampleFormat fmt, int channels, int bps);
#endif /* AVCODEC_FLACDSP_H */