Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00af4635 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

media: subdev-formats.rst: fix incorrect types



The ycbcr_enc, quantization and xfer_func fields are __u16 and not enums.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
parent 8c4fe248
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -37,19 +37,22 @@ Media Bus Formats
      - Image colorspace, from enum
	:c:type:`v4l2_colorspace`. See
	:ref:`colorspaces` for details.
    * - enum :c:type:`v4l2_ycbcr_encoding`
    * - __u16
      - ``ycbcr_enc``
      - This information supplements the ``colorspace`` and must be set by
      - Y'CbCr encoding, from enum :c:type:`v4l2_ycbcr_encoding`.
        This information supplements the ``colorspace`` and must be set by
	the driver for capture streams and by the application for output
	streams, see :ref:`colorspaces`.
    * - enum :c:type:`v4l2_quantization`
    * - __u16
      - ``quantization``
      - This information supplements the ``colorspace`` and must be set by
      - Quantization range, from enum :c:type:`v4l2_quantization`.
        This information supplements the ``colorspace`` and must be set by
	the driver for capture streams and by the application for output
	streams, see :ref:`colorspaces`.
    * - enum :c:type:`v4l2_xfer_func`
    * - __u16
      - ``xfer_func``
      - This information supplements the ``colorspace`` and must be set by
      - Transfer function, from enum :c:type:`v4l2_xfer_func`.
        This information supplements the ``colorspace`` and must be set by
	the driver for capture streams and by the application for output
	streams, see :ref:`colorspaces`.
    * - __u16