diff options
author | James Almer <jamrial@gmail.com> | 2014-11-13 13:47:55 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2014-11-13 13:47:55 -0300 |
commit | 3cec54b7d72bc594b28faa7b8fb6683ef397fe66 (patch) | |
tree | 19bc6828a49c0b4d45512c81e9204eb5242b6593 /libavcodec/flacdsp.h | |
parent | 2093c1dc51ee1c08cb558759a1c59e6d1e3358a0 (diff) | |
download | ffmpeg-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.h | 6 |
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 */ |