0001 .. -*- coding: utf-8; mode: rst -*-
0002
0003 .. _V4L2-PIX-FMT-CNF4:
0004
0005 ******************************
0006 V4L2_PIX_FMT_CNF4 ('CNF4')
0007 ******************************
0008
0009 Depth sensor confidence information as a 4 bits per pixel packed array
0010
0011 Description
0012 ===========
0013
0014 Proprietary format used by Intel RealSense Depth cameras containing depth
0015 confidence information in range 0-15 with 0 indicating that the sensor was
0016 unable to resolve any signal and 15 indicating maximum level of confidence for
0017 the specific sensor (actual error margins might change from sensor to sensor).
0018
0019 Every two consecutive pixels are packed into a single byte.
0020 Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
0021 bits 4-7 to confidence value of depth pixel 2*n+1.
0022
0023 **Bit-packed representation.**
0024
0025 .. flat-table::
0026 :header-rows: 0
0027 :stub-columns: 0
0028 :widths: 64 64
0029
0030 * - Y'\ :sub:`01[3:0]`\ (bits 7--4) Y'\ :sub:`00[3:0]`\ (bits 3--0)
0031 - Y'\ :sub:`03[3:0]`\ (bits 7--4) Y'\ :sub:`02[3:0]`\ (bits 3--0)