Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 6e7a2755bd78c9deedab199b86e675f3 > files > 3107

gnuradio-doc-3.2.2-9.fc14.x86_64.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.2.2 C++ API: cvsd_decode_bs.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.7.3 -->
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GNU Radio 3.2.2 C++ API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('cvsd__decode__bs_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<h1>cvsd_decode_bs.h File Reference</h1>  </div>
</div>
<div class="contents">
<div class="textblock"><code>#include &lt;gr_sync_interpolator.h&gt;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for cvsd_decode_bs.h:</div>
<div class="dyncontent">
<div class="center"><img src="cvsd__decode__bs_8h__incl.png" border="0" usemap="#cvsd__decode__bs_8h" alt=""/></div>
<map name="cvsd__decode__bs_8h" id="cvsd__decode__bs_8h">
</map>
</div>
</div>
<p><a href="cvsd__decode__bs_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcvsd__decode__bs.html">cvsd_decode_bs</a></td></tr>
<tr><td class="mdescLeft">&#160;</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><a name="func-members"></a>
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>&#160;</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">&#160;</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&#160;</td>
          <td class="paramname"><em>min_step</em> = <code>10</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&#160;</td>
          <td class="paramname"><em>max_step</em> = <code>1280</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</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&#160;</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&#160;</td>
          <td class="paramname"><em>K</em> = <code>32</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>J</em> = <code>4</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">short&#160;</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&#160;</td>
          <td class="paramname"><em>neg_accum_max</em> = <code>-32767</code>&#160;</td>
        </tr>
        <tr>
          <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 class="params">
    <tr><td class="paramname">min_step</td><td>Minimum step size used to update the internal reference. Default: "10" </td></tr>
    <tr><td class="paramname">max_step</td><td>Maximum step size used to update the internal reference. Default: "1280" </td></tr>
    <tr><td class="paramname">step_decay</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 class="paramname">accum_decay</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 class="paramname">K;</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 class="paramname">J;</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 class="paramname">pos_accum_max</td><td>Maximum integer value allowed for the internal reference. Default: "32767" (2^15 - 1 or MAXSHORT) </td></tr>
    <tr><td class="paramname">neg_accum_max</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>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="cvsd__decode__bs_8h.html">cvsd_decode_bs.h</a>      </li>
      <li class="footer">Generated on Thu Feb 17 2011 for GNU Radio 3.2.2 C++ API by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </li>
    </ul>
  </div>

</body>
</html>