diff options
author | Loren Merritt <lorenm@u.washington.edu> | 2014-02-03 23:17:04 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-06 02:51:19 +0100 |
commit | 9c978f243a47a0906fb32d723fcdd37d7b8cee93 (patch) | |
tree | b19acd945ac1a94299f1929c26d75db08b9257d3 /libavcodec/flacdsp.h | |
parent | 4a37e2977cb24713fd36d04ec97e97adc2aaba87 (diff) | |
download | ffmpeg-9c978f243a47a0906fb32d723fcdd37d7b8cee93.tar.gz |
flac/x86: add ff_flac_lpc_32_sse4()
benchmarked on sandybridge x86_64:
1358232 decicycles in flac_lpc_32_c
1244575 decicycles in flac_lpc_32_sse4, James Almer's patch
650045 decicycles in flac_lpc_32_sse4, this patch
I haven't tested the edgecases such as odd block lengths
odd block length tested-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/flacdsp.h')
-rw-r--r-- | libavcodec/flacdsp.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/flacdsp.h b/libavcodec/flacdsp.h index 5e66dc2f10..272cf2a674 100644 --- a/libavcodec/flacdsp.h +++ b/libavcodec/flacdsp.h @@ -33,5 +33,6 @@ typedef struct 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); #endif /* AVCODEC_FLACDSP_H */ |