^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _V4L2-PIX-FMT-Y10P:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ******************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) V4L2_PIX_FMT_Y10P ('Y10P')
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) ******************************
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Grey-scale image as a MIPI RAW10 packed array
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) This is a packed grey-scale image format with a depth of 10 bits per
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) pixel. Every four consecutive pixels are packed into 5 bytes. Each of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) the first 4 bytes contain the 8 high order bits of the pixels, and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) the 5th byte contains the 2 least significants bits of each pixel,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) in the same order.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) **Bit-packed representation.**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) .. tabularcolumns:: |p{1.2cm}||p{1.2cm}||p{1.2cm}||p{1.2cm}|p{3.2cm}|p{3.2cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) :header-rows: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) :widths: 8 8 8 8 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) * - Y'\ :sub:`00[9:2]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) - Y'\ :sub:`01[9:2]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) - Y'\ :sub:`02[9:2]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) - Y'\ :sub:`03[9:2]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) - Y'\ :sub:`03[1:0]`\ (bits 7--6) Y'\ :sub:`02[1:0]`\ (bits 5--4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) Y'\ :sub:`01[1:0]`\ (bits 3--2) Y'\ :sub:`00[1:0]`\ (bits 1--0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) \normalsize