xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-y16i.rst (revision fcc79e1714e8c2b8e216dc3149812edd37884eef)
1.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
2
3.. _V4L2-PIX-FMT-Y16I:
4
5**************************
6V4L2_PIX_FMT_Y16I ('Y16I')
7**************************
8
9Interleaved grey-scale image, e.g. from a stereo-pair
10
11
12Description
13===========
14
15This is a grey-scale image with a depth of 16 bits per pixel, but with pixels
16from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word
17in the little-endian order. The first pixel is from the left source.
18
19**Pixel unpacked representation.**
20Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel.
21
22.. flat-table::
23    :header-rows:  0
24    :stub-columns: 0
25
26    * - Y'\ :sub:`0L[7:0]`
27      - Y'\ :sub:`0L[15:8]`
28      - Y'\ :sub:`0R[7:0]`
29      - Y'\ :sub:`0R[15:8]`
30
31**Byte Order.**
32Each cell is one byte.
33
34.. flat-table::
35    :header-rows:  0
36    :stub-columns: 0
37
38    * - start + 0:
39      - Y'\ :sub:`00Llow`
40      - Y'\ :sub:`00Lhigh`
41      - Y'\ :sub:`00Rlow`
42      - Y'\ :sub:`00Rhigh`
43      - Y'\ :sub:`01Llow`
44      - Y'\ :sub:`01Lhigh`
45      - Y'\ :sub:`01Rlow`
46      - Y'\ :sub:`01Rhigh`
47    * - start + 8:
48      - Y'\ :sub:`10Llow`
49      - Y'\ :sub:`10Lhigh`
50      - Y'\ :sub:`10Rlow`
51      - Y'\ :sub:`10Rhigh`
52      - Y'\ :sub:`11Llow`
53      - Y'\ :sub:`11Lhigh`
54      - Y'\ :sub:`11Rlow`
55      - Y'\ :sub:`11Rhigh`
56    * - start + 16:
57      - Y'\ :sub:`20Llow`
58      - Y'\ :sub:`20Lhigh`
59      - Y'\ :sub:`20Rlow`
60      - Y'\ :sub:`20Rhigh`
61      - Y'\ :sub:`21Llow`
62      - Y'\ :sub:`21Lhigh`
63      - Y'\ :sub:`21Rlow`
64      - Y'\ :sub:`21Rhigh`
65    * - start + 24:
66      - Y'\ :sub:`30Llow`
67      - Y'\ :sub:`30Lhigh`
68      - Y'\ :sub:`30Rlow`
69      - Y'\ :sub:`30Rhigh`
70      - Y'\ :sub:`31Llow`
71      - Y'\ :sub:`31Lhigh`
72      - Y'\ :sub:`31Rlow`
73      - Y'\ :sub:`31Rhigh`
74