Set gamma value in device.
|val ||An integer in the range 0-65535. |
- FALSE if the device is closed or the call failed.
Whiteness is sometimes used as brightness, but usually this sets the gamma correction the device will apply to the image.
The value returned by GetWhiteness may be slightly different from what is set with SetWhiteness.
Definition at line 1250 of file VideoDevice.cc.
if (CamFD < 0)
VPic.whiteness = val & 0xffff;
if (ioctl(CamFD, VIDIOCSPICT, &VPic) < 0)