^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-Y10BPACK:
^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_Y10BPACK ('Y10B')
^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 bit-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. Pixels are stored in a bit-packed array of 10bit bits per pixel,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) with no padding between them and with the most significant bits coming
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) first from the left.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) **Bit-packed representation.**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) pixels cross the byte boundary and have a ratio of 5 bytes for each 4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) pixels.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) :header-rows: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) :stub-columns: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) * - Y'\ :sub:`00[9:2]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) - Y'\ :sub:`00[1:0]`\ Y'\ :sub:`01[9:4]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - Y'\ :sub:`01[3:0]`\ Y'\ :sub:`02[9:6]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) - Y'\ :sub:`02[5:0]`\ Y'\ :sub:`03[9:8]`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - Y'\ :sub:`03[7:0]`