Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > def0228095a1541e2d3632b6b6da7c38 > files > 3593

gnuradio-doc-3.3.0-8mdv2010.1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>GNU Radio 3.3.0 C++ API: cvsd_decode_bs.h File 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.6.3 -->
<div class="contents">
<h1>cvsd_decode_bs.h File Reference</h1><code>#include &lt;<a class="el" href="gr__sync__interpolator_8h_source.html">gr_sync_interpolator.h</a>&gt;</code><br/>
<div class="dynheader">
Include dependency graph for cvsd_decode_bs.h:</div>
<div class="dynsection">
<div class="center"><img src="cvsd__decode__bs_8h__incl.png" border="0" usemap="#cvsd__decode__bs_8h_map" alt=""/></div>
<map name="cvsd__decode__bs_8h_map" id="cvsd__decode__bs_8h">
<area shape="rect" id="node3" href="gr__sync__interpolator_8h.html" title="gr_sync_interpolator.h" alt="" coords="331,83,480,112"/><area shape="rect" id="node5" href="gr__sync__block_8h.html" title="gr_sync_block.h" alt="" coords="347,160,464,189"/><area shape="rect" id="node7" href="gr__block_8h.html" title="gr_block.h" alt="" coords="364,237,447,267"/><area shape="rect" id="node9" href="gr__basic__block_8h.html" title="gr_basic_block.h" alt="" coords="345,315,465,344"/><area shape="rect" id="node11" href="gr__runtime__types_8h.html" title="gr_runtime_types.h" alt="" coords="135,392,268,421"/><area shape="rect" id="node25" href="gr__sptr__magic_8h_source.html" title="gr_sptr_magic.h" alt="" coords="5,469,120,499"/><area shape="rect" id="node30" href="gr__msg__accepter_8h.html" title="gr_msg_accepter.h" alt="" coords="543,392,676,421"/><area shape="rect" id="node13" href="gr__types_8h.html" title="gr_types.h" alt="" coords="160,469,243,499"/><area shape="rect" id="node21" href="gr__complex_8h.html" title="gr_complex.h" alt="" coords="300,547,399,576"/><area shape="rect" id="node32" href="msg__accepter_8h.html" title="gruel/msg_accepter.h" alt="" coords="437,469,584,499"/><area shape="rect" id="node34" href="pmt_8h.html" title="gruel/pmt.h" alt="" coords="579,547,664,576"/><area shape="rect" id="node50" href="pmt__sugar_8h.html" title="gruel/pmt_sugar.h" alt="" coords="580,624,705,653"/></map>
</div>

<p><a href="cvsd__decode__bs_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvsd__decode__bs.html">cvsd_decode_bs</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This block performs CVSD audio decoding. Its design and implementation is modeled after the CVSD encoder/decoder specifications defined in the Bluetooth standard.  <a href="classcvsd__decode__bs.html#_details">More...</a><br/></td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classboost_1_1shared__ptr.html">cvsd_decode_bs_sptr</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="cvsd__decode__bs_8h.html#a52e4686902089af60d77ae9c8d6ca609">cvsd_make_decode_bs</a> (short min_step=10, short max_step=1280, double step_decay=0.9990234375, double accum_decay=0.96875, int K=32, int J=4, short pos_accum_max=32767, short neg_accum_max=-32767)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor parameters to initialize the CVSD decoder. The default values are modeled after the Bluetooth standard and should not be changed, except by an advanced user.  <a href="#a52e4686902089af60d77ae9c8d6ca609"></a><br/></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a52e4686902089af60d77ae9c8d6ca609"></a><!-- doxytag: member="cvsd_decode_bs.h::cvsd_make_decode_bs" ref="a52e4686902089af60d77ae9c8d6ca609" args="(short min_step=10, short max_step=1280, double step_decay=0.9990234375, double accum_decay=0.96875, int K=32, int J=4, short pos_accum_max=32767, short neg_accum_max=&#45;32767)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classboost_1_1shared__ptr.html">cvsd_decode_bs_sptr</a> cvsd_make_decode_bs </td>
          <td>(</td>
          <td class="paramtype">short&nbsp;</td>
          <td class="paramname"> <em>min_step</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&nbsp;</td>
          <td class="paramname"> <em>max_step</em> = <code>1280</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>step_decay</em> = <code>0.9990234375</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>accum_decay</em> = <code>0.96875</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>K</em> = <code>32</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>J</em> = <code>4</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&nbsp;</td>
          <td class="paramname"> <em>pos_accum_max</em> = <code>32767</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&nbsp;</td>
          <td class="paramname"> <em>neg_accum_max</em> = <code>-32767</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Constructor parameters to initialize the CVSD decoder. The default values are modeled after the Bluetooth standard and should not be changed, except by an advanced user. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>min_step</em>&nbsp;</td><td>Minimum step size used to update the internal reference. Default: "10" </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>max_step</em>&nbsp;</td><td>Maximum step size used to update the internal reference. Default: "1280" </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>step_decay</em>&nbsp;</td><td>Decay factor applied to step size when there is not a run of J output 1s or 0s. Default: "0.9990234375" (i.e. 1-1/1024) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>accum_decay</em>&nbsp;</td><td>Decay factor applied to the internal reference during every interation of the codec. Default: "0.96875" (i.e. 1-1/32) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>K;</em>&nbsp;</td><td>Size of shift register; the number of output bits remembered by codec (must be less or equal to 32). Default: "32" </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>J;</em>&nbsp;</td><td>Number of bits in the shift register that are equal; i.e. the size of a run of 1s, 0s. Default: "4" </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pos_accum_max</em>&nbsp;</td><td>Maximum integer value allowed for the internal reference. Default: "32767" (2^15 - 1 or MAXSHORT) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>neg_accum_max</em>&nbsp;</td><td>Minimum integer value allowed for the internal reference. Default: "-32767" (-2^15 + 1 or MINSHORT+1) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:51:09 2010 for GNU Radio 3.3.0 C++ API by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>