diff --git a/libavcodec/x86/vp9mc_16bpp.asm b/libavcodec/x86/vp9mc_16bpp.asm index d66da5548f..f60dab7a63 100644 --- a/libavcodec/x86/vp9mc_16bpp.asm +++ b/libavcodec/x86/vp9mc_16bpp.asm @@ -201,9 +201,11 @@ cglobal vp9_%1_8tap_1d_h_ %+ %%px %+ _12, 6, 6, %2, dst, dstride, src, sstride, INIT_XMM sse2 filter_h_fn put filter_h_fn avg +%if HAVE_AVX2_EXTERNAL INIT_YMM avx2 filter_h_fn put filter_h_fn avg +%endif %macro filter_v4_fn 1-2 12 %if ARCH_X86_64 @@ -422,6 +424,8 @@ cglobal vp9_%1_8tap_1d_v_ %+ %%px %+ _12, 4, 7, %2, dst, dstride, src, sstride, INIT_XMM sse2 filter_v_fn put filter_v_fn avg +%if HAVE_AVX2_EXTERNAL INIT_YMM avx2 filter_v_fn put filter_v_fn avg +%endif