[FFmpeg-cvslog] x86/vp9itxfm: add missing AVX2 guards

James Almer git at videolan.org
Fri Nov 18 22:03:24 EET 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Nov 18 16:58:35 2016 -0300| [2de1c79b61b66672a53b1bb42fdbb7aaa5854111] | committer: James Almer

x86/vp9itxfm: add missing AVX2 guards

Fixes compilation with Yasm 1.1.0 and older.

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2de1c79b61b66672a53b1bb42fdbb7aaa5854111
---

 libavcodec/x86/vp9itxfm.asm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/vp9itxfm.asm b/libavcodec/x86/vp9itxfm.asm
index 21d572e..2c63fe5 100644
--- a/libavcodec/x86/vp9itxfm.asm
+++ b/libavcodec/x86/vp9itxfm.asm
@@ -2092,7 +2092,7 @@ IADST16_FN iadst, IADST16, iadst, IADST16, avx
     SWAP                     5,  9, 15
 %endmacro
 
-%if ARCH_X86_64
+%if ARCH_X86_64 && HAVE_AVX2_EXTERNAL
 %macro IADST16_YMM_FN 4
 INIT_YMM avx2
 cglobal vp9_%1_%3_16x16_add, 4, 4, 16, dst, stride, block, eob



More information about the ffmpeg-cvslog mailing list