summaryrefslogtreecommitdiff
path: root/v4l2-spec/TEMPLATES
blob: 31aa64289cfd17c659b945cc5dc4117fba4c1daf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
These are templates for various tables. Happy copy-and-pasting!

cs-str;  are colspecs for a struct table
cs-ustr; are colspecs for a struct table with substructs (four columns)
cs-def;  are colspecs for a defines or enums table

<table pgwide="1" frame="none" id="v4l2-">
  <title>struct <structname>v4l2_</structname></title>
  <tgroup cols="3">
    &cs-str;
    <tbody valign="top">
      <row>
	<entry></entry>
	<entry><structfield></structfield></entry>
	<entry></entry>
      </row>
    </tbody>
  </tgroup>
</table>

<table pgwide="1" frame="none" id="v4l2-">
  <title>struct <structname>v4l2_</structname></title>
  <tgroup cols="4">
    &cs-ustr;
    <tbody valign="top">
      <row>
	<entry>type</entry>
	<entry><structfield>name</structfield></entry>
	<entry></entry>
	<entry>descr</entry>
      </row>
      <row>
	<entry></entry>
	<entry>type</entry>
	<entry><structfield>name</structfield></entry>
	<entry>descr</entry>
      </row>
    </tbody>
  </tgroup>
</table>

<table pgwide="1" frame="none" id="v4l2-">
  <title>enum v4l2_</title>
  <tgroup cols="3">
    &cs-def;
    <tbody valign="top">
      <row>
	<entry><constant></constant></entry>
	<entry>1</entry>
	<entry></entry>
      </row>
    </tbody>
  </tgroup>
</table>

<table pgwide="1" frame="none" id="">
  <title> Flags</title>
  <tgroup cols="3">
    &cs-def;
    <tbody valign="top">
      <row>
	<entry><constant>V4L2_</constant></entry>
	<entry>0x</entry>
	<entry></entry>
      </row>
    </tbody>
  </tgroup>
</table>

<figure id="banana">
  <title>Banana Example</title>
  <mediaobject>
    <imageobject>
      <imagedata fileref="banana.gif" format="gif">
    </imageobject>
    <textobject>
      <phrase>A banana</phrase>
    </textobject>
  </mediaobject>
</figure>

For EMACS, put that at the end of each sgml file.

<!--
Local Variables:
mode: sgml
sgml-parent-document: "v4l2.sgml"
indent-tabs-mode: nil
End:
-->