This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit d1779ece671c79c4c54b7065790391e6b2e101c2
Author:     Ramiro Polla <[email protected]>
AuthorDate: Sat Mar 7 22:23:21 2026 +0100
Commit:     Ramiro Polla <[email protected]>
CommitDate: Sat Mar 14 06:13:19 2026 +0000

    swscale/tests/swscale: print number of iterations in benchmark output
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Ramiro Polla <[email protected]>
---
 libswscale/tests/swscale.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/tests/swscale.c b/libswscale/tests/swscale.c
index 39708e2f9e..c0e9f3421a 100644
--- a/libswscale/tests/swscale.c
+++ b/libswscale/tests/swscale.c
@@ -320,11 +320,11 @@ static void print_results(const AVFrame *ref, const 
AVFrame *src, const AVFrame
                 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,
+            printf(", time=%"PRId64"/%u us (ref=%"PRId64"/%u 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(", time=%"PRId64"/%u us", r->time, opts->iters);
         }
         printf("\n");
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to