mirror of
https://github.com/mborgerding/kissfft.git
synced 2025-06-04 01:28:23 -04:00
cputime=5.940
to cputime=5.840
This commit is contained in:
parent
210f219648
commit
f95bd02866
19
kiss_fft.c
19
kiss_fft.c
@ -252,21 +252,24 @@ void kf_work(
|
|||||||
{
|
{
|
||||||
kiss_fft_cpx * Fout_beg=Fout;
|
kiss_fft_cpx * Fout_beg=Fout;
|
||||||
kiss_fft_cpx * Fout_end;
|
kiss_fft_cpx * Fout_end;
|
||||||
|
|
||||||
int m,p;
|
int m,p;
|
||||||
|
|
||||||
p=*factors++; /* the radix */
|
p=*factors++; /* the radix */
|
||||||
m=*factors++; /* stage's fft length/p */
|
m=*factors++; /* stage's fft length/p */
|
||||||
Fout_end = Fout + p*m;
|
Fout_end = Fout + p*m;
|
||||||
|
|
||||||
do{
|
if (m==1) {
|
||||||
if (m==1)
|
do{
|
||||||
*Fout = *f;
|
*Fout++ = *f;
|
||||||
else
|
f += fstride*in_stride;
|
||||||
|
}while(Fout != Fout_end );
|
||||||
|
}else{
|
||||||
|
do{
|
||||||
kf_work( Fout , f, fstride*p, in_stride, factors,st);
|
kf_work( Fout , f, fstride*p, in_stride, factors,st);
|
||||||
Fout += m;
|
f += fstride*in_stride;
|
||||||
f += fstride*in_stride;
|
Fout += m;
|
||||||
}while(Fout != Fout_end );
|
}while(Fout != Fout_end );
|
||||||
|
}
|
||||||
|
|
||||||
Fout=Fout_beg;
|
Fout=Fout_beg;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user