Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 9f39b42a4a9bb5f46373ffcca30c81df > files > 32

libzvbi0-devel-0.2.3-1mdk.ppc.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Sliced VBI data</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.2.18 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center>
<hr><h1>Sliced VBI data<br>
<small>
[<a class="el" href="group__Raw.html">Raw VBI</a>]</small>
</h1>Definition of sliced VBI data. 
<a href="#_details">More...</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Data Structures</h2></td></tr>
<tr><td nowrap align=right valign=top>struct &nbsp;</td><td valign=bottom><a class="el" href="structvbi__sliced.html">vbi_sliced</a></td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>This structure holds one scan line of sliced vbi data.</em> <a href="structvbi__sliced.html#_details">More...</a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Data service symbols</h2></td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a1">VBI_SLICED_NONE</a>&nbsp;&nbsp;&nbsp;0</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a4">VBI_SLICED_TELETEXT_B</a>&nbsp;&nbsp;&nbsp;(VBI_SLICED_TELETEXT_B_L10_625 | VBI_SLICED_TELETEXT_B_L25_625)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a5">VBI_SLICED_VPS</a>&nbsp;&nbsp;&nbsp;0x00000004</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a8">VBI_SLICED_CAPTION_625</a>&nbsp;&nbsp;&nbsp;(VBI_SLICED_CAPTION_625_F1 | VBI_SLICED_CAPTION_625_F2)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a11">VBI_SLICED_CAPTION_525</a>&nbsp;&nbsp;&nbsp;(VBI_SLICED_CAPTION_525_F1 | VBI_SLICED_CAPTION_525_F2)</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a12">VBI_SLICED_2xCAPTION_525</a>&nbsp;&nbsp;&nbsp;0x00000080</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a13">VBI_SLICED_NABTS</a>&nbsp;&nbsp;&nbsp;0x00000100</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a14">VBI_SLICED_TELETEXT_BD_525</a>&nbsp;&nbsp;&nbsp;0x00000200</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a15">VBI_SLICED_WSS_625</a>&nbsp;&nbsp;&nbsp;0x00000400</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a16">VBI_SLICED_WSS_CPR1204</a>&nbsp;&nbsp;&nbsp;0x00000800</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a17">VBI_SLICED_VBI_625</a>&nbsp;&nbsp;&nbsp;0x20000000</td></tr>
<tr><td nowrap align=right valign=top>#define&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a18">VBI_SLICED_VBI_525</a>&nbsp;&nbsp;&nbsp;0x40000000</td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>const char *&nbsp;</td><td valign=bottom><a class="el" href="group__Sliced.html#a0">vbi_sliced_name</a> (unsigned int service)</td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Definition of sliced VBI data.
<p>
The output of the libzvbi raw VBI decoder, and input to the data service decoder, is VBI data in binary format as defined in this section. It is similar to the output of hardware VBI decoders and VBI data transmitted in digital TV streams. <hr><h2>Define Documentation</h2>
<a name="a1" doxytag="sliced.h::VBI_SLICED_NONE"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_NONE&nbsp;&nbsp;&nbsp;0
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
 No data service, blank <a class="el" href="structvbi__sliced.html">vbi_sliced</a> structure.     </td>
  </tr>
</table>
<a name="a4" doxytag="sliced.h::VBI_SLICED_TELETEXT_B"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_TELETEXT_B&nbsp;&nbsp;&nbsp;(VBI_SLICED_TELETEXT_B_L10_625 | VBI_SLICED_TELETEXT_B_L25_625)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Teletext System B.
<p>
Note this is separated into Level 1.0 and Level 2.5+ since the latter permits occupation of PAL/SECAM scan line 6 which is frequently out of range of raw VBI capture drivers. Clients should request decoding of both, may then verify Level 2.5 is covered. Also sliced data can be tagged as both Level 1.0 and 2.5+, i. e. VBI_SLICED_TELETEXT_B.
<p>
Reference: <a href="http://www.etsi.org">ETS 300 706 "Enhanced Teletext specification"</a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: Last 42 of the 45 byte Teletext packet, that is without clock run-in and framing code, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a5" doxytag="sliced.h::VBI_SLICED_VPS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_VPS&nbsp;&nbsp;&nbsp;0x00000004
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Video Program System.
<p>
Reference: <a href="http://www.etsi.org">ETS 300 231 "Specification of the domestic video Programme Delivery Control system (PDC)" </a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: Byte number 3 to 15 according to Figure 9, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a8" doxytag="sliced.h::VBI_SLICED_CAPTION_625"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_CAPTION_625&nbsp;&nbsp;&nbsp;(VBI_SLICED_CAPTION_625_F1 | VBI_SLICED_CAPTION_625_F2)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Closed Caption for 625 line systems (PAL, SECAM).
<p>
Note this is split into field one and two services since for basic caption decoding only field one is required. Clients should compare the <a class="el" href="structvbi__sliced.html">vbi_sliced</a> line number, not the type to determine the source field.
<p>
Reference: <a href="http://global.ihs.com">EIA 608 "Recommended Practice for Line 21 Data Service"</a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: First and second byte including parity, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a11" doxytag="sliced.h::VBI_SLICED_CAPTION_525"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_CAPTION_525&nbsp;&nbsp;&nbsp;(VBI_SLICED_CAPTION_525_F1 | VBI_SLICED_CAPTION_525_F2)
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Closed Caption for 525 line systems (NTSC).
<p>
Note this is split into field one and two services since for basic caption decoding only field one is required. Clients should compare the <a class="el" href="structvbi__sliced.html">vbi_sliced</a> line number, not the type to determine the source field. VBI_SLICED_CAPTION_525 also covers XDS (Extended Data Service), V-Chip data and ITV data.
<p>
Reference: <a href="http://global.ihs.com">EIA 608 "Recommended Practice for Line 21 Data Service"</a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: First and second byte including parity, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a12" doxytag="sliced.h::VBI_SLICED_2xCAPTION_525"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_2xCAPTION_525&nbsp;&nbsp;&nbsp;0x00000080
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Closed Caption at double bit rate.
<p>
Reference: ?
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: First to fourth byte including parity bit, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a13" doxytag="sliced.h::VBI_SLICED_NABTS"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_NABTS&nbsp;&nbsp;&nbsp;0x00000100
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
North American Basic Teletext Specification.
<p>
(Supposedly this standard fell into disuse.)
<p>
Reference: <a href="http://global.ihs.com">EIA-516 "North American Basic Teletext Specification (NABTS)"</a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: 33 bytes.     </td>
  </tr>
</table>
<a name="a14" doxytag="sliced.h::VBI_SLICED_TELETEXT_BD_525"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_TELETEXT_BD_525&nbsp;&nbsp;&nbsp;0x00000200
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
?
<p>
Reference: ?
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: 34 bytes.     </td>
  </tr>
</table>
<a name="a15" doxytag="sliced.h::VBI_SLICED_WSS_625"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_WSS_625&nbsp;&nbsp;&nbsp;0x00000400
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Wide Screen Signalling for 625 line systems (PAL, SECAM)
<p>
Reference: <a href="http://www.etsi.org">EN 300 294 "625-line television Wide Screen Signalling (WSS)"</a>.
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: <pre>
 Byte         0                  1
       msb         lsb  msb             lsb
 bit   7 6 5 4 3 2 1 0  x x 13 12 11 10 9 8<br>
</pre> according to EN 300 294 Table 1, lsb first transmitted.     </td>
  </tr>
</table>
<a name="a16" doxytag="sliced.h::VBI_SLICED_WSS_CPR1204"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_WSS_CPR1204&nbsp;&nbsp;&nbsp;0x00000800
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Wide Screen Signalling for NTSC Japan
<p>
Reference: EIA-J CPR-1024 (?)
<p>
<a class="el" href="structvbi__sliced.html">vbi_sliced</a> payload: <pre>
 Byte         0                    1                  2
       msb         lsb  msb               lsb  msb             lsb
 bit   7 6 5 4 3 2 1 0  15 14 13 12 11 10 9 8  x x x x 19 18 17 16
 </pre>     </td>
  </tr>
</table>
<a name="a17" doxytag="sliced.h::VBI_SLICED_VBI_625"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_VBI_625&nbsp;&nbsp;&nbsp;0x20000000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
No actual data service. This symbol is used to request capturing of all PAL/SECAM VBI data lines from the libzvbi driver interface, as opposed to just those lines used to transmit the requested data services.     </td>
  </tr>
</table>
<a name="a18" doxytag="sliced.h::VBI_SLICED_VBI_525"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> #define VBI_SLICED_VBI_525&nbsp;&nbsp;&nbsp;0x40000000
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
No actual data service. This symbol is used to request capturing of all NTSC VBI data lines from the libzvbi driver interface, as opposed to just those lines used to transmit the requested data services.     </td>
  </tr>
</table>
<hr><h2>Function Documentation</h2>
<a name="a0" doxytag="decoder.c::vbi_sliced_name"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const char* vbi_sliced_name </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">unsigned int&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>service</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
<dl compact><dt><b>Parameters: </b></dt><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>service</em>&nbsp;</td><td>
A VBI_SLICED_ symbol, for example from a <a class="el" href="structvbi__sliced.html">vbi_sliced</a> structure.</td></tr>
</table>
</dl><dl compact><dt><b>Returns: </b></dt><dd>
 Name of the <em>service</em>, ASCII, or <code>NULL</code> if unknown. </dl>    </td>
  </tr>
</table>
<hr><address style="align: right;"><small>Generated on Thu Jan 2 16:03:42 2003 for ZVBI Library by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.18 </small></address>
</body>
</html>