summaryrefslogtreecommitdiff
path: root/linux/include/media/v4l2-subdev.h
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-02-06 22:59:35 +0100
committerHans Verkuil <hverkuil@xs4all.nl>2009-02-06 22:59:35 +0100
commitff2ca8d6442a3a606f70879d924dd159d06cda89 (patch)
tree5c1f56a58a67a68db9fb5d531add21c069d0d55d /linux/include/media/v4l2-subdev.h
parent6802e30de304059d908100b6874f246c45c47792 (diff)
downloadmediapointer-dvb-s2-ff2ca8d6442a3a606f70879d924dd159d06cda89.tar.gz
mediapointer-dvb-s2-ff2ca8d6442a3a606f70879d924dd159d06cda89.tar.bz2
v4l2-subdev: add support for TRY_FMT, ENUM_FMT and G/S_PARM.
From: Hans Verkuil <hverkuil@xs4all.nl> These ops are used by the ov7670 driver, so these need to be added. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'linux/include/media/v4l2-subdev.h')
-rw-r--r--linux/include/media/v4l2-subdev.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/include/media/v4l2-subdev.h b/linux/include/media/v4l2-subdev.h
index 1b97a2c33..d7a72d2d1 100644
--- a/linux/include/media/v4l2-subdev.h
+++ b/linux/include/media/v4l2-subdev.h
@@ -118,8 +118,12 @@ struct v4l2_subdev_video_ops {
int (*querystd)(struct v4l2_subdev *sd, v4l2_std_id *std);
int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
int (*s_stream)(struct v4l2_subdev *sd, int enable);
- int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
+ int (*enum_fmt)(struct v4l2_subdev *sd, struct v4l2_fmtdesc *fmtdesc);
int (*g_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
+ int (*try_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
+ int (*s_fmt)(struct v4l2_subdev *sd, struct v4l2_format *fmt);
+ int (*g_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param);
+ int (*s_parm)(struct v4l2_subdev *sd, struct v4l2_streamparm *param);
};
struct v4l2_subdev_ops {