summaryrefslogtreecommitdiffstats
path: root/include/linux/videodev2.h
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@skynet.be>2008-12-14 16:21:16 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 09:39:09 -0200
commit0877258d98154565def498833ccb208234c85084 (patch)
tree86532b6f3f9ee3b822995511dc7ecce4ebcd0181 /include/linux/videodev2.h
parentfd6b9c978dc3447b9b4677d8949ef3ea7f946abc (diff)
downloadop-kernel-dev-0877258d98154565def498833ccb208234c85084.zip
op-kernel-dev-0877258d98154565def498833ccb208234c85084.tar.gz
V4L/DVB (9897): v4l2: Add camera zoom controls
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. Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/linux/videodev2.h')
-rw-r--r--include/linux/videodev2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/videodev2.h b/include/linux/videodev2.h
index ec311d4..e450a92 100644
--- a/include/linux/videodev2.h
+++ b/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
*/
OpenPOWER on IntegriCloud