diff options
author | Todor Tomov <ttomov@mm-sol.com> | 2010-06-30 10:55:43 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-07-01 10:34:32 +0200 |
commit | a04e11ca5bbf2a44539ee14e3077358a21262ba2 (patch) | |
tree | 8ea3e86da132a77ab8ccee3b909e727620db29ec /subdev.h | |
parent | c13258a74fd7345828fce8fab117247e3f61e6e5 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |