Commit 003aedae authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: docs: Document metadata format in struct v4l2_format

The format fields in struct v4l2_format were otherwise documented but the
meta field was missing. Document it.
Reported-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 92539d3e
...@@ -40,7 +40,7 @@ To use the :ref:`format` ioctls applications set the ``type`` field of the ...@@ -40,7 +40,7 @@ To use the :ref:`format` ioctls applications set the ``type`` field of the
the desired operation. Both drivers and applications must set the remainder of the desired operation. Both drivers and applications must set the remainder of
the :c:type:`v4l2_format` structure to 0. the :c:type:`v4l2_format` structure to 0.
.. _v4l2-meta-format: .. c:type:: v4l2_meta_format
.. tabularcolumns:: |p{1.4cm}|p{2.2cm}|p{13.9cm}| .. tabularcolumns:: |p{1.4cm}|p{2.2cm}|p{13.9cm}|
......
...@@ -132,6 +132,11 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical ...@@ -132,6 +132,11 @@ The format as returned by :ref:`VIDIOC_TRY_FMT <VIDIOC_G_FMT>` must be identical
- ``sdr`` - ``sdr``
- Definition of a data format, see :ref:`pixfmt`, used by SDR - Definition of a data format, see :ref:`pixfmt`, used by SDR
capture and output devices. capture and output devices.
* -
- struct :c:type:`v4l2_meta_format`
- ``meta``
- Definition of a metadata format, see :ref:`meta-formats`, used by
metadata capture devices.
* - * -
- __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