1 .. -*- coding: utf-8; mode: rst -*- 1 .. -*- coding: utf-8; mode: rst -*- 2 2 3 .. _V4L2-PIX-FMT-CNF4: 3 .. _V4L2-PIX-FMT-CNF4: 4 4 5 ****************************** 5 ****************************** 6 V4L2_PIX_FMT_CNF4 ('CNF4') 6 V4L2_PIX_FMT_CNF4 ('CNF4') 7 ****************************** 7 ****************************** 8 8 9 Depth sensor confidence information as a 4 bit 9 Depth sensor confidence information as a 4 bits per pixel packed array 10 10 11 Description 11 Description 12 =========== 12 =========== 13 13 14 Proprietary format used by Intel RealSense Dep 14 Proprietary format used by Intel RealSense Depth cameras containing depth 15 confidence information in range 0-15 with 0 in 15 confidence information in range 0-15 with 0 indicating that the sensor was 16 unable to resolve any signal and 15 indicating 16 unable to resolve any signal and 15 indicating maximum level of confidence for 17 the specific sensor (actual error margins migh 17 the specific sensor (actual error margins might change from sensor to sensor). 18 18 19 Every two consecutive pixels are packed into a 19 Every two consecutive pixels are packed into a single byte. 20 Bits 0-3 of byte n refer to confidence value o 20 Bits 0-3 of byte n refer to confidence value of depth pixel 2*n, 21 bits 4-7 to confidence value of depth pixel 2* 21 bits 4-7 to confidence value of depth pixel 2*n+1. 22 22 23 **Bit-packed representation.** 23 **Bit-packed representation.** 24 24 25 .. flat-table:: 25 .. flat-table:: 26 :header-rows: 0 26 :header-rows: 0 27 :stub-columns: 0 27 :stub-columns: 0 28 :widths: 64 64 28 :widths: 64 64 29 29 30 * - Y'\ :sub:`01[3:0]`\ (bits 7--4) Y'\ :s 30 * - Y'\ :sub:`01[3:0]`\ (bits 7--4) Y'\ :sub:`00[3:0]`\ (bits 3--0) 31 - Y'\ :sub:`03[3:0]`\ (bits 7--4) Y'\ :s 31 - Y'\ :sub:`03[3:0]`\ (bits 7--4) Y'\ :sub:`02[3:0]`\ (bits 3--0)
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.