[media] docs-rst: add tabularcolumns to all tables
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-srggb12.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-SRGGB12:
9aff73d2
MCC
4.. _v4l2-pix-fmt-sbggr12:
5.. _v4l2-pix-fmt-sgbrg12:
6.. _v4l2-pix-fmt-sgrbg12:
7
5377d91f
MH
8
9***************************************************************************************************************************
10V4L2_PIX_FMT_SRGGB12 ('RG12'), V4L2_PIX_FMT_SGRBG12 ('BA12'), V4L2_PIX_FMT_SGBRG12 ('GB12'), V4L2_PIX_FMT_SBGGR12 ('BG12'),
11***************************************************************************************************************************
12
13*man V4L2_PIX_FMT_SRGGB12(2)*
14
15V4L2_PIX_FMT_SGRBG12
16V4L2_PIX_FMT_SGBRG12
17V4L2_PIX_FMT_SBGGR12
1812-bit Bayer formats expanded to 16 bits
19
20
21Description
22===========
23
24These four pixel formats are raw sRGB / Bayer formats with 12 bits per
25colour. Each colour component is stored in a 16-bit word, with 4 unused
26high bits filled with zeros. Each n-pixel row contains n/2 green samples
27and n/2 blue or red samples, with alternating red and blue rows. Bytes
28are stored in memory in little endian order. They are conventionally
29described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
30of one of these formats
31
056d2ee6 32**Byte Order.**
5377d91f
MH
33Each cell is one byte, high 6 bits in high bytes are 0.
34
35
36
5bd4bb78
MCC
37.. 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}|
38
5377d91f
MH
39.. flat-table::
40 :header-rows: 0
41 :stub-columns: 0
42 :widths: 2 1 1 1 1 1 1 1 1
43
44
45 - .. row 1
46
47 - start + 0:
48
49 - B\ :sub:`00low`
50
51 - B\ :sub:`00high`
52
53 - G\ :sub:`01low`
54
55 - G\ :sub:`01high`
56
57 - B\ :sub:`02low`
58
59 - B\ :sub:`02high`
60
61 - G\ :sub:`03low`
62
63 - G\ :sub:`03high`
64
65 - .. row 2
66
67 - start + 8:
68
69 - G\ :sub:`10low`
70
71 - G\ :sub:`10high`
72
73 - R\ :sub:`11low`
74
75 - R\ :sub:`11high`
76
77 - G\ :sub:`12low`
78
79 - G\ :sub:`12high`
80
81 - R\ :sub:`13low`
82
83 - R\ :sub:`13high`
84
85 - .. row 3
86
87 - start + 16:
88
89 - B\ :sub:`20low`
90
91 - B\ :sub:`20high`
92
93 - G\ :sub:`21low`
94
95 - G\ :sub:`21high`
96
97 - B\ :sub:`22low`
98
99 - B\ :sub:`22high`
100
101 - G\ :sub:`23low`
102
103 - G\ :sub:`23high`
104
105 - .. row 4
106
107 - start + 24:
108
109 - G\ :sub:`30low`
110
111 - G\ :sub:`30high`
112
113 - R\ :sub:`31low`
114
115 - R\ :sub:`31high`
116
117 - G\ :sub:`32low`
118
119 - G\ :sub:`32high`
120
121 - R\ :sub:`33low`
122
123 - R\ :sub:`33high`
This page took 0.045393 seconds and 5 git commands to generate.