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