Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 7392c77c84ff25edfeb07995a77d5148 > files > 554

steghide-0.5.1-11mdv2010.0.i586.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>steghide: WavPCMSampleValue Class 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 class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>WavPCMSampleValue Class Reference</h1><!-- doxytag: class="WavPCMSampleValue" --><!-- doxytag: inherits="SampleValue" --><code>#include &lt;<a class="el" href="WavPCMSampleValue_8h_source.html">WavPCMSampleValue.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for WavPCMSampleValue:</div>
<div class="dynsection">

<p><center><img src="classWavPCMSampleValue.png" usemap="#WavPCMSampleValue_map" border="0" alt=""></center>
<map name="WavPCMSampleValue_map">
<area href="classSampleValue.html" alt="SampleValue" shape="rect" coords="0,0,139,24">
</map>
</div>

<p>
<a href="classWavPCMSampleValue-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#ae81b19d622123ba6d70478d5004ff3a">WavPCMSampleValue</a> (int v)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#260934da89ac7e20f54feae081576d80">getNearestTargetSampleValue</a> (<a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a> t) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#e7904bae064c50328d7c308aa9aa41e7">calcDistance</a> (const <a class="el" href="classSampleValue.html">SampleValue</a> *s) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#ca62237ff9ccafa1aeac856474023d38">getName</a> (void) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#2679c00705ed728bf1df9747d7240514">getValue</a> (void) const </td></tr>

<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#64c17455ef7771443deedd5e7bf656d8">calcEValue</a> (int v) const </td></tr>

<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#ae1057f324f86a73e644c4957aca4c0f">Value</a></td></tr>

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

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classWavPCMSampleValue.html#44106d42e52a3e8fa4f6243e2c9ec9e4">MinValue</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="ae81b19d622123ba6d70478d5004ff3a"></a><!-- doxytag: member="WavPCMSampleValue::WavPCMSampleValue" ref="ae81b19d622123ba6d70478d5004ff3a" args="(int v)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">WavPCMSampleValue::WavPCMSampleValue           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e7904bae064c50328d7c308aa9aa41e7"></a><!-- doxytag: member="WavPCMSampleValue::calcDistance" ref="e7904bae064c50328d7c308aa9aa41e7" args="(const SampleValue *s) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#6b8592979b076e06aa233e3f586ac999">UWORD32</a> WavPCMSampleValue::calcDistance           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSampleValue.html">SampleValue</a> *&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
calculate the distance between the sample value s and this sample value <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>s</em>&nbsp;</td><td>a sample value of the same type as this </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the distance </dd></dl>

<p>Implements <a class="el" href="classSampleValue.html#a7e5d9b69203f6f6edf97c79319232dd">SampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="64c17455ef7771443deedd5e7bf656d8"></a><!-- doxytag: member="WavPCMSampleValue::calcEValue" ref="64c17455ef7771443deedd5e7bf656d8" args="(int v) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a> WavPCMSampleValue::calcEValue           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>v</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline, private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ca62237ff9ccafa1aeac856474023d38"></a><!-- doxytag: member="WavPCMSampleValue::getName" ref="ca62237ff9ccafa1aeac856474023d38" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string WavPCMSampleValue::getName           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
return a short name uniquely identifying this sample value 
<p>Implements <a class="el" href="classSampleValue.html#eaf5c46ec6d023840e9773604b20d25c">SampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="260934da89ac7e20f54feae081576d80"></a><!-- doxytag: member="WavPCMSampleValue::getNearestTargetSampleValue" ref="260934da89ac7e20f54feae081576d80" args="(EmbValue t) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSampleValue.html">SampleValue</a> * WavPCMSampleValue::getNearestTargetSampleValue           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="common_8h.html#cf820202f81f25eb00734eac0d7aed2d">EmbValue</a>&nbsp;</td>
          <td class="paramname"> <em>t</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
get the nearest (with the least distance to this sample value) sample value whose embedded value equals the specified target <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>t</em>&nbsp;</td><td>the target embedded value</td></tr>
  </table>
</dl>
If two or more target sample values have equal distance each of them should be returned with equal probability.<p>
The returned <a class="el" href="classSampleValue.html" title="the value of a sample in a CvrStgFile">SampleValue</a> object should be deleted by the callser. 
<p>Implements <a class="el" href="classSampleValue.html#eca3fc1fd34c09d2244706b010935c2c">SampleValue</a>.</p>

</div>
</div><p>
<a class="anchor" name="2679c00705ed728bf1df9747d7240514"></a><!-- doxytag: member="WavPCMSampleValue::getValue" ref="2679c00705ed728bf1df9747d7240514" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int WavPCMSampleValue::getValue           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e0ea5221a0a0fa15fa25a93a3bf23339"></a><!-- doxytag: member="WavPCMSampleValue::MaxValue" ref="e0ea5221a0a0fa15fa25a93a3bf23339" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classWavPCMSampleValue.html#e0ea5221a0a0fa15fa25a93a3bf23339">WavPCMSampleValue::MaxValue</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="44106d42e52a3e8fa4f6243e2c9ec9e4"></a><!-- doxytag: member="WavPCMSampleValue::MinValue" ref="44106d42e52a3e8fa4f6243e2c9ec9e4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classWavPCMSampleValue.html#44106d42e52a3e8fa4f6243e2c9ec9e4">WavPCMSampleValue::MinValue</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="ae1057f324f86a73e644c4957aca4c0f"></a><!-- doxytag: member="WavPCMSampleValue::Value" ref="ae1057f324f86a73e644c4957aca4c0f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classWavPCMSampleValue.html#ae1057f324f86a73e644c4957aca4c0f">WavPCMSampleValue::Value</a><code> [private]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="WavPCMSampleValue_8h_source.html">WavPCMSampleValue.h</a><li><a class="el" href="WavPCMSampleValue_8cc.html">WavPCMSampleValue.cc</a></ul>
</div>
<hr size="1"><address style="text-align: right;"><small>Generated on Mon Aug 17 10:58:33 2009 for steghide 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>