Merge branch 'docs-next' of git://git.lwn.net/linux into patchwork
[cascardo/linux.git] / Documentation / media / uapi / v4l / pixfmt-z16.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-Z16:
4
5 *************************
6 V4L2_PIX_FMT_Z16 ('Z16 ')
7 *************************
8
9
10 16-bit depth data with distance values at each pixel
11
12
13 Description
14 ===========
15
16 This is a 16-bit format, representing depth data. Each pixel is a
17 distance to the respective point in the image coordinates. Distance unit
18 can vary and has to be negotiated with the device separately. Each pixel
19 is stored in a 16-bit word in the little endian byte order.
20
21 **Byte Order.**
22 Each cell is one byte.
23
24
25
26
27 .. flat-table::
28     :header-rows:  0
29     :stub-columns: 0
30
31
32     -  .. row 1
33
34        -  start + 0:
35
36        -  Z\ :sub:`00low`
37
38        -  Z\ :sub:`00high`
39
40        -  Z\ :sub:`01low`
41
42        -  Z\ :sub:`01high`
43
44        -  Z\ :sub:`02low`
45
46        -  Z\ :sub:`02high`
47
48        -  Z\ :sub:`03low`
49
50        -  Z\ :sub:`03high`
51
52     -  .. row 2
53
54        -  start + 8:
55
56        -  Z\ :sub:`10low`
57
58        -  Z\ :sub:`10high`
59
60        -  Z\ :sub:`11low`
61
62        -  Z\ :sub:`11high`
63
64        -  Z\ :sub:`12low`
65
66        -  Z\ :sub:`12high`
67
68        -  Z\ :sub:`13low`
69
70        -  Z\ :sub:`13high`
71
72     -  .. row 3
73
74        -  start + 16:
75
76        -  Z\ :sub:`20low`
77
78        -  Z\ :sub:`20high`
79
80        -  Z\ :sub:`21low`
81
82        -  Z\ :sub:`21high`
83
84        -  Z\ :sub:`22low`
85
86        -  Z\ :sub:`22high`
87
88        -  Z\ :sub:`23low`
89
90        -  Z\ :sub:`23high`
91
92     -  .. row 4
93
94        -  start + 24:
95
96        -  Z\ :sub:`30low`
97
98        -  Z\ :sub:`30high`
99
100        -  Z\ :sub:`31low`
101
102        -  Z\ :sub:`31high`
103
104        -  Z\ :sub:`32low`
105
106        -  Z\ :sub:`32high`
107
108        -  Z\ :sub:`33low`
109
110        -  Z\ :sub:`33high`