On Thu, Jul 17, 2008 at 01:46:52PM +0200, Laurent Pinchart wrote:
> The auto-exposure control supports the following values:
>
> 0: Manual Mode
> 1: Auto Mode
> 2: Shutter Priority Mode
> 3: Aperture Priority Mode
>
> Instead of hard-coding the value, use the v4l2_exposure_auto_type enum
> defined
> in linux/videodev2.h (Linux 2.6.26 or newer).
>
> enum v4l2_exposure_auto_type {
> V4L2_EXPOSURE_AUTO = 0,
> V4L2_EXPOSURE_MANUAL = 1,
> V4L2_EXPOSURE_SHUTTER_PRIORITY = 2,
> V4L2_EXPOSURE_APERTURE_PRIORITY = 3
> };
The constants and your description seem to have 0 and 1 transposed. Which
is correct?
Best wishes,
--
Alex Pounds (Creature) .~. http://www.alexpounds.com/
/V\ http://www.ethicsgirls.com/
// \\
"Variables won't; Constants aren't" /( )\
^`~'^
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel