From af41acba4a12676c7ccc4c64f076e82faa72703e Mon Sep 17 00:00:00 2001 From: tTh Date: Mon, 6 Jun 2022 22:17:15 +0200 Subject: [PATCH] add debug code --- tools/fimgfx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tools/fimgfx.c b/tools/fimgfx.c index 6226718..f7bac3e 100644 --- a/tools/fimgfx.c +++ b/tools/fimgfx.c @@ -171,6 +171,11 @@ else { action = fx_list[fxidx].id; +if (verbosity) { + fprintf(stderr, "%s: fxidx=%d action=%d\n", __func__, + fxidx, action); + } + switch (action) { case Fx_cos01: fimg_cos_01(&src, &dest, maxval); break; @@ -309,6 +314,10 @@ if (3 > argc-optind) { } if (verbosity>1) fprintf(stderr, "*** fimgfx *** %s %s\n", __DATE__, __TIME__); +if (verbosity>2) { + for (foo=0; foo