[media] doc-rst: 16-bit BGGR is always 16 bits
[cascardo/linux.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 Bayer RGB format
10
11
12 Description
13 ===========
14
15 This format is similar to
16 :ref:`V4L2_PIX_FMT_SBGGR8 <V4L2-PIX-FMT-SBGGR8>`, except each pixel
17 has a depth of 16 bits. The least significant byte is stored at lower
18 memory addresses (little-endian).
19
20 **Byte Order.**
21 Each cell is one byte.
22
23 .. flat-table::
24     :header-rows:  0
25     :stub-columns: 0
26
27     -  .. row 1
28
29        -  start + 0:
30
31        -  B\ :sub:`00low`
32
33        -  B\ :sub:`00high`
34
35        -  G\ :sub:`01low`
36
37        -  G\ :sub:`01high`
38
39        -  B\ :sub:`02low`
40
41        -  B\ :sub:`02high`
42
43        -  G\ :sub:`03low`
44
45        -  G\ :sub:`03high`
46
47     -  .. row 2
48
49        -  start + 8:
50
51        -  G\ :sub:`10low`
52
53        -  G\ :sub:`10high`
54
55        -  R\ :sub:`11low`
56
57        -  R\ :sub:`11high`
58
59        -  G\ :sub:`12low`
60
61        -  G\ :sub:`12high`
62
63        -  R\ :sub:`13low`
64
65        -  R\ :sub:`13high`
66
67     -  .. row 3
68
69        -  start + 16:
70
71        -  B\ :sub:`20low`
72
73        -  B\ :sub:`20high`
74
75        -  G\ :sub:`21low`
76
77        -  G\ :sub:`21high`
78
79        -  B\ :sub:`22low`
80
81        -  B\ :sub:`22high`
82
83        -  G\ :sub:`23low`
84
85        -  G\ :sub:`23high`
86
87     -  .. row 4
88
89        -  start + 24:
90
91        -  G\ :sub:`30low`
92
93        -  G\ :sub:`30high`
94
95        -  R\ :sub:`31low`
96
97        -  R\ :sub:`31high`
98
99        -  G\ :sub:`32low`
100
101        -  G\ :sub:`32high`
102
103        -  R\ :sub:`33low`
104
105        -  R\ :sub:`33high`