xref: /linux/Documentation/userspace-api/media/v4l/pixfmt-y8i.rst (revision cbecf716ca618fd44feda6bd9a64a8179d031fc5)
1*059b1c5bSMauro Carvalho Chehab.. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
254f38fcaSMauro Carvalho Chehab
354f38fcaSMauro Carvalho Chehab.. _V4L2-PIX-FMT-Y8I:
454f38fcaSMauro Carvalho Chehab
554f38fcaSMauro Carvalho Chehab*************************
654f38fcaSMauro Carvalho ChehabV4L2_PIX_FMT_Y8I ('Y8I ')
754f38fcaSMauro Carvalho Chehab*************************
854f38fcaSMauro Carvalho Chehab
954f38fcaSMauro Carvalho Chehab
1054f38fcaSMauro Carvalho ChehabInterleaved grey-scale image, e.g. from a stereo-pair
1154f38fcaSMauro Carvalho Chehab
1254f38fcaSMauro Carvalho Chehab
1354f38fcaSMauro Carvalho ChehabDescription
1454f38fcaSMauro Carvalho Chehab===========
1554f38fcaSMauro Carvalho Chehab
1654f38fcaSMauro Carvalho ChehabThis is a grey-scale image with a depth of 8 bits per pixel, but with
1754f38fcaSMauro Carvalho Chehabpixels from 2 sources interleaved. Each pixel is stored in a 16-bit
1854f38fcaSMauro Carvalho Chehabword. E.g. the R200 RealSense camera stores pixel from the left sensor
1954f38fcaSMauro Carvalho Chehabin lower and from the right sensor in the higher 8 bits.
2054f38fcaSMauro Carvalho Chehab
2154f38fcaSMauro Carvalho Chehab**Byte Order.**
2254f38fcaSMauro Carvalho ChehabEach cell is one byte.
2354f38fcaSMauro Carvalho Chehab
2454f38fcaSMauro Carvalho Chehab
2554f38fcaSMauro Carvalho Chehab
2654f38fcaSMauro Carvalho Chehab
2754f38fcaSMauro Carvalho Chehab.. flat-table::
2854f38fcaSMauro Carvalho Chehab    :header-rows:  0
2954f38fcaSMauro Carvalho Chehab    :stub-columns: 0
3054f38fcaSMauro Carvalho Chehab
3154f38fcaSMauro Carvalho Chehab    * - start + 0:
3254f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`00left`
3354f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`00right`
3454f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`01left`
3554f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`01right`
3654f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`02left`
3754f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`02right`
3854f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`03left`
3954f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`03right`
4054f38fcaSMauro Carvalho Chehab    * - start + 8:
4154f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`10left`
4254f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`10right`
4354f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`11left`
4454f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`11right`
4554f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`12left`
4654f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`12right`
4754f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`13left`
4854f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`13right`
4954f38fcaSMauro Carvalho Chehab    * - start + 16:
5054f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`20left`
5154f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`20right`
5254f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`21left`
5354f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`21right`
5454f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`22left`
5554f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`22right`
5654f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`23left`
5754f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`23right`
5854f38fcaSMauro Carvalho Chehab    * - start + 24:
5954f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`30left`
6054f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`30right`
6154f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`31left`
6254f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`31right`
6354f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`32left`
6454f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`32right`
6554f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`33left`
6654f38fcaSMauro Carvalho Chehab      - Y'\ :sub:`33right`
67