summaryrefslogtreecommitdiffstats
path: root/include/media/v4l2-subdev.h
diff options
context:
space:
mode:
authorQing Xu <qingx@marvell.com>2011-01-20 09:19:40 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 00:32:13 +0100
commit03519b7e7ea531f5425be9d9bfe5f114e80951a0 (patch)
tree3876096e9ee4ec4d42212374ebf798f11fb2d2ef /include/media/v4l2-subdev.h
parent[media] saa7134-empress: add missing MPEG controls (diff)
downloadlinux-03519b7e7ea531f5425be9d9bfe5f114e80951a0.tar.xz
linux-03519b7e7ea531f5425be9d9bfe5f114e80951a0.zip
[media] V4L: add enum_mbus_fsizes video operation
Add enum_mbus_fsizes V4L2 subdevice video operation. Signed-off-by: Qing Xu <qingx@marvell.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/v4l2-subdev.h')
-rw-r--r--include/media/v4l2-subdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/media/v4l2-subdev.h b/include/media/v4l2-subdev.h
index daf1e57d9b26..d4d74f9f2ff2 100644
--- a/include/media/v4l2-subdev.h
+++ b/include/media/v4l2-subdev.h
@@ -271,6 +271,8 @@ struct v4l2_subdev_video_ops {
struct v4l2_dv_timings *timings);
int (*enum_mbus_fmt)(struct v4l2_subdev *sd, unsigned int index,
enum v4l2_mbus_pixelcode *code);
+ int (*enum_mbus_fsizes)(struct v4l2_subdev *sd,
+ struct v4l2_frmsizeenum *fsize);
int (*g_mbus_fmt)(struct v4l2_subdev *sd,
struct v4l2_mbus_framefmt *fmt);
int (*try_mbus_fmt)(struct v4l2_subdev *sd,