[FFmpeg-devel] [PATCH 1/2] checkasm: updated tests for sw_scale

Martin Storsjö martin at martin.st
Tue Jun 21 23:16:41 EEST 2022


On Mon, 13 Jun 2022, Swinney, Jonathan wrote:

> - added a test for yuv2plane1 (currently disabled for x86_64)

What's the reason for having it disabled for x86 - is it another case 
where the current implementations there aren't bitexact? Could we avoid 
that by setting the bitexact flag for the new yuv2yuv1 test?

> - fixed test for yuv2planeX for aarch64 which was previously not working 
> at all

Could we make the test fuzzy and allow minor differences from the 
reference, when the bitexact flag isn't set, and separately test with the 
bitexact flag and require exact matches?

> @@ -95,7 +210,7 @@ static void check_yuv2yuvX(void)
>     ff_sws_init_scale(ctx);
>     for(isi = 0; isi < INPUT_SIZES; ++isi){
>         dstW = input_sizes[isi];
> -        for(osi = 0; osi < 64; osi += 16){
> +        for(osi = 0; osi < 1; osi += 16){

This looks like a stray leftover change?

// Martin



More information about the ffmpeg-devel mailing list