^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-INZI:
^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_INZI ('INZI')
^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) Infrared 10-bit linked with Depth 16-bit images
^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) Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Infrared image followed by Depth data. The pixel definition is 32-bpp,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) with the Depth and Infrared Data split into separate continuous planes of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) identical dimensions.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) The first plane - Infrared data - is stored according to
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) :ref:`V4L2_PIX_FMT_Y10 <V4L2-PIX-FMT-Y10>` greyscale format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) Each pixel is 16-bit cell, with actual data stored in the 10 LSBs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) with values in range 0 to 1023.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) The six remaining MSBs are padded with zeros.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) The second plane provides 16-bit per-pixel Depth data arranged in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) :ref:`V4L2-PIX-FMT-Z16 <V4L2-PIX-FMT-Z16>` format.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) **Frame Structure.**
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) Each cell is a 16-bit word with more significant data stored at higher
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) memory address (byte order is little-endian).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) \small
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) .. tabularcolumns:: |p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) .. flat-table::
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) :header-rows: 0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) :stub-columns: 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) :widths: 1 1 1 1 1 1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) * - Ir\ :sub:`0,0`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) - Ir\ :sub:`0,1`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) - Ir\ :sub:`0,2`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) * - :cspan:`5` ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) * - :cspan:`5` Infrared Data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) * - :cspan:`5` ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) * - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) - Ir\ :sub:`n-1,n-3`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) - Ir\ :sub:`n-1,n-2`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) - Ir\ :sub:`n-1,n-1`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) * - Depth\ :sub:`0,0`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) - Depth\ :sub:`0,1`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) - Depth\ :sub:`0,2`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) * - :cspan:`5` ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) * - :cspan:`5` Depth Data
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) * - :cspan:`5` ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) * - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) - ...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) - Depth\ :sub:`n-1,n-3`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) - Depth\ :sub:`n-1,n-2`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) - Depth\ :sub:`n-1,n-1`
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) .. raw:: latex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) \normalsize