Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
33 lines
1008 B
ReStructuredText
33 lines
1008 B
ReStructuredText
.. -*- coding: utf-8; mode: rst -*-
|
|
.. c:namespace:: V4L
|
|
|
|
.. _V4L2-PIX-FMT-CNF4:
|
|
|
|
******************************
|
|
V4L2_PIX_FMT_CNF4 ('CNF4')
|
|
******************************
|
|
|
|
Depth sensor confidence information as a 4 bits per pixel packed array
|
|
|
|
Description
|
|
===========
|
|
|
|
Proprietary format used by Intel RealSense Depth cameras containing depth
|
|
confidence information in range 0-15 with 0 indicating that the sensor was
|
|
unable to resolve any signal and 15 indicating maximum level of confidence for
|
|
the specific sensor (actual error margins might change from sensor to sensor).
|
|
|
|
Every two consecutive pixels are packed into a single byte.
|
|
Bits 0-3 of byte n refer to confidence value of depth pixel 2*n,
|
|
bits 4-7 to confidence value of depth pixel 2*n+1.
|
|
|
|
**Bit-packed representation.**
|
|
|
|
.. flat-table::
|
|
:header-rows: 0
|
|
:stub-columns: 0
|
|
:widths: 64 64
|
|
|
|
* - Y'\ :sub:`01[3:0]`\ (bits 7--4) Y'\ :sub:`00[3:0]`\ (bits 3--0)
|
|
- Y'\ :sub:`03[3:0]`\ (bits 7--4) Y'\ :sub:`02[3:0]`\ (bits 3--0)
|