x86/vp9mc: add missing preprocessor guards

Signed-off-by: James Almer <jamrial@gmail.com>
pull/151/head
James Almer 9 years ago
parent 5b48dd75d5
commit e47564828b
  1. 4
      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

Loading…
Cancel
Save