[FFmpeg-devel] [PATCHv2] checkasm: af_afir: Use a dynamic tolerance depending on values

Michael Niedermayer michael at niedermayer.cc
Thu Dec 12 17:08:44 EET 2019


On Thu, Dec 12, 2019 at 11:47:16AM +0200, Martin Storsjö wrote:
> As the values generated by av_bmg_get can be arbitrarily large
> (only the stddev is specified), we can't use a fixed tolerance.
> Calculate a dynamic tolerance (like in float_dsp from 38f966b2222db),
> based on the individual steps of the calculation.
> 
> This fixes running this test with certain seeds, when built with
> clang for mingw/x86_32.
> ---
> Fixed one typo in the expression.
> ---
>  tests/checkasm/af_afir.c | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)

should be ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20191212/547ff0e3/attachment.sig>


More information about the ffmpeg-devel mailing list