diff options
author | James Almer <jamrial@gmail.com> | 2016-02-05 22:45:04 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-02-06 07:36:55 +0300 |
commit | 8ae744794101e0bfb66f350b7ded38c0711cb717 (patch) | |
tree | e90d81fbc902128aaa8339c51aa782e87b3e2022 /libavcodec/dcadsp.c | |
parent | 3e9b8ffc9bfe47a9198866d4846f872645bbc420 (diff) |
x86/dcadec: add ff_lfe_fir0_float_{sse,sse2,avx,fma3}
Up to ~4 times faster on x86_64, ~8 times on x86_32 if compiling using x87 fp math.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dcadsp.c')
-rw-r--r-- | libavcodec/dcadsp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dcadsp.c b/libavcodec/dcadsp.c index 6acfe0b7d9..09faee51fb 100644 --- a/libavcodec/dcadsp.c +++ b/libavcodec/dcadsp.c @@ -410,4 +410,7 @@ av_cold void ff_dcadsp_init(DCADSPContext *s) s->dmix_scale_inv = dmix_scale_inv_c; s->assemble_freq_bands = assemble_freq_bands_c; + + if (ARCH_X86) + ff_dcadsp_init_x86(s); } |