[FFmpeg-cvslog] x86/showcqt: add missing preprocessor checks

James Almer git at videolan.org
Thu Jun 9 00:39:02 CEST 2016


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Jun  8 19:30:22 2016 -0300| [7d7fdd6532b4f08f1c1f76e809b807a334a98a32] | committer: James Almer

x86/showcqt: add missing preprocessor checks

Old yasm/nasm versions don't support some of these

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

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

 libavfilter/x86/avf_showcqt.asm |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavfilter/x86/avf_showcqt.asm b/libavfilter/x86/avf_showcqt.asm
index 36400fb..f6b3fef 100644
--- a/libavfilter/x86/avf_showcqt.asm
+++ b/libavfilter/x86/avf_showcqt.asm
@@ -187,9 +187,15 @@ INIT_XMM sse
 DECLARE_CQT_CALC
 INIT_XMM sse3
 DECLARE_CQT_CALC
+%if HAVE_AVX_EXTERNAL
 INIT_YMM avx
 DECLARE_CQT_CALC
+%endif
+%if HAVE_FMA3_EXTERNAL
 INIT_YMM fma3
 DECLARE_CQT_CALC
+%endif
+%if HAVE_FMA4_EXTERNAL
 INIT_XMM fma4
 DECLARE_CQT_CALC
+%endif



More information about the ffmpeg-cvslog mailing list