Unified · Split
| @@ -82,7 +82,7 @@ av_cold void ff_color_detect_dsp_init_x86(FFColorDetectDSPContext *dsp, int dept · 81 unmodified lines | |||
| 82 | #if HAVE_X86ASM | 82 | #if HAVE_X86ASM |
| 83 | int cpu_flags = av_get_cpu_flags(); | 83 | int cpu_flags = av_get_cpu_flags(); |
| 84 | #if HAVE_AVX2_EXTERNAL | 84 | #if HAVE_AVX2_EXTERNAL |
| 85 | if (EXTERNAL_AVX2(cpu_flags)) { | 85 | if (EXTERNAL_AVX2_FAST(cpu_flags)) { |
| 86 | dsp->detect_range = depth > 8 ? detect_range16_avx2 : detect_range_avx2; | 86 | dsp->detect_range = depth > 8 ? detect_range16_avx2 : detect_range_avx2; |
| 87 | if (color_range == AVCOL_RANGE_JPEG) { | 87 | if (color_range == AVCOL_RANGE_JPEG) { |
| 88 | dsp->detect_alpha = depth > 8 ? detect_alpha16_full_avx2 : detect_alpha_full_avx2; | 88 | dsp->detect_alpha = depth > 8 ? detect_alpha16_full_avx2 : detect_alpha_full_avx2; |