summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorVincent Palatin <vpalatin@chromium.org>2014-09-03 16:38:39 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2014-09-21 20:23:39 -0300
commite3d6eb1c16ef174a8fbbdd40770f5cbace0710e4 (patch)
tree9cda79b716d7098991cd711fe0c43fcac87abefd /include/uapi
parent7000e325de875fa8a5dd3885c8e8f0f12cf71eaf (diff)
downloadlinux-stable-e3d6eb1c16ef174a8fbbdd40770f5cbace0710e4.tar.gz
linux-stable-e3d6eb1c16ef174a8fbbdd40770f5cbace0710e4.tar.bz2
linux-stable-e3d6eb1c16ef174a8fbbdd40770f5cbace0710e4.zip
[media] v4l: Add camera pan/tilt speed controls
The V4L2_CID_PAN_SPEED and V4L2_CID_TILT_SPEED controls allow to move the camera by setting its rotation speed around its axis. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Pawel Osciak <posciak@chromium.org> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/v4l2-controls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/v4l2-controls.h b/include/uapi/linux/v4l2-controls.h
index 8b930210a4b9..661f119a51b8 100644
--- a/include/uapi/linux/v4l2-controls.h
+++ b/include/uapi/linux/v4l2-controls.h
@@ -746,6 +746,8 @@ enum v4l2_auto_focus_range {
V4L2_AUTO_FOCUS_RANGE_INFINITY = 3,
};
+#define V4L2_CID_PAN_SPEED (V4L2_CID_CAMERA_CLASS_BASE+32)
+#define V4L2_CID_TILT_SPEED (V4L2_CID_CAMERA_CLASS_BASE+33)
/* FM Modulator class control IDs */