add a new (and funny) contrast adjustement
This commit is contained in:
@@ -234,8 +234,10 @@ cumul.count = 0;
|
||||
type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
|
||||
xioctl(fd, VIDIOC_STREAMON, &type);
|
||||
|
||||
#if 0
|
||||
if (verbosity) fprintf(stderr,"pid %d grabbing %d picz...\n",
|
||||
getpid(), nbre_capt);
|
||||
#endif
|
||||
|
||||
for (i = 0; i < nbre_capt; i++) {
|
||||
do {
|
||||
@@ -331,7 +333,7 @@ if (verbosity) {
|
||||
}
|
||||
switch (contrast) {
|
||||
case CONTRAST_NONE:
|
||||
fprintf(stderr, "contrast: none\n");
|
||||
// if (verbosity) fprintf(stderr, "contrast: none\n");
|
||||
break;
|
||||
case CONTRAST_SQRT:
|
||||
fimg_square_root(&cumul, NULL, maxvalue);
|
||||
|
||||
Reference in New Issue
Block a user