summaryrefslogtreecommitdiff
path: root/linux/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2008-10-18 17:25:28 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2008-10-18 17:25:28 +0200
commitca1216c6fdfe83552ac10d39f6f1cce0a061636c (patch)
tree497e869434376082578db866392b36e08db4cb27 /linux/include/media
parent8d323d3fcc16d1ae16aa26da0d17bb1044b992a9 (diff)
downloadmediapointer-dvb-s2-ca1216c6fdfe83552ac10d39f6f1cce0a061636c.tar.gz
mediapointer-dvb-s2-ca1216c6fdfe83552ac10d39f6f1cce0a061636c.tar.bz2
v4l2-int-if: Add cropcap, g_crop and s_crop commands.
From: Sameer Venkatraman <sameerv@ti.com> Priority: normal Signed-off-by: Sameer Venkatraman <sameerv@ti.com> Signed-off-by: Mohit Jalori <mjalori@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media')
-rw-r--r--linux/include/media/v4l2-int-device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-int-device.h b/linux/include/media/v4l2-int-device.h
index d9a005365..cee941c39 100644
--- a/linux/include/media/v4l2-int-device.h
+++ b/linux/include/media/v4l2-int-device.h
@@ -170,6 +170,9 @@ enum v4l2_int_ioctl_num {
vidioc_int_queryctrl_num,
vidioc_int_g_ctrl_num,
vidioc_int_s_ctrl_num,
+ vidioc_int_cropcap_num,
+ vidioc_int_g_crop_num,
+ vidioc_int_s_crop_num,
vidioc_int_g_parm_num,
vidioc_int_s_parm_num,
@@ -266,6 +269,9 @@ V4L2_INT_WRAPPER_1(try_fmt_cap, struct v4l2_format, *);
V4L2_INT_WRAPPER_1(queryctrl, struct v4l2_queryctrl, *);
V4L2_INT_WRAPPER_1(g_ctrl, struct v4l2_control, *);
V4L2_INT_WRAPPER_1(s_ctrl, struct v4l2_control, *);
+V4L2_INT_WRAPPER_1(cropcap, struct v4l2_cropcap, *);
+V4L2_INT_WRAPPER_1(g_crop, struct v4l2_crop, *);
+V4L2_INT_WRAPPER_1(s_crop, struct v4l2_crop, *);
V4L2_INT_WRAPPER_1(g_parm, struct v4l2_streamparm, *);
V4L2_INT_WRAPPER_1(s_parm, struct v4l2_streamparm, *);