Subject: [RFC PATCH 6/8] Add V4L2_CID_AUTOEXPOSURE control
From: Guennadi Liakhovetski <[email-masked]>
To: [email-masked]
Date: Wed, 23 Jan 2008 18:42:01 +0100 (CET)
Newsgroups: gmane.comp.video.video4linux
List-Id: Linux and Kernel Video <video4linux-list.redhat.com>

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.

Signed-off-by: Guennadi Liakhovetski <[email-masked]>
---
 include/linux/videodev2.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index ae9b24c..05b8c22 100644
--- a/include/linux/videodev2.h
+++ b/include/linux/videodev2.h
@@ -946,6 +946,7 @@ struct v4l2_querymenu
 #define V4L2_CID_HCENTER		(V4L2_CID_BASE+22)
 #define V4L2_CID_VCENTER		(V4L2_CID_BASE+23)
 #define V4L2_CID_LASTP1			(V4L2_CID_BASE+24) /* last CID + 1 */
+#define V4L2_CID_AUTOEXPOSURE		(V4L2_CID_BASE+25)
 
 /*  MPEG-class control IDs defined by V4L2 */
 #define V4L2_CID_MPEG_BASE 			(V4L2_CTRL_CLASS_MPEG | 0x900)
-- 
1.5.3.4

--
video4linux-list mailing list
Unsubscribe mailto:[email-masked]?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list