summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/v210enc.asm6
1 files changed, 6 insertions, 0 deletions
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
OpenPOWER on IntegriCloud