aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/vp9dsp_init.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:04:19 -0300
commit4d95207938252d6683411bc2f51f05c3d02749a2 (patch)
tree638c97efc0cf56dd4a4c7ef8b313538d6a98d4f4 /libavcodec/x86/vp9dsp_init.c
parent1e8a75fae479c75514f1923a4d697dc07f87ca26 (diff)
downloadffmpeg-4d95207938252d6683411bc2f51f05c3d02749a2.tar.gz
x86: use the new helper macros where useful
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: James Almer <jamrial@gmail.com> (cherry picked from commit 70d685a77f283b110e7b1ab565ff5de53f752d55)
Diffstat (limited to 'libavcodec/x86/vp9dsp_init.c')
-rw-r--r--libavcodec/x86/vp9dsp_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/vp9dsp_init.c b/libavcodec/x86/vp9dsp_init.c
index 8efb18c89f..469a661717 100644
--- a/libavcodec/x86/vp9dsp_init.c
+++ b/libavcodec/x86/vp9dsp_init.c
@@ -377,7 +377,7 @@ av_cold void ff_vp9dsp_init_x86(VP9DSPContext *dsp, int bpp, int bitexact)
init_ipred(32, avx, v, VERT);
}
- if (EXTERNAL_AVX2(cpu_flags)) {
+ if (EXTERNAL_AVX2_FAST(cpu_flags)) {
init_fpel_func(1, 1, 32, avg, _8, avx2);
init_fpel_func(0, 1, 64, avg, _8, avx2);
if (ARCH_X86_64) {