aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-02-01 21:44:13 -0300
committerJames Almer <jamrial@gmail.com>2015-02-01 21:45:52 -0300
commit71e2cb4706c997171856cb9c43db98eba3f8f7eb (patch)
treee9e3f6a0b74cd8b54079dcb49923d42d352b1ca2 /libavcodec
parent12120174ce8bf377ef212f38b1ecfbc17bd85147 (diff)
downloadffmpeg-71e2cb4706c997171856cb9c43db98eba3f8f7eb.tar.gz
x86/hevcdsp: add missing guards to ff_hevc_sao_band_filter_avx2
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/x86/hevc_sao.asm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/x86/hevc_sao.asm b/libavcodec/x86/hevc_sao.asm
index 4c11730282..05855290f5 100644
--- a/libavcodec/x86/hevc_sao.asm
+++ b/libavcodec/x86/hevc_sao.asm
@@ -209,6 +209,7 @@ HEVC_SAO_BAND_FILTER_FUNCS
INIT_XMM avx
HEVC_SAO_BAND_FILTER_FUNCS
+%if HAVE_AVX2_EXTERNAL
INIT_XMM avx2
HEVC_SAO_BAND_FILTER_8 8, 0
HEVC_SAO_BAND_FILTER_8 16, 1
@@ -236,3 +237,4 @@ HEVC_SAO_BAND_FILTER_16 12, 48, 1
INIT_YMM avx2
HEVC_SAO_BAND_FILTER_16 12, 64, 2
%endif
+%endif