xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-z16.rst (revision 778b8ebe5192e7a7f00563a7456517dfa63e1d90)
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2.. c:namespace:: V4L
3
4.. _V4L2-PIX-FMT-Z16:
5
6*************************
7V4L2_PIX_FMT_Z16 ('Z16 ')
8*************************
9
10
1116-bit depth data with distance values at each pixel
12
13
14Description
15===========
16
17This is a 16-bit format, representing depth data. Each pixel is a
18distance to the respective point in the image coordinates. Distance unit
19can vary and has to be negotiated with the device separately. Each pixel
20is stored in a 16-bit word in the little endian byte order.
21
22**Byte Order.**
23Each cell is one byte.
24
25
26
27
28.. flat-table::
29    :header-rows:  0
30    :stub-columns: 0
31
32    * - start + 0:
33      - Z\ :sub:`00low`
34      - Z\ :sub:`00high`
35      - Z\ :sub:`01low`
36      - Z\ :sub:`01high`
37      - Z\ :sub:`02low`
38      - Z\ :sub:`02high`
39      - Z\ :sub:`03low`
40      - Z\ :sub:`03high`
41    * - start + 8:
42      - Z\ :sub:`10low`
43      - Z\ :sub:`10high`
44      - Z\ :sub:`11low`
45      - Z\ :sub:`11high`
46      - Z\ :sub:`12low`
47      - Z\ :sub:`12high`
48      - Z\ :sub:`13low`
49      - Z\ :sub:`13high`
50    * - start + 16:
51      - Z\ :sub:`20low`
52      - Z\ :sub:`20high`
53      - Z\ :sub:`21low`
54      - Z\ :sub:`21high`
55      - Z\ :sub:`22low`
56      - Z\ :sub:`22high`
57      - Z\ :sub:`23low`
58      - Z\ :sub:`23high`
59    * - start + 24:
60      - Z\ :sub:`30low`
61      - Z\ :sub:`30high`
62      - Z\ :sub:`31low`
63      - Z\ :sub:`31high`
64      - Z\ :sub:`32low`
65      - Z\ :sub:`32high`
66      - Z\ :sub:`33low`
67      - Z\ :sub:`33high`
68