diff options
author | Vincent Palatin <vpalatin@chromium.org> | 2014-09-03 16:38:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2014-09-21 20:23:39 -0300 |
commit | e3d6eb1c16ef174a8fbbdd40770f5cbace0710e4 (patch) | |
tree | 9cda79b716d7098991cd711fe0c43fcac87abefd /include/uapi | |
parent | 7000e325de875fa8a5dd3885c8e8f0f12cf71eaf (diff) | |
download | linux-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.h | 2 |
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 */ |