Sophie

Sophie

distrib > Mandriva > 2010.1 > x86_64 > media > main-release > by-pkgid > 1af184c486f5d5f476d50602700ee0a0 > files > 72

lib64zvbi-devel-0.2.33-2mdv2010.0.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>ZVBI Library: vbi_raw_decoder Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>vbi_raw_decoder Struct Reference<br>
<small>
[<a class="el" href="group__Rawdec.html">Raw VBI decoder</a>]</small>
</h1><!-- doxytag: class="vbi_raw_decoder" -->Raw vbi decoder context.  
<a href="#_details">More...</a>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct &nbsp;</td><td class="memItemRight" valign="bottom"><b>_vbi_raw_decoder_job</b></td></tr>

<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#7ff6b942e66eae2ca7a3b6bbfbbc550f">scanning</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="group__Rawdec.html#g48120afcb79d98fe9305e368cc86def7">vbi_pixfmt</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#042431c6c0abab3eeecce4f9a014bd1d">sampling_format</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#72596d7bf3dd5f3fedf8ce51f25f6377">sampling_rate</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#0610feb3dba297670cadb678d8370e80">bytes_per_line</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#ec686bff8271a5304417cdb2e84dd198">offset</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#b8a8df50593ebc6ab7d9f52f0cc8275d">start</a> [2]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#b77ddf5224b63d84d66c36daded1ab90">count</a> [2]</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">vbi_bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#b21be06e2fb0141314311d820c51b35f">interlaced</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">vbi_bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structvbi__raw__decoder.html#dbeef46d32445684cdf52c4cfbe8f3ac">synchronous</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ed0144f06b5ae135d7dee3961e24b00f"></a><!-- doxytag: member="vbi_raw_decoder::mutex" ref="ed0144f06b5ae135d7dee3961e24b00f" args="" -->
pthread_mutex_t&nbsp;</td><td class="memItemRight" valign="bottom"><b>mutex</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ae4feb1a23fa5eca500bb25395ac9586"></a><!-- doxytag: member="vbi_raw_decoder::services" ref="ae4feb1a23fa5eca500bb25395ac9586" args="" -->
unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><b>services</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="171e68bf2fd740c7d1d8236cbda361bf"></a><!-- doxytag: member="vbi_raw_decoder::num_jobs" ref="171e68bf2fd740c7d1d8236cbda361bf" args="" -->
int&nbsp;</td><td class="memItemRight" valign="bottom"><b>num_jobs</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8db355a87bbf46635a063e622af2dbe8"></a><!-- doxytag: member="vbi_raw_decoder::pattern" ref="8db355a87bbf46635a063e622af2dbe8" args="" -->
int8_t *&nbsp;</td><td class="memItemRight" valign="bottom"><b>pattern</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7a7fef8ab88df46fa742e7ca6b107ec6"></a><!-- doxytag: member="vbi_raw_decoder::jobs" ref="7a7fef8ab88df46fa742e7ca6b107ec6" args="[8]" -->
struct <br class="typebreak">
vbi_raw_decoder::_vbi_raw_decoder_job&nbsp;</td><td class="memItemRight" valign="bottom"><b>jobs</b> [8]</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Raw vbi decoder context. 
<p>
Only the sampling parameters are public. See <a class="el" href="group__Rawdec.html#g7256bd42077c333b17910f2b4b7a69b3">vbi_raw_decoder_parameters()</a> and <a class="el" href="group__Rawdec.html#g18c46d4a4885261c45e32e8eb509d1b9">vbi_raw_decoder_add_services()</a> for usage. <dl compact><dt><b>Examples: </b></dt><dd>

<p>
<a class="el" href="examples_2rawout_8c-example.html#_a0">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#_a0">examples/wss.c</a>.</dl><hr><h2>Field Documentation</h2>
<a class="anchor" name="7ff6b942e66eae2ca7a3b6bbfbbc550f"></a><!-- doxytag: member="vbi_raw_decoder::scanning" ref="7ff6b942e66eae2ca7a3b6bbfbbc550f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#7ff6b942e66eae2ca7a3b6bbfbbc550f">vbi_raw_decoder::scanning</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Either 525 (M/NTSC, M/PAL) or 625 (PAL, SECAM), describing the scan line system all line numbers refer to. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a13">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a5">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="042431c6c0abab3eeecce4f9a014bd1d"></a><!-- doxytag: member="vbi_raw_decoder::sampling_format" ref="042431c6c0abab3eeecce4f9a014bd1d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__Rawdec.html#g48120afcb79d98fe9305e368cc86def7">vbi_pixfmt</a> <a class="el" href="structvbi__raw__decoder.html#042431c6c0abab3eeecce4f9a014bd1d">vbi_raw_decoder::sampling_format</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Format of the raw vbi data. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a14">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a6">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="72596d7bf3dd5f3fedf8ce51f25f6377"></a><!-- doxytag: member="vbi_raw_decoder::sampling_rate" ref="72596d7bf3dd5f3fedf8ce51f25f6377" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#72596d7bf3dd5f3fedf8ce51f25f6377">vbi_raw_decoder::sampling_rate</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sampling rate in Hz, the number of samples or pixels captured per second. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a15">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a7">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="0610feb3dba297670cadb678d8370e80"></a><!-- doxytag: member="vbi_raw_decoder::bytes_per_line" ref="0610feb3dba297670cadb678d8370e80" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#0610feb3dba297670cadb678d8370e80">vbi_raw_decoder::bytes_per_line</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number of samples or pixels captured per scan line, in bytes. This determines the raw vbi image width and you want it large enough to cover all data transmitted in the line (with headroom). <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a16">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a3">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="ec686bff8271a5304417cdb2e84dd198"></a><!-- doxytag: member="vbi_raw_decoder::offset" ref="ec686bff8271a5304417cdb2e84dd198" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#ec686bff8271a5304417cdb2e84dd198">vbi_raw_decoder::offset</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The distance from 0H (leading edge hsync, half amplitude point) to the first sample (pixel) captured, in samples (pixels). You want an offset small enough not to miss the start of the data transmitted. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a17">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a8">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="b8a8df50593ebc6ab7d9f52f0cc8275d"></a><!-- doxytag: member="vbi_raw_decoder::start" ref="b8a8df50593ebc6ab7d9f52f0cc8275d" args="[2]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#b8a8df50593ebc6ab7d9f52f0cc8275d">vbi_raw_decoder::start</a>[2]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
First scan line to be captured, first and second field respectively, according to the ITU-R line numbering scheme (see <a class="el" href="structvbi__sliced.html" title="This structure holds one scan line of sliced vbi data.">vbi_sliced</a>). Set to zero if the exact line number isn't known. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a18">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a9">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="b77ddf5224b63d84d66c36daded1ab90"></a><!-- doxytag: member="vbi_raw_decoder::count" ref="b77ddf5224b63d84d66c36daded1ab90" args="[2]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="structvbi__raw__decoder.html#b77ddf5224b63d84d66c36daded1ab90">vbi_raw_decoder::count</a>[2]          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Number of scan lines captured, first and second field respectively. This can be zero if only data from one field is required. The sum <em>count</em>[0] + <em>count</em>[1] determines the raw vbi image height. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a19">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a10">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="b21be06e2fb0141314311d820c51b35f"></a><!-- doxytag: member="vbi_raw_decoder::interlaced" ref="b21be06e2fb0141314311d820c51b35f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vbi_bool <a class="el" href="structvbi__raw__decoder.html#b21be06e2fb0141314311d820c51b35f">vbi_raw_decoder::interlaced</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
In the raw vbi image, normally all lines of the second field are supposed to follow all lines of the first field. When this flag is set, the scan lines of first and second field will be interleaved in memory. This implies <em>count</em>[0] and <em>count</em>[1] are equal. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a20">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a11">examples/wss.c</a>.</dl>
</div>
</div><p>
<a class="anchor" name="dbeef46d32445684cdf52c4cfbe8f3ac"></a><!-- doxytag: member="vbi_raw_decoder::synchronous" ref="dbeef46d32445684cdf52c4cfbe8f3ac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">vbi_bool <a class="el" href="structvbi__raw__decoder.html#dbeef46d32445684cdf52c4cfbe8f3ac">vbi_raw_decoder::synchronous</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fields must be stored in temporal order, i. e. as the lines have been captured. It is assumed that the first field is also stored first in memory, however if the hardware cannot reliable distinguish fields this flag shall be cleared, which disables decoding of data services depending on the field number. <dl compact><dt><b>Examples: </b></dt><dd>
<a class="el" href="examples_2rawout_8c-example.html#a21">examples/rawout.c</a>, and <a class="el" href="examples_2wss_8c-example.html#a12">examples/wss.c</a>.</dl>
</div>
</div><p>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed May 27 04:47:58 2009 for ZVBI Library by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
</body>
</html>