summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorQing Xu <qingx@marvell.com>2011-01-20 05:19:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 20:32:13 -0300
commit03519b7e7ea531f5425be9d9bfe5f114e80951a0 (patch)
tree3876096e9ee4ec4d42212374ebf798f11fb2d2ef /include/media
parentd63044401a107ef22521e62c7f9b30c40b7c44ed (diff)
[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')
-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 daf1e57d9b2..d4d74f9f2ff 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,