[FFmpeg-devel] [PATCH v2] checkasm: sw_scale: Produce more realistic test filter coefficients for yuv2yuvX

Martin Storsjö martin at martin.st
Fri Aug 19 13:41:00 EEST 2022


On Thu, 18 Aug 2022, Alan Kelly wrote:

> Thanks Martin for doing this.
> 
> On Thu, Aug 18, 2022 at 10:16 AM Martin Storsjö <martin at martin.st> wrote:
>       This avoids triggering overflows in the filters, and avoids
>       stray
>       test failures in the approximate functions on x86; due to
>       rounding
>       differences, one implementation might overflow while another one
>       doesn't.
>
>       Signed-off-by: Martin Storsjö <martin at martin.st>
>       ---
>       FWIW, this modification runs successfully with over 1000
>       different
>       seeds in checkasm.
>       ---
>        tests/checkasm/sw_scale.c | 16 +++++++++++++++-
>        1 file changed, 15 insertions(+), 1 deletion(-)

I'll go ahead and push this patch later today, if there's no opposition, 
as it fixes spurious fate failures.

// Martin


More information about the ffmpeg-devel mailing list