CMSIS-DSP
Version 1.5.2
CMSIS DSP Software Library
|
|
static |
cos_factors[n] = 2 * cos((2n+1)*pi/(4*N))
for(i = 0; i< N; i++) { cos_factors[i]= 2 * cos((2*i+1)*c/2); }
N
is the number of factors to generate and c
is pi/(2*N)
Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
cos_factors[n] = 2 * cos((2n+1)*pi/(4*N))
for(i = 0; i< N; i++) { cos_factors[i]= 2 * cos((2*i+1)*c/2); }
N
is the number of factors to generate and c
is pi/(2*N)
Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
|
static |
cos_factors[n] = 2 * cos((2n+1)*pi/(4*N))
for(i = 0; i< N; i++) { cos_factors[i]= 2 * cos((2*i+1)*c/2); }
N
is the number of factors to generate and c
is pi/(2*N)
Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().
|
static |
weights[n] = e^(-j*n*pi/(2*N))
for(i = 0; i< N; i++) { weights[2*i]= cos(i*c); weights[(2*i)+1]= -sin(i * c); }
N
is the Number of weights to be calculated and c
is pi/(2*N)
2*N
. Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
|
static |
Referenced by arm_dct4_init_f32().
weights[n] = e^(-j*n*pi/(2*N))
for(i = 0; i< N; i++) { weights[2*i]= cos(i*c); weights[(2*i)+1]= -sin(i * c); }
N
is the Number of weights to be calculated and c
is pi/(2*N)
2*N
. Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
Referenced by arm_dct4_init_q15().
|
static |
weights[n] = e^(-j*n*pi/(2*N))
for(i = 0; i< N; i++) { weights[2*i]= cos(i*c); weights[(2*i)+1]= -sin(i * c); }
N
is the Number of weights to be calculated and c
is pi/(2*N)
2*N
. Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().
|
static |
Referenced by arm_dct4_init_q31().