brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · 11dab4a Raw
39 lines · plain
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later2 3.. _pixfmt:4 5#############6Image Formats7#############8The V4L2 API was primarily designed for devices exchanging image data9with applications. The struct :c:type:`v4l2_pix_format` and10struct :c:type:`v4l2_pix_format_mplane` structures define the11format and layout of an image in memory. The former is used with the12single-planar API, while the latter is used with the multi-planar13version (see :ref:`planar-apis`). Image formats are negotiated with14the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. (The explanations here15focus on video capturing and output, for overlay frame buffer formats16see also :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`.)17 18 19.. toctree::20    :maxdepth: 121 22    pixfmt-v4l223    pixfmt-v4l2-mplane24    pixfmt-intro25    pixfmt-indexed26    pixfmt-rgb27    pixfmt-bayer28    yuv-formats29    hsv-formats30    depth-formats31    pixfmt-compressed32    sdr-formats33    tch-formats34    meta-formats35    pixfmt-reserved36    colorspaces37    colorspaces-defs38    colorspaces-details39