Back to home page

OSCL-LXR

 
 

    


0001 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
0002 
0003 .. _pixfmt:
0004 
0005 #############
0006 Image Formats
0007 #############
0008 The V4L2 API was primarily designed for devices exchanging image data
0009 with applications. The struct :c:type:`v4l2_pix_format` and
0010 struct :c:type:`v4l2_pix_format_mplane` structures define the
0011 format and layout of an image in memory. The former is used with the
0012 single-planar API, while the latter is used with the multi-planar
0013 version (see :ref:`planar-apis`). Image formats are negotiated with
0014 the :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` ioctl. (The explanations here
0015 focus on video capturing and output, for overlay frame buffer formats
0016 see also :ref:`VIDIOC_G_FBUF <VIDIOC_G_FBUF>`.)
0017 
0018 
0019 .. toctree::
0020     :maxdepth: 1
0021 
0022     pixfmt-v4l2
0023     pixfmt-v4l2-mplane
0024     pixfmt-intro
0025     pixfmt-indexed
0026     pixfmt-rgb
0027     pixfmt-bayer
0028     yuv-formats
0029     hsv-formats
0030     depth-formats
0031     pixfmt-compressed
0032     sdr-formats
0033     tch-formats
0034     meta-formats
0035     pixfmt-reserved
0036     colorspaces
0037     colorspaces-defs
0038     colorspaces-details