diff options
author | Christophe Gisquet <[email protected]> | 2014-02-14 16:00:46 +0000 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2014-02-28 19:20:03 +0100 |
commit | 169243112c1e310d90c030fb258092f6d2e46117 (patch) | |
tree | 6febfd2d736cafa28b2cac5a556f1fa0800be397 /libavcodec/x86/dcadsp_init.c | |
parent | 90f674d55bd76e23a70ed68b8cb104b5d8b9505f (diff) |
x86: dcadsp: implement SSE lfe_dir
Results for Arrandale/Windows:
32: 1670 -> 316
64: 728 -> 298
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/x86/dcadsp_init.c')
-rw-r--r-- | libavcodec/x86/dcadsp_init.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/x86/dcadsp_init.c b/libavcodec/x86/dcadsp_init.c index adb454fa02..664019d991 100644 --- a/libavcodec/x86/dcadsp_init.c +++ b/libavcodec/x86/dcadsp_init.c @@ -26,6 +26,8 @@ void ff_int8x8_fmul_int32_sse(float *dst, const int8_t *src, int scale); void ff_int8x8_fmul_int32_sse2(float *dst, const int8_t *src, int scale); void ff_int8x8_fmul_int32_sse4(float *dst, const int8_t *src, int scale); +void ff_dca_lfe_fir0_sse(float *out, const float *in, const float *coefs); +void ff_dca_lfe_fir1_sse(float *out, const float *in, const float *coefs); av_cold void ff_dcadsp_init_x86(DCADSPContext *s) { @@ -35,6 +37,8 @@ av_cold void ff_dcadsp_init_x86(DCADSPContext *s) #if ARCH_X86_32 s->int8x8_fmul_int32 = ff_int8x8_fmul_int32_sse; #endif + s->lfe_fir[0] = ff_dca_lfe_fir0_sse; + s->lfe_fir[1] = ff_dca_lfe_fir1_sse; } if (EXTERNAL_SSE2(cpu_flags)) { |