Official ARM version: v5.6.0
This commit is contained in:
parent
9f95ff5b6b
commit
96d6da4e25
2939 changed files with 339304 additions and 113320 deletions
|
|
@ -32,7 +32,7 @@
|
|||
<td id="projectlogo"><img alt="Logo" src="CMSIS_Logo_Final.png"/></td>
|
||||
<td style="padding-left: 0.5em;">
|
||||
<div id="projectname">CMSIS-DSP
|
||||
 <span id="projectnumber">Version 1.5.2</span>
|
||||
 <span id="projectnumber">Version 1.7.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">CMSIS DSP Software Library</div>
|
||||
</td>
|
||||
|
|
@ -117,8 +117,10 @@ $(document).ready(function(){initNavTree('group__CFFT__CIFFT.html','');});
|
|||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
|
||||
Variables</h2></td></tr>
|
||||
<tr class="memitem:gae247e83ad50d474107254e25b36ad42b"><td class="memItemLeft" align="right" valign="top">const uint16_t </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#gae247e83ad50d474107254e25b36ad42b">armBitRevTable</a> [1024]</td></tr>
|
||||
<tr class="memdesc:gae247e83ad50d474107254e25b36ad42b"><td class="mdescLeft"> </td><td class="mdescRight">Table for bit reversal process. <a href="#gae247e83ad50d474107254e25b36ad42b">More...</a><br/></td></tr>
|
||||
<tr class="separator:gae247e83ad50d474107254e25b36ad42b"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gae75e243ec61706427314270f222e0c8e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#gae75e243ec61706427314270f222e0c8e">twiddleCoef_16</a> [32]</td></tr>
|
||||
<tr class="memdesc:gae75e243ec61706427314270f222e0c8e"><td class="mdescLeft"> </td><td class="mdescRight">Floating-point Twiddle factors Table Generation. <a href="#gae75e243ec61706427314270f222e0c8e">More...</a><br/></td></tr>
|
||||
<tr class="separator:gae75e243ec61706427314270f222e0c8e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga78a72c85d88185de98050c930cfc76e3"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#ga78a72c85d88185de98050c930cfc76e3">twiddleCoef_32</a> [64]</td></tr>
|
||||
<tr class="separator:ga78a72c85d88185de98050c930cfc76e3"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
|
@ -137,6 +139,7 @@ Variables</h2></td></tr>
|
|||
<tr class="memitem:gae0182d1dd3b2f21aad4e38a815a0bd40"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#a4611b605e45ab401f02cab15c5e38715">float32_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#gae0182d1dd3b2f21aad4e38a815a0bd40">twiddleCoef_4096</a> [8192]</td></tr>
|
||||
<tr class="separator:gae0182d1dd3b2f21aad4e38a815a0bd40"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gaef4697e1ba348c4ac9358f2b9e279e93"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#gaef4697e1ba348c4ac9358f2b9e279e93">twiddleCoef_16_q31</a> [24]</td></tr>
|
||||
<tr class="memdesc:gaef4697e1ba348c4ac9358f2b9e279e93"><td class="mdescLeft"> </td><td class="mdescRight">Q31 Twiddle factors Table. <a href="#gaef4697e1ba348c4ac9358f2b9e279e93">More...</a><br/></td></tr>
|
||||
<tr class="separator:gaef4697e1ba348c4ac9358f2b9e279e93"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8ba78d5e6ef4bdc58e8f0044e0664a0a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#ga8ba78d5e6ef4bdc58e8f0044e0664a0a">twiddleCoef_32_q31</a> [48]</td></tr>
|
||||
<tr class="separator:ga8ba78d5e6ef4bdc58e8f0044e0664a0a"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
|
@ -155,6 +158,7 @@ Variables</h2></td></tr>
|
|||
<tr class="memitem:ga67c0890317deab3391e276f22c1fc400"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#adc89a3547f5324b7b3b95adec3806bc0">q31_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#ga67c0890317deab3391e276f22c1fc400">twiddleCoef_4096_q31</a> [6144]</td></tr>
|
||||
<tr class="separator:ga67c0890317deab3391e276f22c1fc400"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ga8e4e2e05f4a3112184c96cb3308d6c39"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#ga8e4e2e05f4a3112184c96cb3308d6c39">twiddleCoef_16_q15</a> [24]</td></tr>
|
||||
<tr class="memdesc:ga8e4e2e05f4a3112184c96cb3308d6c39"><td class="mdescLeft"> </td><td class="mdescRight">q15 Twiddle factors Table <a href="#ga8e4e2e05f4a3112184c96cb3308d6c39">More...</a><br/></td></tr>
|
||||
<tr class="separator:ga8e4e2e05f4a3112184c96cb3308d6c39"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:gac194a4fe04a19051ae1811f69c6e5df2"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="arm__math_8h.html#ab5a8fb21a5b3b983d5f54f31614052ea">q15_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__CFFT__CIFFT.html#gac194a4fe04a19051ae1811f69c6e5df2">twiddleCoef_32_q15</a> [48]</td></tr>
|
||||
<tr class="separator:gac194a4fe04a19051ae1811f69c6e5df2"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
|
|
@ -185,24 +189,22 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Pseudo code for Generation of Bit reversal Table is </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(l=1;l <= N/4;l++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (l = 1; l <= N/4; l++)
|
||||
{
|
||||
for(i=0;i<logN2;i++)
|
||||
for (i = 0; i< logN2; i++)
|
||||
{
|
||||
a[i]=l&(1<<i);
|
||||
a[i] = l & (1 << i);
|
||||
}
|
||||
for(j=0; j<logN2; j++)
|
||||
for (j = 0; j < logN2; j++)
|
||||
{
|
||||
if (a[j]!=0)
|
||||
y[l]+=(1<<((logN2-1)-j));
|
||||
if (a[j] != 0)
|
||||
y[l] += (1 << ((logN2 - 1) - j));
|
||||
}
|
||||
y[l] = y[l] >> 1;
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096 logN2 = 12 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096, logN2 = 12 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>N is the maximum FFT Size supported </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__ComplexFFT.html#gac9565e6bc7229577ecf5e090313cafd7">arm_cfft_radix2_init_f32()</a>, <a class="el" href="group__ComplexFFT.html#ga5c5b2127b3c4ea2d03692127f8543858">arm_cfft_radix2_init_q15()</a>, <a class="el" href="group__ComplexFFT.html#gabec9611e77382f31e152668bf6b4b638">arm_cfft_radix2_init_q31()</a>, <a class="el" href="group__ComplexFFT.html#gaf336459f684f0b17bfae539ef1b1b78a">arm_cfft_radix4_init_f32()</a>, <a class="el" href="group__ComplexFFT.html#ga0c2acfda3126c452e75b81669e8ad9ef">arm_cfft_radix4_init_q15()</a>, and <a class="el" href="group__ComplexFFT.html#gad5caaafeec900c8ff72321c01bbd462c">arm_cfft_radix4_init_q31()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga27c056eb130a4333d1cc5dd43ec738b1"></a>
|
||||
|
|
@ -215,16 +217,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga8a0ec95d866fe96b740e77d6e1356b59"></a>
|
||||
|
|
@ -237,12 +237,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -258,12 +258,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 1024, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -279,16 +279,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gabfdd1c5cd2b3f96da5fe5f07c707a8e5"></a>
|
||||
|
|
@ -301,12 +299,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -322,12 +320,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i < 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 128, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -343,16 +341,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i < N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga8e4e2e05f4a3112184c96cb3308d6c39"></a>
|
||||
|
|
@ -365,12 +361,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>fori = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -386,12 +382,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre> for(i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 16, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -407,16 +403,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gadd16ce08ffd1048c385e0534a3b19cbb"></a>
|
||||
|
|
@ -429,12 +423,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -450,12 +444,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 2048, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -473,14 +467,12 @@ Variables</h2></td></tr>
|
|||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga6099ae5262a0a3a8d9ce1e6da02f0c2e"></a>
|
||||
|
|
@ -493,12 +485,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -514,12 +506,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 256, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -535,16 +527,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gac194a4fe04a19051ae1811f69c6e5df2"></a>
|
||||
|
|
@ -557,12 +547,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -578,12 +568,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 32, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -599,12 +589,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
</div>
|
||||
|
|
@ -619,17 +609,15 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__ComplexFFT.html#ga5c5b2127b3c4ea2d03692127f8543858">arm_cfft_radix2_init_q15()</a>, and <a class="el" href="group__ComplexFFT.html#ga0c2acfda3126c452e75b81669e8ad9ef">arm_cfft_radix4_init_q15()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga67c0890317deab3391e276f22c1fc400"></a>
|
||||
|
|
@ -642,17 +630,15 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 4096, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__ComplexFFT.html#gabec9611e77382f31e152668bf6b4b638">arm_cfft_radix2_init_q31()</a>, and <a class="el" href="group__ComplexFFT.html#gad5caaafeec900c8ff72321c01bbd462c">arm_cfft_radix4_init_q31()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gad8830f0c068ab2cc19f2f87d220fa148"></a>
|
||||
|
|
@ -665,16 +651,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="ga6152621af210f847128c6f38958fa385"></a>
|
||||
|
|
@ -687,12 +671,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -708,12 +692,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 512, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -729,16 +713,14 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Floating-point Twiddle factors Generation: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< N/; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i < N/; i++)
|
||||
{
|
||||
twiddleCoef[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoef[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are in interleaved fashion </dd></dl>
|
||||
|
||||
<p>Referenced by <a class="el" href="group__RealFFT.html#gac5fceb172551e7c11eb4d0e17ef15aa3">arm_rfft_fast_init_f32()</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a class="anchor" id="gaa0cc411e0b3c82078e85cfdf1b84290f"></a>
|
||||
|
|
@ -751,12 +733,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for q15 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefq15[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefq15[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to q15(Fixed point 1.15): round(twiddleCoefq15(i) * pow(2, 15)) </dd></dl>
|
||||
|
||||
|
|
@ -772,12 +754,12 @@ Variables</h2></td></tr>
|
|||
</table>
|
||||
</div><div class="memdoc">
|
||||
<dl class="section user"><dt></dt><dd>Example code for Q31 Twiddle factors Generation:: </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd><pre>for(i = 0; i< 3N/4; i++)
|
||||
<dl class="section user"><dt></dt><dd><pre>for (i = 0; i< 3N/4; i++)
|
||||
{
|
||||
twiddleCoefQ31[2*i]= cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1]= sin(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i] = cos(i * 2*PI/(float)N);
|
||||
twiddleCoefQ31[2*i+1] = sin(i * 2*PI/(float)N);
|
||||
} </pre> </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64 and PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>where N = 64, PI = 3.14159265358979 </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Cos and Sin values are interleaved fashion </dd></dl>
|
||||
<dl class="section user"><dt></dt><dd>Convert Floating point to Q31(Fixed point 1.31): round(twiddleCoefQ31(i) * pow(2, 31)) </dd></dl>
|
||||
|
||||
|
|
@ -788,7 +770,7 @@ Variables</h2></td></tr>
|
|||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated on Wed Aug 1 2018 17:12:22 for CMSIS-DSP by Arm Ltd. All rights reserved.
|
||||
<li class="footer">Generated on Wed Jul 10 2019 15:20:40 for CMSIS-DSP Version 1.7.0 by Arm Ltd. All rights reserved.
|
||||
<!--
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue