Commit | Line | Data |
---|---|---|
5377d91f MH |
1 | .. -*- coding: utf-8; mode: rst -*- |
2 | ||
3 | .. _V4L2-PIX-FMT-SRGGB8: | |
4 | ||
5 | **************************** | |
6 | V4L2_PIX_FMT_SRGGB8 ('RGGB') | |
7 | **************************** | |
8 | ||
9 | *man V4L2_PIX_FMT_SRGGB8(2)* | |
10 | ||
11 | Bayer RGB format | |
12 | ||
13 | ||
14 | Description | |
15 | =========== | |
16 | ||
17 | This is commonly the native format of digital cameras, reflecting the | |
18 | arrangement of sensors on the CCD device. Only one red, green or blue | |
19 | value is given for each pixel. Missing components must be interpolated | |
20 | from neighbouring pixels. From left to right the first row consists of a | |
21 | red and green value, the second row of a green and blue value. This | |
22 | scheme repeats to the right and down for every two columns and rows. | |
23 | ||
24 | **Byte Order..** | |
25 | ||
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 | |
34 | ||
35 | ||
36 | - .. row 1 | |
37 | ||
38 | - start + 0: | |
39 | ||
40 | - R\ :sub:`00` | |
41 | ||
42 | - G\ :sub:`01` | |
43 | ||
44 | - R\ :sub:`02` | |
45 | ||
46 | - G\ :sub:`03` | |
47 | ||
48 | - .. row 2 | |
49 | ||
50 | - start + 4: | |
51 | ||
52 | - G\ :sub:`10` | |
53 | ||
54 | - B\ :sub:`11` | |
55 | ||
56 | - G\ :sub:`12` | |
57 | ||
58 | - B\ :sub:`13` | |
59 | ||
60 | - .. row 3 | |
61 | ||
62 | - start + 8: | |
63 | ||
64 | - R\ :sub:`20` | |
65 | ||
66 | - G\ :sub:`21` | |
67 | ||
68 | - R\ :sub:`22` | |
69 | ||
70 | - G\ :sub:`23` | |
71 | ||
72 | - .. row 4 | |
73 | ||
74 | - start + 12: | |
75 | ||
76 | - G\ :sub:`30` | |
77 | ||
78 | - B\ :sub:`31` | |
79 | ||
80 | - G\ :sub:`32` | |
81 | ||
82 | - B\ :sub:`33` | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | .. ------------------------------------------------------------------------------ | |
88 | .. This file was automatically converted from DocBook-XML with the dbxml | |
89 | .. library (https://github.com/return42/sphkerneldoc). The origin XML comes | |
90 | .. from the linux kernel, refer to: | |
91 | .. | |
92 | .. * https://github.com/torvalds/linux/tree/master/Documentation/DocBook | |
93 | .. ------------------------------------------------------------------------------ |