Commit bd2a0f08 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab

media: vidioc-g-parm.rst: also allow _MPLANE buffer types

The specification mentions that type can be V4L2_BUF_TYPE_VIDEO_CAPTURE,
but the v4l2 core implementation also allows the _MPLANE variant.

Document this.
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 8180b4f4
...@@ -66,7 +66,7 @@ union holding separate parameters for input and output devices. ...@@ -66,7 +66,7 @@ union holding separate parameters for input and output devices.
- -
- The buffer (stream) type, same as struct - The buffer (stream) type, same as struct
:c:type:`v4l2_format` ``type``, set by the :c:type:`v4l2_format` ``type``, set by the
application. See :c:type:`v4l2_buf_type` application. See :c:type:`v4l2_buf_type`.
* - union * - union
- ``parm`` - ``parm``
- -
...@@ -75,12 +75,13 @@ union holding separate parameters for input and output devices. ...@@ -75,12 +75,13 @@ union holding separate parameters for input and output devices.
- struct :c:type:`v4l2_captureparm` - struct :c:type:`v4l2_captureparm`
- ``capture`` - ``capture``
- Parameters for capture devices, used when ``type`` is - Parameters for capture devices, used when ``type`` is
``V4L2_BUF_TYPE_VIDEO_CAPTURE``. ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` or
``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``.
* - * -
- struct :c:type:`v4l2_outputparm` - struct :c:type:`v4l2_outputparm`
- ``output`` - ``output``
- Parameters for output devices, used when ``type`` is - Parameters for output devices, used when ``type`` is
``V4L2_BUF_TYPE_VIDEO_OUTPUT``. ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` or ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``.
* - * -
- __u8 - __u8
- ``raw_data``\ [200] - ``raw_data``\ [200]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment