[FFmpeg-cvslog] v210: x86: Add the correct guards around the asm code
Luca Barbato
git at videolan.org
Tue Feb 16 18:03:06 CET 2016
ffmpeg | branch: master | Luca Barbato <lu_zero at gentoo.org> | Sun Jan 24 16:58:19 2016 +0100| [eafb05fcf37cd19a910ca3b17824384f9006bc0a] | committer: Luca Barbato
v210: x86: Add the correct guards around the asm code
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eafb05fcf37cd19a910ca3b17824384f9006bc0a
---
libavcodec/x86/v210enc.asm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/libavcodec/x86/v210enc.asm b/libavcodec/x86/v210enc.asm
index 595c890..bdefcdb 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
More information about the ffmpeg-cvslog
mailing list