<!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: gr_fir_ccf_simd 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.6.3 --> <div class="contents"> <h1>gr_fir_ccf_simd Class Reference</h1><!-- doxytag: class="gr_fir_ccf_simd" --><!-- doxytag: inherits="gr_fir_ccf_generic" --> <p>common base class for SIMD versions of <a class="el" href="classgr__fir__ccf.html" title="Abstract class for FIR with gr_complex input, gr_complex output and float tapsThis...">gr_fir_ccf</a>This base class handles alignment issues common to SSE and 3DNOW subclasses. <a href="#_details">More...</a></p> <p><code>#include <<a class="el" href="gr__fir__ccf__simd_8h_source.html">gr_fir_ccf_simd.h</a>></code></p> <div class="dynheader"> Inheritance diagram for gr_fir_ccf_simd:</div> <div class="dynsection"> <div class="center"><img src="classgr__fir__ccf__simd__inherit__graph.png" border="0" usemap="#gr__fir__ccf__simd_inherit__map" alt="Inheritance graph"/></div> <map name="gr__fir__ccf__simd_inherit__map" id="gr__fir__ccf__simd_inherit__map"> <area shape="rect" id="node7" href="classgr__fir__ccf__3dnow.html" title="3DNow! version of gr_fir_ccf" alt="" coords="5,237,125,267"/><area shape="rect" id="node9" href="classgr__fir__ccf__sse.html" title="SSE version of gr_fir_ccf." alt="" coords="149,237,253,267"/><area shape="rect" id="node2" href="classgr__fir__ccf__generic.html" title="Concrete class for generic implementation of FIR with gr_complex input, gr_complex..." alt="" coords="71,83,196,112"/><area shape="rect" id="node4" href="classgr__fir__ccf.html" title="Abstract class for FIR with gr_complex input, gr_complex output and float tapsThis..." alt="" coords="96,5,171,35"/></map> <center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classgr__fir__ccf__simd-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a9c8229586ed0a73d176c0960feb90531">gr_fir_ccf_simd</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#ae6af6ec1bf4f676d0a1a3c2acd744285">gr_fir_ccf_simd</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< float > &<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a233af35deedb8f55261421089c923e73">~gr_fir_ccf_simd</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a970d13e317fa6471e65da3bcd94a2e24">set_taps</a> (const <a class="el" href="classstd_1_1vector.html">std::vector</a>< float > &<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">install <code>new_taps</code> as the current taps. <a href="#a970d13e317fa6471e65da3bcd94a2e24"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a8acdb63d025f11d8f028565c68f03bc0">filter</a> (const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> input[])</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">compute a single output value. <a href="#a8acdb63d025f11d8f028565c68f03bc0"></a><br/></td></tr> <tr><td colspan="2"><h2>Protected Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#abcf7817f4bfed0daf6111c7a238859a2">fcomplex_dotprod_t</a> )(const float *<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>, const float *input, unsigned n_2_complex_blocks, float *result)</td></tr> <tr><td colspan="2"><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">float * </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a21b414b07a0353484e342e1e96216bd0">d_aligned_taps</a> [4]</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classgr__fir__ccf__simd.html#abcf7817f4bfed0daf6111c7a238859a2">fcomplex_dotprod_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classgr__fir__ccf__simd.html#a1f38cc30575580de30009fc8b50e9640">d_fcomplex_dotprod</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>common base class for SIMD versions of <a class="el" href="classgr__fir__ccf.html" title="Abstract class for FIR with gr_complex input, gr_complex output and float tapsThis...">gr_fir_ccf</a></p> <p>This base class handles alignment issues common to SSE and 3DNOW subclasses. </p> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="abcf7817f4bfed0daf6111c7a238859a2"></a><!-- doxytag: member="gr_fir_ccf_simd::fcomplex_dotprod_t" ref="abcf7817f4bfed0daf6111c7a238859a2" args=")(const float *taps, const float *input, unsigned n_2_complex_blocks, float *result)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef void(* <a class="el" href="classgr__fir__ccf__simd.html#abcf7817f4bfed0daf6111c7a238859a2">gr_fir_ccf_simd::fcomplex_dotprod_t</a>)(const float *<a class="el" href="interpolator__taps_8h.html#a30bf032e13c2a9fc4a98e14e390cd65a">taps</a>, const float *input, unsigned n_2_complex_blocks, float *result)<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a9c8229586ed0a73d176c0960feb90531"></a><!-- doxytag: member="gr_fir_ccf_simd::gr_fir_ccf_simd" ref="a9c8229586ed0a73d176c0960feb90531" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_fir_ccf_simd::gr_fir_ccf_simd </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="ae6af6ec1bf4f676d0a1a3c2acd744285"></a><!-- doxytag: member="gr_fir_ccf_simd::gr_fir_ccf_simd" ref="ae6af6ec1bf4f676d0a1a3c2acd744285" args="(const std::vector< float > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_fir_ccf_simd::gr_fir_ccf_simd </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< float > & </td> <td class="paramname"> <em>taps</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a233af35deedb8f55261421089c923e73"></a><!-- doxytag: member="gr_fir_ccf_simd::~gr_fir_ccf_simd" ref="a233af35deedb8f55261421089c923e73" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gr_fir_ccf_simd::~gr_fir_ccf_simd </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a8acdb63d025f11d8f028565c68f03bc0"></a><!-- doxytag: member="gr_fir_ccf_simd::filter" ref="a8acdb63d025f11d8f028565c68f03bc0" args="(const gr_complex input[])" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> gr_fir_ccf_simd::filter </td> <td>(</td> <td class="paramtype">const <a class="el" href="gr__complex_8h.html#aec4bfe41433369afae9327f1b0bc9109">gr_complex</a> </td> <td class="paramname"> <em>input</em>[]</td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>compute a single output value. </p> <p><code>input</code> must have <a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a> valid entries. input[0] .. input[<a class="el" href="classgr__fir__ccf.html#a03fb8ba5795cd467c6bd6314ac4a4d78">ntaps()</a> - 1] are referenced to compute the output value.</p> <dl class="return"><dt><b>Returns:</b></dt><dd>the filtered input value. </dd></dl> <p>Reimplemented from <a class="el" href="classgr__fir__ccf__generic.html#aa3965e06fadc82c0ffde8949842b6088">gr_fir_ccf_generic</a>.</p> </div> </div> <a class="anchor" id="a970d13e317fa6471e65da3bcd94a2e24"></a><!-- doxytag: member="gr_fir_ccf_simd::set_taps" ref="a970d13e317fa6471e65da3bcd94a2e24" args="(const std::vector< float > &taps)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void gr_fir_ccf_simd::set_taps </td> <td>(</td> <td class="paramtype">const <a class="el" href="classstd_1_1vector.html">std::vector</a>< float > & </td> <td class="paramname"> <em>taps</em></td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>install <code>new_taps</code> as the current taps. </p> <p>Reimplemented from <a class="el" href="classgr__fir__ccf.html#afaa800d2c0901730c37101bdfff9386d">gr_fir_ccf</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a21b414b07a0353484e342e1e96216bd0"></a><!-- doxytag: member="gr_fir_ccf_simd::d_aligned_taps" ref="a21b414b07a0353484e342e1e96216bd0" args="[4]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">float* <a class="el" href="classgr__fir__ccf__simd.html#a21b414b07a0353484e342e1e96216bd0">gr_fir_ccf_simd::d_aligned_taps</a>[4]<code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> <p><code>aligned_taps</code> holds 4 copies of the coefficients preshifted by 0, 1, 2, or 3 float pairs to meet all possible input data alignments. This allows us to always fetch data and taps that are 128-bit aligned. </p> </div> </div> <a class="anchor" id="a1f38cc30575580de30009fc8b50e9640"></a><!-- doxytag: member="gr_fir_ccf_simd::d_fcomplex_dotprod" ref="a1f38cc30575580de30009fc8b50e9640" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classgr__fir__ccf__simd.html#abcf7817f4bfed0daf6111c7a238859a2">fcomplex_dotprod_t</a> <a class="el" href="classgr__fir__ccf__simd.html#a1f38cc30575580de30009fc8b50e9640">gr_fir_ccf_simd::d_fcomplex_dotprod</a><code> [protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gr__fir__ccf__simd_8h_source.html">gr_fir_ccf_simd.h</a></li> </ul> </div> <hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Dec 29 19:52:43 2010 for GNU Radio 3.3.0 C++ API by <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>