Web lists-archives.org

Re: [RFC PATCH 6/8] Add V4L2_CID_AUTOEXPOSURE control




On Thu, 24 Jan 2008, Trent Piepho wrote:

> On Wed, 23 Jan 2008, Guennadi Liakhovetski wrote:
> > The MT9V022 camera has hardware AEC support, that can be switched on and
> > off in software. MT9M001 emulates Autoexposure control in software. Add a
> > V4L2 control, similar to already present Autogain.
> 
> If you're going to add a new-non private control, there should be
> documentation.  There are already several drivers with auto-exposure
> controls.

Ok, thanks, will have a look.

> >  #define V4L2_CID_LASTP1			(V4L2_CID_BASE+24) /* last CID + 1 */
> > +#define V4L2_CID_AUTOEXPOSURE		(V4L2_CID_BASE+25)
> 
> Take a closer look at the line before the one you changed.

Right, Sakari Ailus has already pointed this, I guess, I then have to set 
LASTP1 to BASE+25 and AUTOEXPOSURE to BASE+24? 

Thanks
Guennadi
---
Guennadi Liakhovetski

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list