ffmpeg | branch: master | James Almer <jamr...@gmail.com> | Mon Jul 21 18:03:01 
2025 -0300| [a01dc3aa272be6edbd950469d4f4f7e61c15bb9e] | committer: James Almer

avfilter/x86/vf_colordetect: add missing preprocessor checks

Signed-off-by: James Almer <jamr...@gmail.com>

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

 libavfilter/x86/vf_colordetect.asm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavfilter/x86/vf_colordetect.asm 
b/libavfilter/x86/vf_colordetect.asm
index 489f91c421..44562bc57a 100644
--- a/libavfilter/x86/vf_colordetect.asm
+++ b/libavfilter/x86/vf_colordetect.asm
@@ -133,6 +133,7 @@ cglobal detect_alpha%1_%3, 6, 7, 6, color, color_stride, 
alpha, alpha_stride, wi
     RET
 %endmacro
 
+%if HAVE_AVX2_EXTERNAL
 INIT_YMM avx2
 detect_range_fn b
 detect_range_fn w
@@ -140,7 +141,9 @@ detect_alpha_fn b, w, full
 detect_alpha_fn w, d, full
 detect_alpha_fn b, w, limited
 detect_alpha_fn w, d, limited
+%endif
 
+%if HAVE_AVX512ICL_EXTERNAL
 INIT_ZMM avx512icl
 detect_range_fn b
 detect_range_fn w
@@ -148,3 +151,4 @@ detect_alpha_fn b, w, full
 detect_alpha_fn w, d, full
 detect_alpha_fn b, w, limited
 detect_alpha_fn w, d, limited
+%endif

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to