doc-rst: fix some badly converted references
[deliverable/linux.git] / Documentation / linux_tv / media / v4l / pixfmt-srggb10.rst
CommitLineData
5377d91f
MH
1.. -*- coding: utf-8; mode: rst -*-
2
3.. _V4L2-PIX-FMT-SRGGB10:
4
5***************************************************************************************************************************
6V4L2_PIX_FMT_SRGGB10 ('RG10'), V4L2_PIX_FMT_SGRBG10 ('BA10'), V4L2_PIX_FMT_SGBRG10 ('GB10'), V4L2_PIX_FMT_SBGGR10 ('BG10'),
7***************************************************************************************************************************
8
9*man V4L2_PIX_FMT_SRGGB10(2)*
10
11V4L2_PIX_FMT_SGRBG10
12V4L2_PIX_FMT_SGBRG10
13V4L2_PIX_FMT_SBGGR10
1410-bit Bayer formats expanded to 16 bits
15
16
17Description
18===========
19
20These four pixel formats are raw sRGB / Bayer formats with 10 bits per
21colour. Each colour component is stored in a 16-bit word, with 6 unused
22high bits filled with zeros. Each n-pixel row contains n/2 green samples
23and n/2 blue or red samples, with alternating red and blue rows. Bytes
24are stored in memory in little endian order. They are conventionally
25described as GRGR... BGBG..., RGRG... GBGB..., etc. Below is an example
26of one of these formats
27
056d2ee6 28**Byte Order.**
5377d91f
MH
29Each cell is one byte, high 6 bits in high bytes are 0.
30
31
32
33.. flat-table::
34 :header-rows: 0
35 :stub-columns: 0
36 :widths: 2 1 1 1 1 1 1 1 1
37
38
39 - .. row 1
40
41 - start + 0:
42
43 - B\ :sub:`00low`
44
45 - B\ :sub:`00high`
46
47 - G\ :sub:`01low`
48
49 - G\ :sub:`01high`
50
51 - B\ :sub:`02low`
52
53 - B\ :sub:`02high`
54
55 - G\ :sub:`03low`
56
57 - G\ :sub:`03high`
58
59 - .. row 2
60
61 - start + 8:
62
63 - G\ :sub:`10low`
64
65 - G\ :sub:`10high`
66
67 - R\ :sub:`11low`
68
69 - R\ :sub:`11high`
70
71 - G\ :sub:`12low`
72
73 - G\ :sub:`12high`
74
75 - R\ :sub:`13low`
76
77 - R\ :sub:`13high`
78
79 - .. row 3
80
81 - start + 16:
82
83 - B\ :sub:`20low`
84
85 - B\ :sub:`20high`
86
87 - G\ :sub:`21low`
88
89 - G\ :sub:`21high`
90
91 - B\ :sub:`22low`
92
93 - B\ :sub:`22high`
94
95 - G\ :sub:`23low`
96
97 - G\ :sub:`23high`
98
99 - .. row 4
100
101 - start + 24:
102
103 - G\ :sub:`30low`
104
105 - G\ :sub:`30high`
106
107 - R\ :sub:`31low`
108
109 - R\ :sub:`31high`
110
111 - G\ :sub:`32low`
112
113 - G\ :sub:`32high`
114
115 - R\ :sub:`33low`
116
117 - R\ :sub:`33high`
This page took 0.036815 seconds and 5 git commands to generate.