Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-z16.rst
1 .. Permission is granted to copy, distribute and/or modify this
2 .. document under the terms of the GNU Free Documentation License,
3 .. Version 1.1 or any later version published by the Free Software
4 .. Foundation, with no Invariant Sections, no Front-Cover Texts
5 .. and no Back-Cover Texts. A copy of the license is included at
6 .. Documentation/media/uapi/fdl-appendix.rst.
7 ..
8 .. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10 .. _V4L2-PIX-FMT-Z16:
11
12 *************************
13 V4L2_PIX_FMT_Z16 ('Z16 ')
14 *************************
15
16
17 16-bit depth data with distance values at each pixel
18
19
20 Description
21 ===========
22
23 This is a 16-bit format, representing depth data. Each pixel is a
24 distance to the respective point in the image coordinates. Distance unit
25 can vary and has to be negotiated with the device separately. Each pixel
26 is stored in a 16-bit word in the little endian byte order.
27
28 **Byte Order.**
29 Each cell is one byte.
30
31
32
33
34 .. flat-table::
35     :header-rows:  0
36     :stub-columns: 0
37
38     * - start + 0:
39       - Z\ :sub:`00low`
40       - Z\ :sub:`00high`
41       - Z\ :sub:`01low`
42       - Z\ :sub:`01high`
43       - Z\ :sub:`02low`
44       - Z\ :sub:`02high`
45       - Z\ :sub:`03low`
46       - Z\ :sub:`03high`
47     * - start + 8:
48       - Z\ :sub:`10low`
49       - Z\ :sub:`10high`
50       - Z\ :sub:`11low`
51       - Z\ :sub:`11high`
52       - Z\ :sub:`12low`
53       - Z\ :sub:`12high`
54       - Z\ :sub:`13low`
55       - Z\ :sub:`13high`
56     * - start + 16:
57       - Z\ :sub:`20low`
58       - Z\ :sub:`20high`
59       - Z\ :sub:`21low`
60       - Z\ :sub:`21high`
61       - Z\ :sub:`22low`
62       - Z\ :sub:`22high`
63       - Z\ :sub:`23low`
64       - Z\ :sub:`23high`
65     * - start + 24:
66       - Z\ :sub:`30low`
67       - Z\ :sub:`30high`
68       - Z\ :sub:`31low`
69       - Z\ :sub:`31high`
70       - Z\ :sub:`32low`
71       - Z\ :sub:`32high`
72       - Z\ :sub:`33low`
73       - Z\ :sub:`33high`