summaryrefslogtreecommitdiff
path: root/linux/include
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-06-18 18:43:28 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-06-18 18:43:28 +0200
commit13df997912f6bd6191afa971517b5dd138c2a013 (patch)
tree8d768c5e220bef3a46689cc2416dbd41faaf7e2a /linux/include
parent6a8bf297dd5c299754ce555c1d786c666619d5fc (diff)
downloadmediapointer-dvb-s2-13df997912f6bd6191afa971517b5dd138c2a013.tar.gz
mediapointer-dvb-s2-13df997912f6bd6191afa971517b5dd138c2a013.tar.bz2
Add videodev support for VIDIOC_S/G/TRY_EXT_CTRLS.
From: Hans Verkuil <hverkuil@xs4all.nl> videodev.c copies the control list specified in struct v4l2_ext_controls to kernel space. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include')
-rw-r--r--linux/include/media/v4l2-dev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/include/media/v4l2-dev.h b/linux/include/media/v4l2-dev.h
index 18f1bd706..39f4b7c69 100644
--- a/linux/include/media/v4l2-dev.h
+++ b/linux/include/media/v4l2-dev.h
@@ -245,6 +245,12 @@ struct video_device
struct v4l2_control *a);
int (*vidioc_s_ctrl) (struct file *file, void *fh,
struct v4l2_control *a);
+ int (*vidioc_g_ext_ctrls) (struct file *file, void *fh,
+ struct v4l2_ext_controls *a);
+ int (*vidioc_s_ext_ctrls) (struct file *file, void *fh,
+ struct v4l2_ext_controls *a);
+ int (*vidioc_try_ext_ctrls) (struct file *file, void *fh,
+ struct v4l2_ext_controls *a);
int (*vidioc_querymenu) (struct file *file, void *fh,
struct v4l2_querymenu *a);