Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2019-09-12 02:50:45 +0300
committerJames Almer <jamrial@gmail.com>2019-09-12 02:50:45 +0300
commit1faedb9a119ac4a8c5126255e3855f3bfb30ffb6 (patch)
treef2bcb3506af8d22d0d723fd34debed960a171151 /libavcodec/x86
parent80444e23ac29393fca2a25a56aff888f9cdfe33d (diff)
x85/opusdsp: enable the functions on all FMA3 CPUs
It's not using ymm registers, so limiting it to CPUs with fast AVX is not necessary. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86')
-rw-r--r--libavcodec/x86/opusdsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/opusdsp_init.c b/libavcodec/x86/opusdsp_init.c
index 6834c4e6a4..5c8a4c22e9 100644
--- a/libavcodec/x86/opusdsp_init.c
+++ b/libavcodec/x86/opusdsp_init.c
@@ -28,7 +28,7 @@ av_cold void ff_opus_dsp_init_x86(OpusDSP *ctx)
{
int cpu_flags = av_get_cpu_flags();
- if (EXTERNAL_FMA3_FAST(cpu_flags)) {
+ if (EXTERNAL_FMA3(cpu_flags)) {
ctx->postfilter = ff_opus_postfilter_fma3;
ctx->deemphasis = ff_opus_deemphasis_fma3;
}