diff options
Diffstat (limited to 'Documentation/DocBook/v4l/pixfmt-grey.xml')
-rw-r--r-- | Documentation/DocBook/v4l/pixfmt-grey.xml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/Documentation/DocBook/v4l/pixfmt-grey.xml b/Documentation/DocBook/v4l/pixfmt-grey.xml new file mode 100644 index 000000000000..3b72bc6b2de7 --- /dev/null +++ b/Documentation/DocBook/v4l/pixfmt-grey.xml | |||
@@ -0,0 +1,70 @@ | |||
1 | <refentry id="V4L2-PIX-FMT-GREY"> | ||
2 | <refmeta> | ||
3 | <refentrytitle>V4L2_PIX_FMT_GREY ('GREY')</refentrytitle> | ||
4 | &manvol; | ||
5 | </refmeta> | ||
6 | <refnamediv> | ||
7 | <refname><constant>V4L2_PIX_FMT_GREY</constant></refname> | ||
8 | <refpurpose>Grey-scale image</refpurpose> | ||
9 | </refnamediv> | ||
10 | <refsect1> | ||
11 | <title>Description</title> | ||
12 | |||
13 | <para>This is a grey-scale image. It is really a degenerate | ||
14 | Y'CbCr format which simply contains no Cb or Cr data.</para> | ||
15 | |||
16 | <example> | ||
17 | <title><constant>V4L2_PIX_FMT_GREY</constant> 4 × 4 | ||
18 | pixel image</title> | ||
19 | |||
20 | <formalpara> | ||
21 | <title>Byte Order.</title> | ||
22 | <para>Each cell is one byte. | ||
23 | <informaltable frame="none"> | ||
24 | <tgroup cols="5" align="center"> | ||
25 | <colspec align="left" colwidth="2*" /> | ||
26 | <tbody valign="top"> | ||
27 | <row> | ||
28 | <entry>start + 0:</entry> | ||
29 | <entry>Y'<subscript>00</subscript></entry> | ||
30 | <entry>Y'<subscript>01</subscript></entry> | ||
31 | <entry>Y'<subscript>02</subscript></entry> | ||
32 | <entry>Y'<subscript>03</subscript></entry> | ||
33 | </row> | ||
34 | <row> | ||
35 | <entry>start + 4:</entry> | ||
36 | <entry>Y'<subscript>10</subscript></entry> | ||
37 | <entry>Y'<subscript>11</subscript></entry> | ||
38 | <entry>Y'<subscript>12</subscript></entry> | ||
39 | <entry>Y'<subscript>13</subscript></entry> | ||
40 | </row> | ||
41 | <row> | ||
42 | <entry>start + 8:</entry> | ||
43 | <entry>Y'<subscript>20</subscript></entry> | ||
44 | <entry>Y'<subscript>21</subscript></entry> | ||
45 | <entry>Y'<subscript>22</subscript></entry> | ||
46 | <entry>Y'<subscript>23</subscript></entry> | ||
47 | </row> | ||
48 | <row> | ||
49 | <entry>start + 12:</entry> | ||
50 | <entry>Y'<subscript>30</subscript></entry> | ||
51 | <entry>Y'<subscript>31</subscript></entry> | ||
52 | <entry>Y'<subscript>32</subscript></entry> | ||
53 | <entry>Y'<subscript>33</subscript></entry> | ||
54 | </row> | ||
55 | </tbody> | ||
56 | </tgroup> | ||
57 | </informaltable> | ||
58 | </para> | ||
59 | </formalpara> | ||
60 | </example> | ||
61 | </refsect1> | ||
62 | </refentry> | ||
63 | |||
64 | <!-- | ||
65 | Local Variables: | ||
66 | mode: sgml | ||
67 | sgml-parent-document: "pixfmt.sgml" | ||
68 | indent-tabs-mode: nil | ||
69 | End: | ||
70 | --> | ||