diff options
author | James Almer <jamrial@gmail.com> | 2016-06-08 19:30:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-06-08 19:34:43 -0300 |
commit | 7d7fdd6532b4f08f1c1f76e809b807a334a98a32 (patch) | |
tree | 6f5eca33d4d19462ab18d96c6536eac10a5190f9 | |
parent | a04ae469e748c88ff9f39a9cfae33129badf9894 (diff) | |
download | ffmpeg-7d7fdd6532b4f08f1c1f76e809b807a334a98a32.tar.gz |
x86/showcqt: add missing preprocessor checks
Old yasm/nasm versions don't support some of these
Signed-off-by: James Almer <jamrial@gmail.com>
-rw-r--r-- | libavfilter/x86/avf_showcqt.asm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavfilter/x86/avf_showcqt.asm b/libavfilter/x86/avf_showcqt.asm index 36400fb9c1..f6b3fef0bb 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 |