add debug code

This commit is contained in:
tTh 2022-06-06 22:17:15 +02:00
parent e224ab83b6
commit af41acba4a

View File

@ -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<argc; foo++)
fprintf(stderr, "\t\t%5d\t%s\n", foo, argv[foo]);
}
operator = argv[optind];
action = lookup_fxidx(operator);