This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 041b6f330f44e91d72b1b1edc303df415c6141c8 Author: Ramiro Polla <[email protected]> AuthorDate: Mon Mar 9 21:21:17 2026 +0100 Commit: Ramiro Polla <[email protected]> CommitDate: Sat Mar 14 06:13:19 2026 +0000 swscale/tests/swscale: indent after previous commit Sponsored-by: Sovereign Tech Fund Signed-off-by: Ramiro Polla <[email protected]> --- libswscale/tests/swscale.c | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c index 97b09bc8a1..f4495c0bcd 100644 --- a/libswscale/tests/swscale.c +++ b/libswscale/tests/swscale.c @@ -302,32 +302,32 @@ static void print_results(const AVFrame *ref, const AVFrame *src, const AVFrame float expected_loss) { if (av_log_get_level() >= AV_LOG_INFO) { - printf("%s %dx%d -> %s %3dx%3d, flags=0x%x dither=%u, ", - 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); - - printf("SSIM {Y=%f U=%f V=%f A=%f}", - r->ssim[0], r->ssim[1], r->ssim[2], r->ssim[3]); - - if (opts->bench && ref_r->time) { - double ratio = (double) ref_r->time / r->time; - if (FFMIN(r->time, ref_r->time) > 100 /* don't pollute stats with low precision */) { - speedup_min = FFMIN(speedup_min, ratio); - speedup_max = FFMAX(speedup_max, ratio); - speedup_logavg += log(ratio); - speedup_count++; - } + printf("%s %dx%d -> %s %3dx%3d, flags=0x%x dither=%u, ", + 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); + + printf("SSIM {Y=%f U=%f V=%f A=%f}", + r->ssim[0], r->ssim[1], r->ssim[2], r->ssim[3]); + + if (opts->bench && ref_r->time) { + double ratio = (double) ref_r->time / r->time; + if (FFMIN(r->time, ref_r->time) > 100 /* don't pollute stats with low precision */) { + speedup_min = FFMIN(speedup_min, ratio); + speedup_max = FFMAX(speedup_max, ratio); + speedup_logavg += log(ratio); + speedup_count++; + } printf(" time=%"PRId64" us, ref=%"PRId64" us, speedup=%.3fx %s%s\033[0m", r->time / opts->iters, ref_r->time / opts->iters, ratio, speedup_color(ratio), ratio >= 1.0 ? "faster" : "slower"); - } else if (opts->bench) { - printf(" time=%"PRId64" us", r->time / opts->iters); - } - printf("\n"); + } else if (opts->bench) { + printf(" time=%"PRId64" us", r->time / opts->iters); + } + printf("\n"); - fflush(stdout); + fflush(stdout); } if (r->loss - expected_loss > 1e-4 && dst_w >= ref->width && dst_h >= ref->height) { _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
