diff options
author | James Almer <jamrial@gmail.com> | 2014-03-01 15:26:51 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-03-05 01:58:16 +0100 |
commit | 7fd64e3e36f79204c0eda7cacce6884c14ddc1fb (patch) | |
tree | 926686f1eae9bd40b980278cd0feecae15406483 /libavcodec/x86/dcadsp_init.c | |
parent | bc764d786fe6d6eda2e1621acfaa08b8aebb0cac (diff) | |
download | ffmpeg-7fd64e3e36f79204c0eda7cacce6884c14ddc1fb.tar.gz |
x86/synth_filter: add synth_filter_fma3
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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 832b33531f..19559f3273 100644 --- a/libavcodec/x86/dcadsp_init.c +++ b/libavcodec/x86/dcadsp_init.c @@ -82,6 +82,7 @@ SYNTH_FILTER_FUNC(sse) #endif SYNTH_FILTER_FUNC(sse2) SYNTH_FILTER_FUNC(avx) +SYNTH_FILTER_FUNC(fma3) #endif av_cold void ff_synth_filter_init_x86(SynthFilterContext *s) @@ -100,5 +101,8 @@ av_cold void ff_synth_filter_init_x86(SynthFilterContext *s) if (EXTERNAL_AVX(cpu_flags)) { s->synth_filter_float = synth_filter_avx; } + if (EXTERNAL_FMA3(cpu_flags)) { + s->synth_filter_float = synth_filter_fma3; + } #endif } |