Hello all, I'm using dm6467 and lsp1.3 . In tvp7002.c, I only found the relation code that was used to initialize the brightness of tvp7002.
In the encode application, I added some ioctl code and wanted to control the contrast brightness saturation of tvp7002. The code is as below: struct v4l2_control ctrl; if(type == 1) ctrl.id = V4L2_CID_CONTRAST; else if(type == 2) ctrl.id = V4L2_CID_SATURATION; ctrl.value = value; ioctl(hCapture->fd, VIDIOC_S_CTRL, &ctrl); but the return value of ioctl was -1,so the handling was fail. Could you tell me how to control the contrast brightness saturation of tvp7002? thank you. best regards.
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
