diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2014-07-18 01:58:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-21 23:41:23 -0400 |
commit | 12c78e665f96b3f73dc0b6a6190a4871fe526293 (patch) | |
tree | bf763f92203365e81ae31abfd0bb919ee96769e3 /Documentation | |
parent | 273886b4f71a1a960a3625833df2f037efffab45 (diff) |
[media] DocBook media: document new VBI defines
Add defines for the start line numbers of each field for both
525 and 625 line formats.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/DocBook/media/v4l/dev-raw-vbi.xml | 12 | ||||
-rw-r--r-- | Documentation/DocBook/media/v4l/dev-sliced-vbi.xml | 9 |
2 files changed, 17 insertions, 4 deletions
diff --git a/Documentation/DocBook/media/v4l/dev-raw-vbi.xml b/Documentation/DocBook/media/v4l/dev-raw-vbi.xml index b788c72c885e..f4b61b6ce3c2 100644 --- a/Documentation/DocBook/media/v4l/dev-raw-vbi.xml +++ b/Documentation/DocBook/media/v4l/dev-raw-vbi.xml | |||
@@ -150,9 +150,15 @@ signal. Drivers shall not convert the sample format by software.</para></entry> | |||
150 | <entry>This is the scanning system line number | 150 | <entry>This is the scanning system line number |
151 | associated with the first line of the VBI image, of the first and the | 151 | associated with the first line of the VBI image, of the first and the |
152 | second field respectively. See <xref linkend="vbi-525" /> and | 152 | second field respectively. See <xref linkend="vbi-525" /> and |
153 | <xref linkend="vbi-625" /> for valid values. VBI input drivers can | 153 | <xref linkend="vbi-625" /> for valid values. |
154 | return start values 0 if the hardware cannot reliable identify | 154 | The <constant>V4L2_VBI_ITU_525_F1_START</constant>, |
155 | scanning lines, VBI acquisition may not require this | 155 | <constant>V4L2_VBI_ITU_525_F2_START</constant>, |
156 | <constant>V4L2_VBI_ITU_625_F1_START</constant> and | ||
157 | <constant>V4L2_VBI_ITU_625_F2_START</constant> defines give the start line | ||
158 | numbers for each field for each 525 or 625 line format as a convenience. | ||
159 | Don't forget that ITU line numbering starts at 1, not 0. | ||
160 | VBI input drivers can return start values 0 if the hardware cannot | ||
161 | reliable identify scanning lines, VBI acquisition may not require this | ||
156 | information.</entry> | 162 | information.</entry> |
157 | </row> | 163 | </row> |
158 | <row> | 164 | <row> |
diff --git a/Documentation/DocBook/media/v4l/dev-sliced-vbi.xml b/Documentation/DocBook/media/v4l/dev-sliced-vbi.xml index 548f8ea28dee..7a8bf3011ee9 100644 --- a/Documentation/DocBook/media/v4l/dev-sliced-vbi.xml +++ b/Documentation/DocBook/media/v4l/dev-sliced-vbi.xml | |||
@@ -185,7 +185,14 @@ tables, sigh. --></para></entry> | |||
185 | <entry></entry> | 185 | <entry></entry> |
186 | <entry spanname="hspan">Drivers must set | 186 | <entry spanname="hspan">Drivers must set |
187 | <structfield>service_lines</structfield>[0][0] and | 187 | <structfield>service_lines</structfield>[0][0] and |
188 | <structfield>service_lines</structfield>[1][0] to zero.</entry> | 188 | <structfield>service_lines</structfield>[1][0] to zero. |
189 | The <constant>V4L2_VBI_ITU_525_F1_START</constant>, | ||
190 | <constant>V4L2_VBI_ITU_525_F2_START</constant>, | ||
191 | <constant>V4L2_VBI_ITU_625_F1_START</constant> and | ||
192 | <constant>V4L2_VBI_ITU_625_F2_START</constant> defines give the start | ||
193 | line numbers for each field for each 525 or 625 line format as a | ||
194 | convenience. Don't forget that ITU line numbering starts at 1, not 0. | ||
195 | </entry> | ||
189 | </row> | 196 | </row> |
190 | <row> | 197 | <row> |
191 | <entry>__u32</entry> | 198 | <entry>__u32</entry> |