[FFmpeg-cvslog] checkasm: Increase the tolerance for ac3_sum_square_butterfly_float

Martin Storsjö git at videolan.org
Wed Jul 24 12:13:01 EEST 2024


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Wed Jul 24 00:00:15 2024 +0300| [97a708a50792b2323f1402211a0c0612cfc5826f] | committer: Martin Storsjö

checkasm: Increase the tolerance for ac3_sum_square_butterfly_float

Increase the tolerance from 10 ulp to 11 ulp. This fixes occasional
errors for some inputs; the errors could be reproduced on
aarch64/neon builds, with "checkasm --test=ac3dsp 3446175925".

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=97a708a50792b2323f1402211a0c0612cfc5826f
---

 tests/checkasm/ac3dsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/ac3dsp.c b/tests/checkasm/ac3dsp.c
index 442e965f3b..8c682d03cd 100644
--- a/tests/checkasm/ac3dsp.c
+++ b/tests/checkasm/ac3dsp.c
@@ -181,7 +181,7 @@ static void check_ac3_sum_square_butterfly_float(AC3DSPContext *c) {
         call_ref(v1, lt, rt, ELEMS);
         call_new(v2, lt, rt, ELEMS);
 
-        if (!float_near_ulp_array(v1, v2, 10, 4))
+        if (!float_near_ulp_array(v1, v2, 11, 4))
             fail();
 
         bench_new(v2, lt, rt, ELEMS);



More information about the ffmpeg-cvslog mailing list