[FFmpeg-cvslog] avcodec/v210: guard new avx2 functions from old assemblers
James Darnley
git at videolan.org
Sun Jan 17 21:24:58 CET 2016
ffmpeg | branch: master | James Darnley <james.darnley at gmail.com> | Sun Jan 17 21:20:25 2016 +0100| [f59b727e2f982a22c4459c67b2f5f7f42c86d3d0] | committer: James Darnley
avcodec/v210: guard new avx2 functions from old assemblers
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f59b727e2f982a22c4459c67b2f5f7f42c86d3d0
---
libavcodec/x86/v210enc.asm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm
index d74e5ac..0545454 100644
--- a/libavcodec/x86/v210enc.asm
+++ b/libavcodec/x86/v210enc.asm
@@ -95,8 +95,11 @@ cglobal v210_planar_pack_10, 5, 5, 4+cpuflag(avx2), y, u, v, dst, width
INIT_XMM ssse3
v210_planar_pack_10
+
+%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
v210_planar_pack_10
+%endif
%macro v210_planar_pack_8 0
@@ -168,5 +171,8 @@ INIT_XMM ssse3
v210_planar_pack_8
INIT_XMM avx
v210_planar_pack_8
+
+%if HAVE_AVX2_EXTERNAL
INIT_YMM avx2
v210_planar_pack_8
+%endif
More information about the ffmpeg-cvslog
mailing list