History

avfilter/x86/vf_colordetect_init: don't enable ASM functions on targets where it's known they will be slower

James Almer committed 1 year ago

Commit 70fc4e51 parent fdca2091 file · +1 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/x86/vf_colordetect_init.c+1−1
@@ -82,7 +82,7 @@ av_cold void ff_color_detect_dsp_init_x86(FFColorDetectDSPContext *dsp, int dept · 81 unmodified lines
8282 #if HAVE_X86ASM
8383 int cpu_flags = av_get_cpu_flags();
8484 #if HAVE_AVX2_EXTERNAL
85− if (EXTERNAL_AVX2(cpu_flags)) {
85+ if (EXTERNAL_AVX2_FAST(cpu_flags)) {
8686 dsp->detect_range = depth > 8 ? detect_range16_avx2 : detect_range_avx2;
8787 if (color_range == AVCOL_RANGE_JPEG) {
8888 dsp->detect_alpha = depth > 8 ? detect_alpha16_full_avx2 : detect_alpha_full_avx2;

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