summaryrefslogtreecommitdiff
path: root/Documentation/userspace-api/media/v4l/pixfmt-y16i.rst
blob: 74ba9e910a38f7d2447623bea021c661d7c39906 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later

.. _V4L2-PIX-FMT-Y16I:

**************************
V4L2_PIX_FMT_Y16I ('Y16I')
**************************

Interleaved grey-scale image, e.g. from a stereo-pair


Description
===========

This is a grey-scale image with a depth of 16 bits per pixel, but with pixels
from 2 sources interleaved and unpacked. Each pixel is stored in a 16-bit word
in the little-endian order. The first pixel is from the left source.

**Pixel unpacked representation.**
Left/Right pixels 16-bit unpacked - 16-bit for each interleaved pixel.

.. flat-table::
    :header-rows:  0
    :stub-columns: 0

    * - Y'\ :sub:`0L[7:0]`
      - Y'\ :sub:`0L[15:8]`
      - Y'\ :sub:`0R[7:0]`
      - Y'\ :sub:`0R[15:8]`

**Byte Order.**
Each cell is one byte.

.. flat-table::
    :header-rows:  0
    :stub-columns: 0

    * - start + 0:
      - Y'\ :sub:`00Llow`
      - Y'\ :sub:`00Lhigh`
      - Y'\ :sub:`00Rlow`
      - Y'\ :sub:`00Rhigh`
      - Y'\ :sub:`01Llow`
      - Y'\ :sub:`01Lhigh`
      - Y'\ :sub:`01Rlow`
      - Y'\ :sub:`01Rhigh`
    * - start + 8:
      - Y'\ :sub:`10Llow`
      - Y'\ :sub:`10Lhigh`
      - Y'\ :sub:`10Rlow`
      - Y'\ :sub:`10Rhigh`
      - Y'\ :sub:`11Llow`
      - Y'\ :sub:`11Lhigh`
      - Y'\ :sub:`11Rlow`
      - Y'\ :sub:`11Rhigh`
    * - start + 16:
      - Y'\ :sub:`20Llow`
      - Y'\ :sub:`20Lhigh`
      - Y'\ :sub:`20Rlow`
      - Y'\ :sub:`20Rhigh`
      - Y'\ :sub:`21Llow`
      - Y'\ :sub:`21Lhigh`
      - Y'\ :sub:`21Rlow`
      - Y'\ :sub:`21Rhigh`
    * - start + 24:
      - Y'\ :sub:`30Llow`
      - Y'\ :sub:`30Lhigh`
      - Y'\ :sub:`30Rlow`
      - Y'\ :sub:`30Rhigh`
      - Y'\ :sub:`31Llow`
      - Y'\ :sub:`31Lhigh`
      - Y'\ :sub:`31Rlow`
      - Y'\ :sub:`31Rhigh`