summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorSameer Venkatraman2008-10-18 17:25:28 +0200
committerMauro Carvalho Chehab2008-10-21 18:31:12 +0200
commit621a3739f3b8c7427a789d3b2fe86a80ff234225 (patch)
tree15704c45ad488aad4811d809c5d19fb5c43235da /include/media
parentV4L/DVB (9318): v4l2-int-if: Add command to get slave private data. (diff)
downloadkernel-qcow2-linux-621a3739f3b8c7427a789d3b2fe86a80ff234225.tar.gz
kernel-qcow2-linux-621a3739f3b8c7427a789d3b2fe86a80ff234225.tar.xz
kernel-qcow2-linux-621a3739f3b8c7427a789d3b2fe86a80ff234225.zip
V4L/DVB (9319): v4l2-int-if: Add cropcap, g_crop and s_crop commands.
Signed-off-by: Sameer Venkatraman <sameerv@ti.com> Signed-off-by: Mohit Jalori <mjalori@ti.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-int-device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index d9a0053654db..cee941c39aa2 100644
--- a/include/media/v4l2-int-device.h
+++ b/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, *);