- ``bytesperline``
- Distance in bytes between the leftmost pixels in two adjacent
- lines. See struct :ref:`v4l2_pix_format <v4l2-pix-format>`.
+ lines. See struct :ref:`v4l2_pix_format <v4l2-pix-format>`.
- .. row 3
- ``reserved[6]``
- Reserved for future extensions. Should be zeroed by drivers and
- applications.
+ applications.
- ``width``
- Image width in pixels. See struct
- :ref:`v4l2_pix_format <v4l2-pix-format>`.
+ :ref:`v4l2_pix_format <v4l2-pix-format>`.
- .. row 2
- ``height``
- Image height in pixels. See struct
- :ref:`v4l2_pix_format <v4l2-pix-format>`.
+ :ref:`v4l2_pix_format <v4l2-pix-format>`.
- .. row 3
- ``pixelformat``
- The pixel format. Both single- and multi-planar four character
- codes can be used.
+ codes can be used.
- .. row 4
- ``plane_fmt[VIDEO_MAX_PLANES]``
- An array of structures describing format of each plane this pixel
- format consists of. The number of valid entries in this array has
- to be put in the ``num_planes`` field.
+ format consists of. The number of valid entries in this array has
+ to be put in the ``num_planes`` field.
- .. row 7
- ``num_planes``
- Number of planes (i.e. separate memory buffers) for this format
- and the number of valid entries in the ``plane_fmt`` array.
+ and the number of valid entries in the ``plane_fmt`` array.
- .. row 8
- ``ycbcr_enc``
- 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`.
+ the driver for capture streams and by the application for output
+ streams, see :ref:`colorspaces`.
- .. row 10
- ``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`.
+ the driver for capture streams and by the application for output
+ streams, see :ref:`colorspaces`.
- .. row 11
- ``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`.
+ the driver for capture streams and by the application for output
+ streams, see :ref:`colorspaces`.
- .. row 12
- ``reserved[7]``
- Reserved for future extensions. Should be zeroed by drivers and
- applications.
+ applications.