[FFmpeg-cvslog] x86/vp9mc: add missing preprocessor guards
James Almer
git at videolan.org
Fri Sep 18 20:16:14 CEST 2015
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Sep 18 15:14:53 2015 -0300| [e47564828b9b351f874f24d66306294b7741b768] | committer: James Almer
x86/vp9mc: add missing preprocessor guards
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e47564828b9b351f874f24d66306294b7741b768
---
libavcodec/x86/vp9mc_16bpp.asm | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/libavcodec/x86/vp9mc_16bpp.asm b/libavcodec/x86/vp9mc_16bpp.asm
index d66da55..f60dab7 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
More information about the ffmpeg-cvslog
mailing list