xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-y8i.rst (revision f77d26a9fc525286bcef3d4f98b52e17482cf49c)
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/userspace-api/media/fdl-appendix.rst.
7..
8.. TODO: replace it to GFDL-1.1-or-later WITH no-invariant-sections
9
10.. _V4L2-PIX-FMT-Y8I:
11
12*************************
13V4L2_PIX_FMT_Y8I ('Y8I ')
14*************************
15
16
17Interleaved grey-scale image, e.g. from a stereo-pair
18
19
20Description
21===========
22
23This is a grey-scale image with a depth of 8 bits per pixel, but with
24pixels from 2 sources interleaved. Each pixel is stored in a 16-bit
25word. E.g. the R200 RealSense camera stores pixel from the left sensor
26in lower and from the right sensor in the higher 8 bits.
27
28**Byte Order.**
29Each cell is one byte.
30
31
32
33
34.. flat-table::
35    :header-rows:  0
36    :stub-columns: 0
37
38    * - start + 0:
39      - Y'\ :sub:`00left`
40      - Y'\ :sub:`00right`
41      - Y'\ :sub:`01left`
42      - Y'\ :sub:`01right`
43      - Y'\ :sub:`02left`
44      - Y'\ :sub:`02right`
45      - Y'\ :sub:`03left`
46      - Y'\ :sub:`03right`
47    * - start + 8:
48      - Y'\ :sub:`10left`
49      - Y'\ :sub:`10right`
50      - Y'\ :sub:`11left`
51      - Y'\ :sub:`11right`
52      - Y'\ :sub:`12left`
53      - Y'\ :sub:`12right`
54      - Y'\ :sub:`13left`
55      - Y'\ :sub:`13right`
56    * - start + 16:
57      - Y'\ :sub:`20left`
58      - Y'\ :sub:`20right`
59      - Y'\ :sub:`21left`
60      - Y'\ :sub:`21right`
61      - Y'\ :sub:`22left`
62      - Y'\ :sub:`22right`
63      - Y'\ :sub:`23left`
64      - Y'\ :sub:`23right`
65    * - start + 24:
66      - Y'\ :sub:`30left`
67      - Y'\ :sub:`30right`
68      - Y'\ :sub:`31left`
69      - Y'\ :sub:`31right`
70      - Y'\ :sub:`32left`
71      - Y'\ :sub:`32right`
72      - Y'\ :sub:`33left`
73      - Y'\ :sub:`33right`
74