This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit b03ff92567da07a96424a1a58bab08976ecb516d Author: Ramiro Polla <[email protected]> AuthorDate: Mon Mar 9 20:08:31 2026 +0100 Commit: Ramiro Polla <[email protected]> CommitDate: Sat Mar 14 06:13:19 2026 +0000 swscale/tests/swscale: print losses using scientific notation This emphasizes the order of magnitude of the loss, which is what is important for us. Sponsored-by: Sovereign Tech Fund Signed-off-by: Ramiro Polla <[email protected]> --- libswscale/tests/swscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index 0573f0dba5..6fd00e6562 100644 --- a/libswscale/tests/swscale.c +++ b/libswscale/tests/swscale.c @@ -337,7 +337,7 @@ static void print_results(const AVFrame *ref, const AVFrame *src, const AVFrame av_get_pix_fmt_name(src->format), src->width, src->height, av_get_pix_fmt_name(dst->format), dst->width, dst->height, mode->flags, mode->dither); - av_log(NULL, level, " loss %g is %s by %g, expected loss %g\n", + av_log(NULL, level, " loss %e is %s by %e, expected loss %e\n", r->loss, bad ? "WORSE" : "worse", r->loss - expected_loss, expected_loss); } @@ -345,7 +345,7 @@ static void print_results(const AVFrame *ref, const AVFrame *src, const AVFrame if (r->loss - ref_r->loss > 1e-4) { int bad = r->loss - ref_r->loss > 1e-2; av_log(NULL, bad ? AV_LOG_ERROR : AV_LOG_WARNING, - " loss %g is %s by %g, ref loss %g, " + " loss %e is %s by %e, ref loss %e, " "SSIM {Y=%f U=%f V=%f A=%f}\n", r->loss, bad ? "WORSE" : "worse", r->loss - ref_r->loss, ref_r->loss, ref_r->ssim[0], ref_r->ssim[1], ref_r->ssim[2], ref_r->ssim[3]); _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
