1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
9 This family of formats only store the luma component of a Y'CbCr image. They
10 are often referred to as greyscale formats.
14 - In all the tables that follow, bit 7 is the most significant bit in a byte.
15 - Formats are described with the minimum number of pixels needed to create a
16 byte-aligned repeating pattern. `...` indicates repetition of the pattern.
17 - Y'\ :sub:`x`\ [9:2] denotes bits 9 to 2 of the Y' value for pixel at colum
19 - `0` denotes padding bits set to 0.
22 .. flat-table:: Luma-Only Image Formats
34 * .. _V4L2-PIX-FMT-GREY:
36 - ``V4L2_PIX_FMT_GREY``
45 * .. _V4L2-PIX-FMT-Y10:
47 - ``V4L2_PIX_FMT_Y10``
51 - `000000` Y'\ :sub:`0`\ [9:8]
56 * .. _V4L2-PIX-FMT-Y10BPACK:
58 - ``V4L2_PIX_FMT_Y10BPACK``
62 - Y'\ :sub:`0`\ [1:0] Y'\ :sub:`1`\ [9:4]
63 - Y'\ :sub:`1`\ [3:0] Y'\ :sub:`2`\ [9:6]
64 - Y'\ :sub:`2`\ [5:0] Y'\ :sub:`3`\ [9:8]
67 * .. _V4L2-PIX-FMT-Y10P:
69 - ``V4L2_PIX_FMT_Y10P``
76 - Y'\ :sub:`3`\ [1:0] Y'\ :sub:`2`\ [1:0] Y'\ :sub:`1`\ [1:0] Y'\ :sub:`0`\ [1:0]
78 * .. _V4L2-PIX-FMT-Y12:
80 - ``V4L2_PIX_FMT_Y12``
84 - `0000` Y'\ :sub:`0`\ [11:8]
89 * .. _V4L2-PIX-FMT-Y14:
91 - ``V4L2_PIX_FMT_Y14``
95 - `00` Y'\ :sub:`0`\ [13:8]
100 * .. _V4L2-PIX-FMT-Y16:
102 - ``V4L2_PIX_FMT_Y16``
105 - Y'\ :sub:`0`\ [7:0]
106 - Y'\ :sub:`0`\ [15:8]
111 * .. _V4L2-PIX-FMT-Y16-BE:
113 - ``V4L2_PIX_FMT_Y16_BE``
114 - 'Y16 ' | (1U << 31)
116 - Y'\ :sub:`0`\ [15:8]
117 - Y'\ :sub:`0`\ [7:0]
124 For the Y16 and Y16_BE formats, the actual sampling precision may be lower
125 than 16 bits. For example, 10 bits per pixel uses values in the range 0 to