]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (11313): v4l2-subdev: add enum_framesizes and enum_frameintervals.
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 29 Mar 2009 22:23:16 +0000 (19:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:43:49 +0000 (12:43 -0300)
These callbacks are needed for omap.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
include/media/v4l2-subdev.h

index d7a72d2d1f00c13b576b6b581f598f89768e6ef1..1d181b4ccb0143f3f837ded4ab319616cf63a0b0 100644 (file)
@@ -124,6 +124,8 @@ struct v4l2_subdev_video_ops {
        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);
+       int (*enum_framesizes)(struct v4l2_subdev *sd, struct v4l2_frmsizeenum *fsize);
+       int (*enum_frameintervals)(struct v4l2_subdev *sd, struct v4l2_frmivalenum *fival);
 };
 
 struct v4l2_subdev_ops {