RE: Control IOCTLs handling

2009-07-16 Thread Karicheri, Muralidharan
Snip I don't see any control IDs available for Bayer RGB color space. In our video hardware, there is a set of Gain values that can be applied to the Bayer RGB data. We can apply them individually to R, Gr, Gb or B color components. So I think we need to have 4 more controls defined for doing

Re: Control IOCTLs handling

2009-07-14 Thread Hans de Goede
Hi, On 07/13/2009 08:21 PM, Karicheri, Muralidharan wrote: Hi, I need to implement some controls for my driver and would like to understand the control ioctl framework available today. I am not very sure how the control ioctls are to be implemented and it is not well defined in the

Re: Control IOCTLs handling

2009-07-13 Thread Hans Verkuil
On Monday 13 July 2009 20:21:20 Karicheri, Muralidharan wrote: Hi, I need to implement some controls for my driver and would like to understand the control ioctl framework available today. I am not very sure how the control ioctls are to be implemented and it is not well defined in the

RE: Control IOCTLs handling

2009-07-13 Thread Karicheri, Muralidharan
Hans, snip #define VIDIOC_S_EXT_CTRLS _IOWR('V', 72, struct v4l2_ext_controls) #define VIDIOC_TRY_EXT_CTRLS _IOWR('V', 73, struct v4l2_ext_controls) Currently they are implemented using proprietary ioctls. Do you mean proprietary ioctls or proprietary controls? Here you talk about ioctls