History

avfilter/x86/vf_colordetect: add missing preprocessor checks

James Almer committed 1 year ago

Commit a01dc3a1 parent c62813a1 file · +4 −0Browse files

Unified · Split

libavfilter/x86/vf_colordetect.asm+4−0
@@ -133,6 +133,7 @@ cglobal detect_alpha%1_%3, 6, 7, 6, color, color_stride, alpha, alpha_stride, wi · 132 unmodified lines
133133 RET
134134 %endmacro
135135
136+%if HAVE_AVX2_EXTERNAL
136137 INIT_YMM avx2
137138 detect_range_fn b
138139 detect_range_fn w
@@ -140,7 +141,9 @@ detect_alpha_fn b, w, full · 1 unmodified line
140141 detect_alpha_fn w, d, full
141142 detect_alpha_fn b, w, limited
142143 detect_alpha_fn w, d, limited
144+%endif
143145
146+%if HAVE_AVX512ICL_EXTERNAL
144147 INIT_ZMM avx512icl
145148 detect_range_fn b
146149 detect_range_fn w
@@ -148,3 +151,4 @@ detect_alpha_fn b, w, full · 1 unmodified line
148151 detect_alpha_fn w, d, full
149152 detect_alpha_fn b, w, limited
150153 detect_alpha_fn w, d, limited
154+%endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t