diff options
author | Oliver Schinagl <oliver@schinagl.nl> | 2004-12-09 14:00:26 (GMT) |
---|---|---|
committer | Oliver Schinagl <oliver@schinagl.nl> | 2004-12-09 14:00:26 (GMT) |
commit | b0ae032ae5712e38471c9347af289f3e50b0a08a (patch) | |
tree | 5f98113107975ddcc484cffb27625e09d015f504 /Graphic_Equalizer_Split/doc/html/fft_8hcc.html | |
parent | 593d5fded11b8723ce27883e06865ab205c6f008 (diff) | |
download | TASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.zip TASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.tar.gz TASS-b0ae032ae5712e38471c9347af289f3e50b0a08a.tar.bz2 |
Added defines makeing it possible to split the application in various parts namely:
Loader (loads data from the smart media into ram)
Equalizer (The 'normal' known application)
Visualization (The graphical visualization)
Diffstat (limited to 'Graphic_Equalizer_Split/doc/html/fft_8hcc.html')
-rw-r--r-- | Graphic_Equalizer_Split/doc/html/fft_8hcc.html | 380 |
1 files changed, 380 insertions, 0 deletions
diff --git a/Graphic_Equalizer_Split/doc/html/fft_8hcc.html b/Graphic_Equalizer_Split/doc/html/fft_8hcc.html new file mode 100644 index 0000000..4440372 --- /dev/null +++ b/Graphic_Equalizer_Split/doc/html/fft_8hcc.html @@ -0,0 +1,380 @@ +<!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 2: C:/Project Marcel & 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 Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div> +<div class="nav"> +<a class="el" href="dir_000000.html">C:</a> / <a class="el" href="dir_000001.html">Project Marcel & Oliver</a> / <a class="el" href="dir_000002.html">Graphic_Equalizer</a> / <a class="el" href="dir_000004.html">src</a></div> +<h1>fft.hcc File Reference</h1><code>#include <stdlib.hch></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 "<a class="el" href="weights__256_8hch-source.html">weights_256.hch</a>"</code><br> +<code>#include "<a class="el" href="configuration_8hch-source.html">configuration.hch</a>"</code><br> +<code>#include "xilinxmult.hch"</code><br> +<code>#include "<a class="el" href="fft_8hch-source.html">fft.hch</a>"</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.html" shape="rect" coords="349,7,472,34" alt=""> +<area href="configuration_8hch.html" shape="rect" coords="496,7,621,34" alt=""> +<area href="fft_8hch.html" shape="rect" coords="773,7,832,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>Defines</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a0">DC_COMPONENT</a> 8470527</td></tr> + +<tr><td colspan="2"><br><h2>Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">macro proc </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a2">multiply</a> (result, op_a, op_b)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Procedure used for multiply-ing. <a href="#a2"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a3">calculate_fft</a> (unsigned 1 select_inverse)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This routine performs the Fast Fourier Transform for calculation of the frequency spectrum. <a href="#a3"></a><br></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a4">perform_fft</a> (signed 16 *pcm_audio)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a5">perform_ifft</a> (signed 16 *modified_audio, unsigned 6 *ifft_info)</td></tr> + +<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a6">equalize_audio</a> (<a class="el" href="structaudiodata__t.html">audiodata_t</a> *audiodata)</td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">This routine equalizes the frequencies derived by the FFT calculation, according to the settings of the equalizer bars. <a href="#a6"></a><br></td></tr> +<tr><td colspan="2"><br><h2>Variables</h2></td></tr> +<tr><td class="memItemLeft" nowrap align="right" valign="top">ram signed </td><td class="memItemRight" valign="bottom"><a class="el" href="fft_8hcc.html#a1">eq_settings</a> [16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63}</td></tr> + +</table> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<h2><a class="anchor" name="generic"> +Graphic Equalizer 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>Define Documentation</h2> +<a class="anchor" name="a0" doxytag="fft.hcc::DC_COMPONENT"></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">#define DC_COMPONENT 8470527 </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00069">69</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. </td> + </tr> +</table> +<hr><h2>Function Documentation</h2> +<a class="anchor" name="a2" 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">( </td> + <td class="md" nowrap valign="top">result </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 </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 </td> + <td class="mdname" nowrap></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </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> </td><td>variable containing the result of the multiply procedure </td></tr> + <tr><td valign="top"></td><td valign="top"><em>op_a</em> </td><td>integer value to be multiplied. </td></tr> + <tr><td valign="top"></td><td valign="top"><em>op_b</em> </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> </td><td>36 </td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00082">82</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#l00104">calculate_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00398">equalize_audio()</a>. </td> + </tr> +</table> +<a class="anchor" name="a3" 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">( </td> + <td class="md" nowrap valign="top">unsigned 1 </td> + <td class="mdname1" valign="top" nowrap> <em>select_inverse</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </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> </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> </td><td>cost 12391 cycles </td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00104">104</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. +<p> +References <a class="el" href="fft_8hcc-source.html#l00082">multiply()</a>, <a class="el" href="fft_8hch-source.html#l00001">NUMBER_OF_COLUMNS</a>, <a class="el" href="fft_8hch-source.html#l00002">NUMBER_OF_POINTS</a>, <a class="el" href="weights__256_8hch-source.html#l00135">weight_im</a>, and <a class="el" href="weights__256_8hch-source.html#l00004">weight_re</a>. +<p> +Referenced by <a class="el" href="fft_8hcc-source.html#l00259">perform_fft()</a>, and <a class="el" href="fft_8hcc-source.html#l00324">perform_ifft()</a>. </td> + </tr> +</table> + +<p> +Here is the call graph for this function:<p><center><img src="fft_8hcc_a3_cgraph.png" border="0" usemap="#fft_8hcc_a3_cgraph_map" alt=""></center> +<map name="fft_8hcc_a3_cgraph_map"> +<area href="fft_8hcc.html#a2" shape="rect" coords="151,8,221,34" alt=""> +</map> +<a class="anchor" name="a4" doxytag="fft.hcc::perform_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 perform_fft </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">signed 16 * </td> + <td class="mdname1" valign="top" nowrap> <em>pcm_audio</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00259">259</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. +<p> +References <a class="el" href="fft_8hcc-source.html#l00104">calculate_fft()</a>. </td> + </tr> +</table> + +<p> +Here is the call graph for this function:<p><center><img src="fft_8hcc_a4_cgraph.png" border="0" usemap="#fft_8hcc_a4_cgraph_map" alt=""></center> +<map name="fft_8hcc_a4_cgraph_map"> +<area href="fft_8hcc.html#a3" shape="rect" coords="145,8,238,34" alt=""> +<area href="fft_8hcc.html#a2" shape="rect" coords="287,8,357,34" alt=""> +</map> +<a class="anchor" name="a5" doxytag="fft.hcc::perform_ifft"></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 perform_ifft </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">signed 16 * </td> + <td class="mdname" nowrap> <em>modified_audio</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td class="md"></td> + <td class="md" nowrap>unsigned 6 * </td> + <td class="mdname" nowrap> <em>ifft_info</em></td> + </tr> + <tr> + <td class="md"></td> + <td class="md">) </td> + <td class="md" colspan="2"></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00324">324</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. +<p> +References <a class="el" href="fft_8hcc-source.html#l00104">calculate_fft()</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#a3" shape="rect" coords="150,8,244,34" alt=""> +<area href="fft_8hcc.html#a2" shape="rect" coords="293,8,362,34" alt=""> +</map> +<a class="anchor" name="a6" 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">( </td> + <td class="md" nowrap valign="top"><a class="el" href="structaudiodata__t.html">audiodata_t</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>audiodata</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap></td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </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>Note:</b></dt><dd>Cost: 3844 clock cycles (Maximum)</dd></dl> +<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> </td><td>pointer to the audiodata struct, containing the eq_info, etc.</td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>void </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> </td><td></td></tr> + </table> +</dl> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00398">398</a> of file <a class="el" href="fft_8hcc-source.html">fft.hcc</a>. +<p> +References <a class="el" href="audio_8hch-source.html#l00035">audiodata_t::display_log</a>, <a class="el" href="fft_8hcc-source.html#l00064">eq_settings</a>, <a class="el" href="audio_8hch-source.html#l00034">audiodata_t::equalizer_levels_ptr</a>, <a class="el" href="fft_8hcc-source.html#l00082">multiply()</a>, and <a class="el" href="fft_8hch-source.html#l00002">NUMBER_OF_POINTS</a>. </td> + </tr> +</table> + +<p> +Here is the call graph for this function:<p><center><img src="fft_8hcc_a6_cgraph.png" border="0" usemap="#fft_8hcc_a6_cgraph_map" alt=""></center> +<map name="fft_8hcc_a6_cgraph_map"> +<area href="fft_8hcc.html#a2" shape="rect" coords="167,8,237,34" alt=""> +</map> +<hr><h2>Variable Documentation</h2> +<a class="anchor" name="a1" doxytag="fft.hcc::eq_settings"></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">ram signed <a class="el" href="fft_8hcc.html#a1">eq_settings</a>[16] = {0,2,4,7,10,13,16,19,22,26,30,35,41,48,55,63} </td> + </tr> + </table> + </td> + </tr> +</table> +<table cellspacing="5" cellpadding="0" border="0"> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="fft_8hcc-source.html#l00064">64</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#l00398">equalize_audio()</a>. </td> + </tr> +</table> +<hr size="1"><address style="align: right;"><small>Generated on Thu Dec 9 14:37:09 2004 for Graphic Equalizer 2 by +<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> |