Linux 4.8.3
[linux/fpc-iii.git] / Documentation / media / uapi / v4l / pixfmt-y12.rst
blob7729bcbf3350e47176eda6e8dc5de91bf998e8e3
1 .. -*- coding: utf-8; mode: rst -*-
3 .. _V4L2-PIX-FMT-Y12:
5 *************************
6 V4L2_PIX_FMT_Y12 ('Y12 ')
7 *************************
9 *man V4L2_PIX_FMT_Y12(2)*
11 Grey-scale image
14 Description
15 ===========
17 This is a grey-scale image with a depth of 12 bits per pixel. Pixels are
18 stored in 16-bit words with unused high bits padded with 0. The least
19 significant byte is stored at lower memory addresses (little-endian).
21 **Byte Order.**
22 Each cell is one byte.
26 .. flat-table::
27     :header-rows:  0
28     :stub-columns: 0
29     :widths:       2 1 1 1 1 1 1 1 1
32     -  .. row 1
34        -  start + 0:
36        -  Y'\ :sub:`00low`
38        -  Y'\ :sub:`00high`
40        -  Y'\ :sub:`01low`
42        -  Y'\ :sub:`01high`
44        -  Y'\ :sub:`02low`
46        -  Y'\ :sub:`02high`
48        -  Y'\ :sub:`03low`
50        -  Y'\ :sub:`03high`
52     -  .. row 2
54        -  start + 8:
56        -  Y'\ :sub:`10low`
58        -  Y'\ :sub:`10high`
60        -  Y'\ :sub:`11low`
62        -  Y'\ :sub:`11high`
64        -  Y'\ :sub:`12low`
66        -  Y'\ :sub:`12high`
68        -  Y'\ :sub:`13low`
70        -  Y'\ :sub:`13high`
72     -  .. row 3
74        -  start + 16:
76        -  Y'\ :sub:`20low`
78        -  Y'\ :sub:`20high`
80        -  Y'\ :sub:`21low`
82        -  Y'\ :sub:`21high`
84        -  Y'\ :sub:`22low`
86        -  Y'\ :sub:`22high`
88        -  Y'\ :sub:`23low`
90        -  Y'\ :sub:`23high`
92     -  .. row 4
94        -  start + 24:
96        -  Y'\ :sub:`30low`
98        -  Y'\ :sub:`30high`
100        -  Y'\ :sub:`31low`
102        -  Y'\ :sub:`31high`
104        -  Y'\ :sub:`32low`
106        -  Y'\ :sub:`32high`
108        -  Y'\ :sub:`33low`
110        -  Y'\ :sub:`33high`