summaryrefslogtreecommitdiff
path: root/subdev.h
diff options
context:
space:
mode:
authorTodor Tomov <ttomov@mm-sol.com>2010-06-30 10:55:43 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2010-07-01 10:34:32 +0200
commita04e11ca5bbf2a44539ee14e3077358a21262ba2 (patch)
tree8ea3e86da132a77ab8ccee3b909e727620db29ec /subdev.h
parentc13258a74fd7345828fce8fab117247e3f61e6e5 (diff)
V4L2 subdev frame interval support
Extend the V4L2 media bus format syntax to support an optional frame interval value. If specified, the frame interval is set on the subdev. Signed-off-by: Todor Tomov <ttomov@mm-sol.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'subdev.h')
-rw-r--r--subdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/subdev.h b/subdev.h
index e3106e6..7b65411 100644
--- a/subdev.h
+++ b/subdev.h
@@ -38,6 +38,8 @@ int v4l2_subdev_get_crop(struct media_entity *entity, struct v4l2_rect *rect,
unsigned int pad, enum v4l2_subdev_format which);
int v4l2_subdev_set_crop(struct media_entity *entity, struct v4l2_rect *rect,
unsigned int pad, enum v4l2_subdev_format which);
+int v4l2_subdev_set_frame_interval(struct media_entity *entity,
+ struct v4l2_fract *interval);
#endif