mbox series

[v3,0/2] media: v4l2-subdev.h: allow V4L2_FRMIVAL_TYPE_CONTINUOUS & _STEPWISE

Message ID 1536685593-27512-1-git-send-email-phdm@macqel.be (mailing list archive)
Headers show
Series media: v4l2-subdev.h: allow V4L2_FRMIVAL_TYPE_CONTINUOUS & _STEPWISE | expand

Message

Philippe De Muyter Sept. 11, 2018, 5:06 p.m. UTC
add V4L2_FRMIVAL_TYPE_CONTINUOUS and V4L2_FRMIVAL_TYPE_STEPWISE for
subdev's frame intervals in addition to implicit existing
V4L2_FRMIVAL_TYPE_DISCRETE type.
--
v2:
	Add a 'type' field and a helper function, as asked by Hans
v3:
	Fix documentation (as asked by Hans)
	Convert a driver to use the new helper function (asked by Hans)
	Initialize 'which' to V4L2_SUBDEV_FORMAT_ACTIVE in helper

Philippe De Muyter (2):
  media: v4l2-subdev.h: allow V4L2_FRMIVAL_TYPE_CONTINUOUS & _STEPWISE
  media: imx: capture: use 'v4l2_fill_frmivalenum_from_subdev'

 .../uapi/v4l/vidioc-subdev-enum-frame-interval.rst | 69 +++++++++++++++++++++-
 drivers/media/v4l2-core/v4l2-common.c              | 32 ++++++++++
 drivers/staging/media/imx/imx-media-capture.c      | 18 +-----
 include/media/v4l2-common.h                        | 12 ++++
 include/uapi/linux/v4l2-subdev.h                   | 22 ++++++-
 5 files changed, 133 insertions(+), 20 deletions(-)