aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/v210enc.asm
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-01-24 16:58:19 +0100
committerLuca Barbato <lu_zero@gentoo.org>2016-01-26 23:31:57 +0100
commiteafb05fcf37cd19a910ca3b17824384f9006bc0a (patch)
treeac899c75a3e9b4ae71ce50b07277079e5c638a2a /libavcodec/x86/v210enc.asm
parent4709f72115e4028a1cb43e916925678bfceef870 (diff)
downloadffmpeg-eafb05fcf37cd19a910ca3b17824384f9006bc0a.tar.gz
v210: x86: Add the correct guards around the asm code
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavcodec/x86/v210enc.asm')
-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 595c8907b3..bdefcdbfa1 100644
--- a/libavcodec/x86/v210enc.asm
+++ b/libavcodec/x86/v210enc.asm
@@ -82,8 +82,10 @@ cglobal v210_planar_pack_10, 5, 5, 4, y, u, v, dst, width
RET
%endmacro
+%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_10
+%endif
%macro v210_planar_pack_8 0
@@ -139,7 +141,11 @@ cglobal v210_planar_pack_8, 5, 5, 7, y, u, v, dst, width
RET
%endmacro
+%if HAVE_SSSE3_EXTERNAL
INIT_XMM ssse3
v210_planar_pack_8
+%endif
+%if HAVE_AVX_EXTERNAL
INIT_XMM avx
v210_planar_pack_8
+%endif