[FFmpeg-devel] [PATCH 2/3] swscale/x86/yuv2yuvX: Add yuv2yuvX avx512

James Almer jamrial at gmail.com
Fri Jul 14 16:03:32 EEST 2023


On 7/14/2023 9:59 AM, Kieran Kunhya wrote:
>> +#if ARCH_X86_64 && HAVE_AVX512_EXTERNAL
>> +        if (EXTERNAL_AVX512(cpu_flags))
>> +            c->yuv2planeX = yuv2yuvX_avx512;
>>   #endif
>>
> 
>   You want EXTERNAL_AVX512ICL here.

vpermt2q with zmm registers is avx512f and not any of the extensions, so 
that check is fine.


More information about the ffmpeg-devel mailing list