From e98f9ff29a55b4fd2c8cc01e32b9d1f5aeb8b81f Mon Sep 17 00:00:00 2001 From: Mark Borgerding Date: Fri, 7 Nov 2003 03:42:14 +0000 Subject: [PATCH] going to bed --- kiss_fft.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/kiss_fft.c b/kiss_fft.c index f58f88a..e56c805 100644 --- a/kiss_fft.c +++ b/kiss_fft.c @@ -292,7 +292,7 @@ void bfly_generic( kiss_fft_cpx * scratch2 = scratch + p; kiss_fft_cpx * tw = st->twiddles; kiss_fft_cpx tlo,t3,t4; - kiss_fft_cpx *Foutlo,*Fouthi,*tw2; + kiss_fft_cpx *Foutlo,*Fouthi; fsm = fstride*m; halfp=p/2; @@ -315,7 +315,6 @@ void bfly_generic( scratch2 = scratch + p; uf=u*fstride; - /* d==0 */ Foutlo=Fout; for ( q=1 ; q

r += t3.r - t4.r; - Fouthi->r += t3.r + t4.r; Foutlo->i += t3.i - t4.i; + Fouthi->r += t3.r + t4.r; Fouthi->i -= t3.i + t4.i; - } + }while( (Foutlo += m) < Fouthi ); } ++Fout; } @@ -372,7 +369,7 @@ void fft_work( switch (p) { case 2: bfly2(Fout,fstride,st,m); break; -#if 0 +#if 1 case 3: bfly3(Fout,fstride,st,m); break; #endif case 4: bfly4(Fout,fstride,st,m); break;