summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-14 20:21:16 +0100
committerLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-14 20:21:16 +0100
commit99627092016191ade350fe68ac3c2d17e3cd6a11 (patch)
treee3b9e8310e8042f3f4bb01f19ab22b7bd86c5394 /linux/include
parent66c33fb391b11fa484e3a4f6ba4275be3cd2f4dd (diff)
downloadmediapointer-dvb-s2-99627092016191ade350fe68ac3c2d17e3cd6a11.tar.gz
mediapointer-dvb-s2-99627092016191ade350fe68ac3c2d17e3cd6a11.tar.bz2
v4l2: Add camera zoom controls
From: Laurent Pinchart <laurent.pinchart@skynet.be> The zoom controls move the zoom lens group to a an absolute position, as a relative displacement or at a given speed until reaching physical device limits. Positive values move the zoom lens group towards the telephoto direction, negative values towards the wide-angle direction. Priority: normal Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/linux/videodev2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/include/linux/videodev2.h b/linux/include/linux/videodev2.h
index 00e539e8f..2d7f01059 100644
--- a/linux/include/linux/videodev2.h
+++ b/linux/include/linux/videodev2.h
@@ -1118,6 +1118,10 @@ enum v4l2_exposure_auto_type {
#define V4L2_CID_FOCUS_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+11)
#define V4L2_CID_FOCUS_AUTO (V4L2_CID_CAMERA_CLASS_BASE+12)
+#define V4L2_CID_ZOOM_ABSOLUTE (V4L2_CID_CAMERA_CLASS_BASE+13)
+#define V4L2_CID_ZOOM_RELATIVE (V4L2_CID_CAMERA_CLASS_BASE+14)
+#define V4L2_CID_ZOOM_CONTINUOUS (V4L2_CID_CAMERA_CLASS_BASE+15)
+
/*
* T U N I N G
*/