Lines Matching refs:m
25 int m in kf_bfly2() argument
31 Fout2 = Fout + m; in kf_bfly2()
41 }while (--m); in kf_bfly2()
48 const size_t m in kf_bfly4() argument
53 size_t k=m; in kf_bfly4()
54 const size_t m2=2*m; in kf_bfly4()
55 const size_t m3=3*m; in kf_bfly4()
61 C_FIXDIV(*Fout,4); C_FIXDIV(Fout[m],4); C_FIXDIV(Fout[m2],4); C_FIXDIV(Fout[m3],4); in kf_bfly4()
63 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4()
78 Fout[m].r = scratch[5].r - scratch[4].i; in kf_bfly4()
79 Fout[m].i = scratch[5].i + scratch[4].r; in kf_bfly4()
83 Fout[m].r = scratch[5].r + scratch[4].i; in kf_bfly4()
84 Fout[m].i = scratch[5].i - scratch[4].r; in kf_bfly4()
96 size_t m in kf_bfly3() argument
99 size_t k=m; in kf_bfly3()
100 const size_t m2 = 2*m; in kf_bfly3()
104 epi3 = st->twiddles[fstride*m]; in kf_bfly3()
109 C_FIXDIV(*Fout,3); C_FIXDIV(Fout[m],3); C_FIXDIV(Fout[m2],3); in kf_bfly3()
111 C_MUL(scratch[1],Fout[m] , *tw1); in kf_bfly3()
119 Fout[m].r = Fout->r - HALF_OF(scratch[3].r); in kf_bfly3()
120 Fout[m].i = Fout->i - HALF_OF(scratch[3].i); in kf_bfly3()
126 Fout[m2].r = Fout[m].r + scratch[0].i; in kf_bfly3()
127 Fout[m2].i = Fout[m].i - scratch[0].r; in kf_bfly3()
129 Fout[m].r -= scratch[0].i; in kf_bfly3()
130 Fout[m].i += scratch[0].r; in kf_bfly3()
140 int m in kf_bfly5() argument
149 ya = twiddles[fstride*(size_t)m]; in kf_bfly5()
150 yb = twiddles[fstride*2*(size_t)m]; in kf_bfly5()
153 Fout1=Fout0+m; in kf_bfly5()
154 Fout2=Fout0+2*m; in kf_bfly5()
155 Fout3=Fout0+3*m; in kf_bfly5()
156 Fout4=Fout0+4*m; in kf_bfly5()
159 for ( u=0; u<(size_t)m; ++u ) { in kf_bfly5()
202 int m, in kf_bfly_generic() argument
213 for ( u=0; u<m; ++u ) { in kf_bfly_generic()
218 k += m; in kf_bfly_generic()
231 k += m; in kf_bfly_generic()
249 const int m=*factors++; /* stage's fft length/p */ in kf_work() local
250 const kiss_fft_cpx * Fout_end = Fout + p*m; in kf_work()
262 kf_work( Fout +k*m, f+ fstride*in_stride*k,fstride*p,in_stride,factors,st); in kf_work()
266 case 2: kf_bfly2(Fout,fstride,st,m); break; in kf_work()
267 case 3: kf_bfly3(Fout,fstride,st,m); break; in kf_work()
268 case 4: kf_bfly4(Fout,fstride,st,m); break; in kf_work()
269 case 5: kf_bfly5(Fout,fstride,st,m); break; in kf_work()
270 default: kf_bfly_generic(Fout,fstride,st,m,p); break; in kf_work()
276 if (m==1) { in kf_work()
289 }while( (Fout += m) != Fout_end ); in kf_work()
296 case 2: kf_bfly2(Fout,fstride,st,m); break; in kf_work()
297 case 3: kf_bfly3(Fout,fstride,st,(size_t)m); break; in kf_work()
298 case 4: kf_bfly4(Fout,fstride,st,(size_t)m); break; in kf_work()
299 case 5: kf_bfly5(Fout,fstride,st,m); break; in kf_work()
300 default: kf_bfly_generic(Fout,fstride,st,m,p); break; in kf_work()
399 int m=n; in kiss_fft_next_fast_size() local
400 while ( (m%2) == 0 ) m/=2; in kiss_fft_next_fast_size()
401 while ( (m%3) == 0 ) m/=3; in kiss_fft_next_fast_size()
402 while ( (m%5) == 0 ) m/=5; in kiss_fft_next_fast_size()
403 if (m<=1) in kiss_fft_next_fast_size()