Lines Matching refs:m
33 int m in kf_bfly2() argument
39 Fout2 = Fout + m; in kf_bfly2()
49 }while (--m); in kf_bfly2()
56 const size_t m in kf_bfly4() argument
61 size_t k=m; in kf_bfly4()
62 const size_t m2=2*m; in kf_bfly4()
63 const size_t m3=3*m; in kf_bfly4()
69 C_FIXDIV(*Fout,4); C_FIXDIV(Fout[m],4); C_FIXDIV(Fout[m2],4); C_FIXDIV(Fout[m3],4); in kf_bfly4()
71 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4()
86 Fout[m].r = scratch[5].r - scratch[4].i; in kf_bfly4()
87 Fout[m].i = scratch[5].i + scratch[4].r; in kf_bfly4()
91 Fout[m].r = scratch[5].r + scratch[4].i; in kf_bfly4()
92 Fout[m].i = scratch[5].i - scratch[4].r; in kf_bfly4()
104 size_t m in kf_bfly3() argument
107 size_t k=m; in kf_bfly3()
108 const size_t m2 = 2*m; in kf_bfly3()
112 epi3 = st->twiddles[fstride*m]; in kf_bfly3()
117 C_FIXDIV(*Fout,3); C_FIXDIV(Fout[m],3); C_FIXDIV(Fout[m2],3); in kf_bfly3()
119 C_MUL(scratch[1],Fout[m] , *tw1); in kf_bfly3()
127 Fout[m].r = Fout->r - HALF_OF(scratch[3].r); in kf_bfly3()
128 Fout[m].i = Fout->i - HALF_OF(scratch[3].i); in kf_bfly3()
134 Fout[m2].r = Fout[m].r + scratch[0].i; in kf_bfly3()
135 Fout[m2].i = Fout[m].i - scratch[0].r; in kf_bfly3()
137 Fout[m].r -= scratch[0].i; in kf_bfly3()
138 Fout[m].i += scratch[0].r; in kf_bfly3()
148 int m in kf_bfly5() argument
157 ya = twiddles[fstride*(size_t)m]; in kf_bfly5()
158 yb = twiddles[fstride*2*(size_t)m]; in kf_bfly5()
161 Fout1=Fout0+m; in kf_bfly5()
162 Fout2=Fout0+2*m; in kf_bfly5()
163 Fout3=Fout0+3*m; in kf_bfly5()
164 Fout4=Fout0+4*m; in kf_bfly5()
167 for ( u=0; u<(size_t)m; ++u ) { in kf_bfly5()
210 int m, in kf_bfly_generic() argument
221 for ( u=0; u<m; ++u ) { in kf_bfly_generic()
226 k += m; in kf_bfly_generic()
239 k += m; in kf_bfly_generic()
257 const int m=*factors++; /* stage's fft length/p */ in kf_work() local
258 const kiss_fft_cpx * Fout_end = Fout + p*m; in kf_work()
270 kf_work( Fout +k*m, f+ fstride*in_stride*k,fstride*p,in_stride,factors,st); in kf_work()
274 case 2: kf_bfly2(Fout,fstride,st,m); break; in kf_work()
275 case 3: kf_bfly3(Fout,fstride,st,m); break; in kf_work()
276 case 4: kf_bfly4(Fout,fstride,st,m); break; in kf_work()
277 case 5: kf_bfly5(Fout,fstride,st,m); break; in kf_work()
278 default: kf_bfly_generic(Fout,fstride,st,m,p); break; in kf_work()
284 if (m==1) { in kf_work()
297 }while( (Fout += m) != Fout_end ); in kf_work()
304 case 2: kf_bfly2(Fout,fstride,st,m); break; in kf_work()
305 case 3: kf_bfly3(Fout,fstride,st,(size_t)m); break; in kf_work()
306 case 4: kf_bfly4(Fout,fstride,st,(size_t)m); break; in kf_work()
307 case 5: kf_bfly5(Fout,fstride,st,m); break; in kf_work()
308 default: kf_bfly_generic(Fout,fstride,st,m,p); break; in kf_work()
407 int m=n; in kiss_fft_next_fast_size() local
408 while ( (m%2) == 0 ) m/=2; in kiss_fft_next_fast_size()
409 while ( (m%3) == 0 ) m/=3; in kiss_fft_next_fast_size()
410 while ( (m%5) == 0 ) m/=5; in kiss_fft_next_fast_size()
411 if (m<=1) in kiss_fft_next_fast_size()