enhanced verbosity message

master
tth 2 years ago
parent 3279d0dde8
commit fe22b0561e
  1. 4
      v4l2/grabvidseq.c

@ -240,7 +240,7 @@ else {
}
fimg_clear(&cumul);
cumul.fval = 255.0;
cumul.fval = 255.0; /* must be read from camera XXX */
cumul.count = 0;
to_save = &cumul;
@ -347,6 +347,8 @@ if (verbosity) fprintf(stderr, "saving cumul to '%s'\n", outfile);
maxvalue = cumul.fval * cumul.count;
if (verbosity) {
fprintf(stderr, "theorical maxvalue = %g\n", maxvalue);
fprintf(stderr, "computed max value = %g\n",
fimg_get_maxvalue(&cumul));
}
switch (contrast) {
case CONTRAST_NONE:

Loading…
Cancel
Save