summaryrefslogtreecommitdiff
path: root/libavcodec/x86/vp9dsp_init_16bpp.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-02-07 00:52:06 -0300
committerJames Almer <jamrial@gmail.com>2016-02-14 20:00:21 -0300
commit70d685a77f283b110e7b1ab565ff5de53f752d55 (patch)
treea1350e3534c7cc0858852ff6caf4e803af6b2367 /libavcodec/x86/vp9dsp_init_16bpp.c
parent73a4589d4b0d97cbd6f8bf8be18b78151b657898 (diff)
x86: use the new helper macros where useful
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/vp9dsp_init_16bpp.c')
-rw-r--r--libavcodec/x86/vp9dsp_init_16bpp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/vp9dsp_init_16bpp.c b/libavcodec/x86/vp9dsp_init_16bpp.c
index 4ceb4d4b49..eb67499c96 100644
--- a/libavcodec/x86/vp9dsp_init_16bpp.c
+++ b/libavcodec/x86/vp9dsp_init_16bpp.c
@@ -129,7 +129,7 @@ av_cold void ff_vp9dsp_init_16bpp_x86(VP9DSPContext *dsp)
init_ipred_funcs(hd, HOR_DOWN, 16, avx);
}
- if (EXTERNAL_AVX2(cpu_flags)) {
+ if (EXTERNAL_AVX2_FAST(cpu_flags)) {
init_fpel_func(2, 1, 32, avg, _16, avx2);
init_fpel_func(1, 1, 64, avg, _16, avx2);
init_fpel_func(0, 1, 128, avg, _16, avx2);