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