mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avfilter/x86/vf_colordetect: add missing preprocessor checks
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user