Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git...
[sfrench/cifs-2.6.git] / Documentation / media / uapi / v4l / pixfmt-sbggr16.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-SBGGR16:
4
5 *****************************
6 V4L2_PIX_FMT_SBGGR16 ('BYR2')
7 *****************************
8
9 *man V4L2_PIX_FMT_SBGGR16(2)*
10
11 Bayer RGB format
12
13
14 Description
15 ===========
16
17 This format is similar to
18 :ref:`V4L2_PIX_FMT_SBGGR8 <V4L2-PIX-FMT-SBGGR8>`, except each pixel
19 has a depth of 16 bits. The least significant byte is stored at lower
20 memory addresses (little-endian).
21
22 ..note:: The actual sampling precision may be lower than 16 bits,
23     for example 10 bits per pixel with values in tange 0 to 1023.
24
25 **Byte Order.**
26 Each cell is one byte.
27
28
29
30 .. flat-table::
31     :header-rows:  0
32     :stub-columns: 0
33     :widths:       2 1 1 1 1 1 1 1 1
34
35
36     -  .. row 1
37
38        -  start + 0:
39
40        -  B\ :sub:`00low`
41
42        -  B\ :sub:`00high`
43
44        -  G\ :sub:`01low`
45
46        -  G\ :sub:`01high`
47
48        -  B\ :sub:`02low`
49
50        -  B\ :sub:`02high`
51
52        -  G\ :sub:`03low`
53
54        -  G\ :sub:`03high`
55
56     -  .. row 2
57
58        -  start + 8:
59
60        -  G\ :sub:`10low`
61
62        -  G\ :sub:`10high`
63
64        -  R\ :sub:`11low`
65
66        -  R\ :sub:`11high`
67
68        -  G\ :sub:`12low`
69
70        -  G\ :sub:`12high`
71
72        -  R\ :sub:`13low`
73
74        -  R\ :sub:`13high`
75
76     -  .. row 3
77
78        -  start + 16:
79
80        -  B\ :sub:`20low`
81
82        -  B\ :sub:`20high`
83
84        -  G\ :sub:`21low`
85
86        -  G\ :sub:`21high`
87
88        -  B\ :sub:`22low`
89
90        -  B\ :sub:`22high`
91
92        -  G\ :sub:`23low`
93
94        -  G\ :sub:`23high`
95
96     -  .. row 4
97
98        -  start + 24:
99
100        -  G\ :sub:`30low`
101
102        -  G\ :sub:`30high`
103
104        -  R\ :sub:`31low`
105
106        -  R\ :sub:`31high`
107
108        -  G\ :sub:`32low`
109
110        -  G\ :sub:`32high`
111
112        -  R\ :sub:`33low`
113
114        -  R\ :sub:`33high`