v4l: v4l2_subdev userspace frame interval API
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 5 May 2010 14:38:35 +0000 (16:38 +0200)
committerJason Kridner <jkridner@beagleboard.org>
Thu, 10 Mar 2011 23:38:28 +0000 (17:38 -0600)
commit5b2036690a6d6ae17b7eeef2eb7b73a236d1e436
tree308c0e9aa8872ace2176d9eb172f6b0f5702225c
parent1740ff60900f92d3ac10700d5c782876dd0d95eb
v4l: v4l2_subdev userspace frame interval API

The three new ioctl VIDIOC_SUBDEV_ENUM_FRAME_INTERVAL,
VIDIOC_SUBDEV_G_FRAME_INTERVAL and VIDIOC_SUBDEV_S_FRAME_INTERVAL can be
used to enumerate and configure a subdev's frame rate from userspace.

Two new video::g/s_frame_interval subdev operations are introduced to
support those ioctls. The existing video::g/s_parm operations are
deprecated and shouldn't be used anymore.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Documentation/DocBook/media-entities.tmpl
Documentation/DocBook/v4l/v4l2.xml
Documentation/DocBook/v4l/vidioc-subdev-enum-frame-interval.xml [new file with mode: 0644]
Documentation/DocBook/v4l/vidioc-subdev-g-frame-interval.xml [new file with mode: 0644]
drivers/media/video/v4l2-subdev.c
include/linux/v4l2-subdev.h
include/media/v4l2-subdev.h