[media] docs-rst: add tabularcolumns to all tables
[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 *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::
23
24     The actual sampling precision may be lower than 16 bits,
25     for example 10 bits per pixel with values in tange 0 to 1023.
26
27 **Byte Order.**
28 Each cell is one byte.
29
30
31
32 .. tabularcolumns:: |p{3.5cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.8cm}|p{1.4cm}|
33
34 .. flat-table::
35     :header-rows:  0
36     :stub-columns: 0
37     :widths:       2 1 1 1 1 1 1 1 1
38
39
40     -  .. row 1
41
42        -  start + 0:
43
44        -  B\ :sub:`00low`
45
46        -  B\ :sub:`00high`
47
48        -  G\ :sub:`01low`
49
50        -  G\ :sub:`01high`
51
52        -  B\ :sub:`02low`
53
54        -  B\ :sub:`02high`
55
56        -  G\ :sub:`03low`
57
58        -  G\ :sub:`03high`
59
60     -  .. row 2
61
62        -  start + 8:
63
64        -  G\ :sub:`10low`
65
66        -  G\ :sub:`10high`
67
68        -  R\ :sub:`11low`
69
70        -  R\ :sub:`11high`
71
72        -  G\ :sub:`12low`
73
74        -  G\ :sub:`12high`
75
76        -  R\ :sub:`13low`
77
78        -  R\ :sub:`13high`
79
80     -  .. row 3
81
82        -  start + 16:
83
84        -  B\ :sub:`20low`
85
86        -  B\ :sub:`20high`
87
88        -  G\ :sub:`21low`
89
90        -  G\ :sub:`21high`
91
92        -  B\ :sub:`22low`
93
94        -  B\ :sub:`22high`
95
96        -  G\ :sub:`23low`
97
98        -  G\ :sub:`23high`
99
100     -  .. row 4
101
102        -  start + 24:
103
104        -  G\ :sub:`30low`
105
106        -  G\ :sub:`30high`
107
108        -  R\ :sub:`31low`
109
110        -  R\ :sub:`31high`
111
112        -  G\ :sub:`32low`
113
114        -  G\ :sub:`32high`
115
116        -  R\ :sub:`33low`
117
118        -  R\ :sub:`33high`