5cd40d611d68ef9179cde621ae01fd317b218e0f
[deliverable/linux.git] / Documentation / media / uapi / v4l / pixfmt-sgbrg8.rst
1 .. -*- coding: utf-8; mode: rst -*-
2
3 .. _V4L2-PIX-FMT-SGBRG8:
4
5 ****************************
6 V4L2_PIX_FMT_SGBRG8 ('GBRG')
7 ****************************
8
9
10 Bayer RGB format
11
12
13 Description
14 ===========
15
16 This is commonly the native format of digital cameras, reflecting the
17 arrangement of sensors on the CCD device. Only one red, green or blue
18 value is given for each pixel. Missing components must be interpolated
19 from neighbouring pixels. From left to right the first row consists of a
20 green and blue value, the second row of a red and green value. This
21 scheme repeats to the right and down for every two columns and rows.
22
23 **Byte Order.**
24 Each cell is one byte.
25
26
27
28
29 .. flat-table::
30 :header-rows: 0
31 :stub-columns: 0
32
33
34 - .. row 1
35
36 - start + 0:
37
38 - G\ :sub:`00`
39
40 - B\ :sub:`01`
41
42 - G\ :sub:`02`
43
44 - B\ :sub:`03`
45
46 - .. row 2
47
48 - start + 4:
49
50 - R\ :sub:`10`
51
52 - G\ :sub:`11`
53
54 - R\ :sub:`12`
55
56 - G\ :sub:`13`
57
58 - .. row 3
59
60 - start + 8:
61
62 - G\ :sub:`20`
63
64 - B\ :sub:`21`
65
66 - G\ :sub:`22`
67
68 - B\ :sub:`23`
69
70 - .. row 4
71
72 - start + 12:
73
74 - R\ :sub:`30`
75
76 - G\ :sub:`31`
77
78 - R\ :sub:`32`
79
80 - G\ :sub:`33`
This page took 0.035011 seconds and 4 git commands to generate.