1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
19 Similar to the packed RGB formats these formats store the Y, Cb and Cr
20 component of each pixel in one 16 or 32 bit word.
27 \setlength{\tabcolsep}{2pt}
29 .. _packed-yuv-formats:
31 .. tabularcolumns:: |p{2.5cm}|p{0.69cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|p{0.31cm}|
33 .. flat-table:: Packed YUV Image Formats
40 - :cspan:`7` Byte 0 in memory
86 * .. _V4L2-PIX-FMT-YUV444:
88 - ``V4L2_PIX_FMT_YUV444``
111 * .. _V4L2-PIX-FMT-YUV555:
113 - ``V4L2_PIX_FMT_YUV555``
135 * .. _V4L2-PIX-FMT-YUV565:
137 - ``V4L2_PIX_FMT_YUV565``
160 * .. _V4L2-PIX-FMT-YUV32:
162 - ``V4L2_PIX_FMT_YUV32``
201 * .. _V4L2-PIX-FMT-AYUV32:
203 - ``V4L2_PIX_FMT_AYUV32``
242 * .. _V4L2-PIX-FMT-XYUV32:
244 - ``V4L2_PIX_FMT_XYUV32``
283 * .. _V4L2-PIX-FMT-VUYA32:
285 - ``V4L2_PIX_FMT_VUYA32``
324 * .. _V4L2-PIX-FMT-VUYX32:
326 - ``V4L2_PIX_FMT_VUYX32``
371 #) Bit 7 is the most significant bit;
373 #) The value of a = alpha bits is undefined when reading from the driver,
374 ignored when writing to the driver, except when alpha blending has
375 been negotiated for a :ref:`Video Overlay <overlay>` or
376 :ref:`Video Output Overlay <osd>` for the formats Y444, YUV555 and
377 YUV4. However, for formats AYUV32 and VUYA32, the alpha component is
378 expected to contain a meaningful value that can be used by drivers
379 and applications. And, the formats XYUV32 and VUYX32 contain undefined
380 alpha values that must be ignored by all applications and drivers.