CMSIS-DSP
Version 1.5.2
CMSIS DSP Software Library
|
const uint16_t armBitRevTable[1024] |
for(l=1;l <= N/4;l++) { for(i=0;i<logN2;i++) { a[i]=l&(1<<i); } for(j=0; j<logN2; j++) { if (a[j]!=0) y[l]+=(1<<((logN2-1)-j)); } y[l] = y[l] >> 1; }
Referenced by arm_cfft_radix2_init_f32(), arm_cfft_radix2_init_q15(), arm_cfft_radix2_init_q31(), arm_cfft_radix4_init_f32(), arm_cfft_radix4_init_q15(), and arm_cfft_radix4_init_q31().
const float32_t twiddleCoef_1024[2048] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_1024_q15[1536] |
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); }
const q31_t twiddleCoef_1024_q31[1536] |
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); }
const float32_t twiddleCoef_128[256] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_128_q15[192] |
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); }
const q31_t twiddleCoef_128_q31[192] |
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); }
const float32_t twiddleCoef_16[32] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_16_q15[24] |
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); }
const q31_t twiddleCoef_16_q31[24] |
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); }
const float32_t twiddleCoef_2048[4096] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_2048_q15[3072] |
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); }
const q31_t twiddleCoef_2048_q31[3072] |
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); }
const float32_t twiddleCoef_256[512] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_256_q15[384] |
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); }
const q31_t twiddleCoef_256_q31[384] |
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); }
const float32_t twiddleCoef_32[64] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_32_q15[48] |
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); }
const q31_t twiddleCoef_32_q31[48] |
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); }
const float32_t twiddleCoef_4096[8192] |
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); }
const q15_t twiddleCoef_4096_q15[6144] |
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); }
Referenced by arm_cfft_radix2_init_q15(), and arm_cfft_radix4_init_q15().
const q31_t twiddleCoef_4096_q31[6144] |
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); }
Referenced by arm_cfft_radix2_init_q31(), and arm_cfft_radix4_init_q31().
const float32_t twiddleCoef_512[1024] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_512_q15[768] |
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); }
const q31_t twiddleCoef_512_q31[768] |
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); }
const float32_t twiddleCoef_64[128] |
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); }
Referenced by arm_rfft_fast_init_f32().
const q15_t twiddleCoef_64_q15[96] |
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); }
const q31_t twiddleCoef_64_q31[96] |
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); }