File Index
Files and directories
Sign in
FILE

pixfmt-y16i.rst

File preview with syntax highlighting.

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