blob: 9c1cf6d76bb663b52e860620330024eb34821960 [file] [log] [blame]
Markus Heiser5377d912016-06-30 15:18:56 +02001.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-SBGGR16:
4
5*****************************
6V4L2_PIX_FMT_SBGGR16 ('BYR2')
7*****************************
8
9*man V4L2_PIX_FMT_SBGGR16(2)*
10
11Bayer RGB format
12
13
14Description
15===========
16
17This format is similar to
18:ref:`V4L2_PIX_FMT_SBGGR8 <V4L2-PIX-FMT-SBGGR8>`, except each pixel
19has a depth of 16 bits. The least significant byte is stored at lower
20memory addresses (little-endian). Note the actual sampling precision may
21be lower than 16 bits, for example 10 bits per pixel with values in
22range 0 to 1023.
23
24**Byte Order..**
25
26Each 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`
115
116
117
118
119.. ------------------------------------------------------------------------------
120.. This file was automatically converted from DocBook-XML with the dbxml
121.. library (https://github.com/return42/sphkerneldoc). The origin XML comes
122.. from the linux kernel, refer to:
123..
124.. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook
125.. ------------------------------------------------------------------------------