summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/doc/html/fft_8hcc.html
diff options
context:
space:
mode:
Diffstat (limited to 'Graphic_Equalizer/doc/html/fft_8hcc.html')
-rw-r--r--Graphic_Equalizer/doc/html/fft_8hcc.html225
1 files changed, 225 insertions, 0 deletions
diff --git a/Graphic_Equalizer/doc/html/fft_8hcc.html b/Graphic_Equalizer/doc/html/fft_8hcc.html
new file mode 100644
index 0000000..d46b6b5
--- /dev/null
+++ b/Graphic_Equalizer/doc/html/fft_8hcc.html
@@ -0,0 +1,225 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>Graphic Equalizer: C:/Project Marcel &amp; Oliver/Graphic_Equalizer/src/fft.hcc File Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.9.1 -->
+<div class="qindex"><a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="globals.html">Globals</a></div>
+<div class="nav">
+<a class="el" href="dir_000000.html">C:</a>&nbsp;/&nbsp;<a class="el" href="dir_000001.html">Project Marcel &amp; Oliver</a>&nbsp;/&nbsp;<a class="el" href="dir_000002.html">Graphic_Equalizer</a>&nbsp;/&nbsp;<a class="el" href="dir_000004.html">src</a></div>
+<h1>fft.hcc File Reference</h1><code>#include &lt;stdlib.hch&gt;</code><br>
+<code>#include "pal_master.hch"</code><br>
+<code>#include "<a class="el" href="audio_8hch-source.html">audio.hch</a>"</code><br>
+<code>#include "weights_256.hch"</code><br>
+<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br>
+<code>#include "debug.hch"</code><br>
+<code>#include "xilinxmult.hch"</code><br>
+
+<p>
+Include dependency graph for fft.hcc:<p><center><img src="fft_8hcc__incl.png" border="0" usemap="#fft.hcc_map" alt="Include dependency graph"></center>
+<map name="fft.hcc_map">
+<area href="audio_8hch.html" shape="rect" coords="245,7,325,34" alt="">
+<area href="weights__256_8hch-source.html" shape="rect" coords="349,7,472,34" alt="">
+<area href="configuration_8hch.html" shape="rect" coords="496,7,621,34" alt="">
+</map>
+
+<p>
+<a href="fft_8hcc-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">macro proc&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a1">multiply</a> (result, op_a, op_b)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure used for multiply-ing. <a href="#a1"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a2">calculate_fft</a> (unsigned 1 select_inverse)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine performs the Fast Fourier Transform for calculation of the frequency spectrum. <a href="#a2"></a><br></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a5">equalize_audio</a> (audiodata_t *audiodata)</td></tr>
+
+<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars. <a href="#a5"></a><br></td></tr>
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<h2><a class="anchor" name="generic">
+Audiodriver API</a></h2>
+on the samples. Besides the FFT this module also will equalize the audio signal according to the setting made by the user.<h2><a class="anchor" name="project">
+Project information.</a></h2>
+Project Graphic Equalizer<br>
+ <dl compact><dt><b>Author:</b></dt><dd>M. Lauwerijssen </dd></dl>
+<dl compact><dt><b>Date:</b></dt><dd>20041110 </dd></dl>
+<dl compact><dt><b>Version:</b></dt><dd>0.1</dd></dl>
+<h2><a class="anchor" name="copyright">
+Copyright</a></h2>
+Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved<h2><a class="anchor" name="history">
+Change history</a></h2>
+20041110: M. Lauwerijssen<br>
+ Initial version
+<p>
+Definition in file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.<hr><h2>Function Documentation</h2>
+<a class="anchor" name="a2" doxytag="fft.hcc::calculate_fft"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void calculate_fft </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">unsigned 1&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>select_inverse</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This routine performs the Fast Fourier Transform for calculation of the frequency spectrum.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>select_inverse</em>&nbsp;</td><td>determines if a FFT or iFFT has to be calculated</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>nothing </dd></dl>
+<dl compact><dt><b>Return values:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td>cost 12391 cycles </td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00095">95</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+References <a class="el" href="fft_8hcc-source.html#l00073">multiply()</a>. </td>
+ </tr>
+</table>
+
+<p>
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a2_cgraph.png" border="0" usemap="#fft_8hcc_a2_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a2_cgraph_map">
+<area href="fft_8hcc.html#a1" shape="rect" coords="151,8,221,34" alt="">
+</map>
+<a class="anchor" name="a5" doxytag="fft.hcc::equalize_audio"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">void equalize_audio </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">audiodata_t *&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>audiodata</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>*audiodata</em>&nbsp;</td><td>pointer to the audiodata struct, containing the eq_info, etc.</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>nothing </dd></dl>
+<dl compact><dt><b>Return values:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>void</em>&nbsp;</td><td>cost 3844 cycles (Maximum) </td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00389">389</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+References <a class="el" href="fft_8hcc-source.html#l00073">multiply()</a>. </td>
+ </tr>
+</table>
+
+<p>
+Here is the call graph for this function:<p><center><img src="fft_8hcc_a5_cgraph.png" border="0" usemap="#fft_8hcc_a5_cgraph_map" alt=""></center>
+<map name="fft_8hcc_a5_cgraph_map">
+<area href="fft_8hcc.html#a1" shape="rect" coords="167,8,237,34" alt="">
+</map>
+<a class="anchor" name="a1" doxytag="fft.hcc::multiply"></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top">macro proc multiply </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top">result&nbsp;</td>
+ <td class="mdname" nowrap>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>op_a&nbsp;</td>
+ <td class="mdname" nowrap>, </td>
+ </tr>
+ <tr>
+ <td class="md" nowrap align="right"></td>
+ <td class="md"></td>
+ <td class="md" nowrap>op_b&nbsp;</td>
+ <td class="mdname" nowrap></td>
+ </tr>
+ <tr>
+ <td class="md"></td>
+ <td class="md">)&nbsp;</td>
+ <td class="md" colspan="2"></td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing="5" cellpadding="0" border="0">
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+Procedure used for multiply-ing.
+<p>
+<dl compact><dt><b>Parameters:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>variable containing the result of the multiply procedure </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>op_a</em>&nbsp;</td><td>integer value to be multiplied. </td></tr>
+ <tr><td valign="top"></td><td valign="top"><em>op_b</em>&nbsp;</td><td>integer value to be multiplied.</td></tr>
+ </table>
+</dl>
+<dl compact><dt><b>Returns:</b></dt><dd>Procedure returns through variable. </dd></dl>
+<dl compact><dt><b>Return values:</b></dt><dd>
+ <table border="0" cellspacing="2" cellpadding="0">
+ <tr><td valign="top"></td><td valign="top"><em>signed</em>&nbsp;</td><td>36 </td></tr>
+ </table>
+</dl>
+
+<p>
+Definition at line <a class="el" href="fft_8hcc-source.html#l00073">73</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>.
+<p>
+Referenced by <a class="el" href="fft_8hcc-source.html#l00095">calculate_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00389">equalize_audio()</a>. </td>
+ </tr>
+</table>
+<hr size="1"><address style="align: right;"><small>Generated on Mon Nov 29 12:04:49 2004 for Graphic Equalizer by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
+</body>
+</html>