Hi,

I use the following ioctl to set brightness:

    struct v4l2_control ctrl;
    ctrl.id = V4L2_CID_BRIGHTNESS;
    ctrl.value = i;
    ioctl(capture_fd, VIDIOC_S_CTRL, &ctrl);

cheers,
Fredrik

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Panchy Rivas
Sent: den 30 september 2008 16:16
To: davinci-linux-open-source@linux.davincidsp.com
Subject: What is the easiest way to change the brightness on the 
TVP5146.Through an ioctl?

What is the easiest way to change the brightness on the TVP5146.  Through an 
ioctl??

Thanks
Panchy Rivas

_______________________________________________
Davinci-linux-open-source mailing list
Davinci-linux-open-source@linux.davincidsp.com
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to