From dbe8ee406aa7f16ed739311c16589ca879327dca Mon Sep 17 00:00:00 2001 From: tonton th Date: Tue, 4 Aug 2020 22:07:40 +0200 Subject: [PATCH] trying to display delat min/max --- tools/fimgstats.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/tools/fimgstats.c b/tools/fimgstats.c index dd147711..85249c48 100644 --- a/tools/fimgstats.c +++ b/tools/fimgstats.c @@ -49,9 +49,12 @@ if (foo) { return foo; } -printf("Rmin %12.4g Rmax %12.4g\n", vals[0], vals[1]); -printf("Gmin %12.4g Gmax %12.4g\n", vals[2], vals[3]); -printf("Bmin %12.4g Bmax %12.4g\n", vals[4], vals[5]); +printf("Rmin %12.4g Rmax %12.4g delta %12g\n", + vals[0], vals[1], vals[1]-vals[0]); +printf("Gmin %12.4g Gmax %12.4g %12g\n", + vals[2], vals[3], vals[3]-vals[2]); +printf("Bmin %12.4g Bmax %12.4g %12g\n", + vals[4], vals[5], vals[5]-vals[4]); return 0; }