^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. -*- coding: utf-8; mode: rst -*-
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) .. _V4L2-PIX-FMT-CNF4:
^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_CNF4 ('CNF4')
^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) Depth sensor confidence information as a 4 bits per pixel packed array
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) Description
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) ===========
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Proprietary format used by Intel RealSense Depth cameras containing depth
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) confidence information in range 0-15 with 0 indicating that the sensor was
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) unable to resolve any signal and 15 indicating maximum level of confidence for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) the specific sensor (actual error margins might change from sensor to sensor).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Every two consecutive pixels are packed into a single byte.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) bits 4-7 to confidence value of depth pixel 2*n+1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) **Bit-packed representation.**
^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) :widths: 64 64
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) * - Y'\ :sub:`01[3:0]`\ (bits 7--4) Y'\ :sub:`00[3:0]`\ (bits 3--0)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) - Y'\ :sub:`03[3:0]`\ (bits 7--4) Y'\ :sub:`02[3:0]`\ (bits 3--0)