Lines Matching refs:scratch
122 kiss_fft_cpx scratch[6]; in kf_bfly4() local
134 C_MUL4(scratch[0],Fout[m] , *tw1 ); in kf_bfly4()
135 C_MUL4(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4()
136 C_MUL4(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4()
140 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4()
141 C_ADDTO(*Fout, scratch[1]); in kf_bfly4()
142 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4()
143 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4()
144 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4()
148 C_ADDTO( *Fout , scratch[3] ); in kf_bfly4()
150 Fout[m].r = scratch[5].r + scratch[4].i; in kf_bfly4()
151 Fout[m].i = scratch[5].i - scratch[4].r; in kf_bfly4()
152 Fout[m3].r = scratch[5].r - scratch[4].i; in kf_bfly4()
153 Fout[m3].i = scratch[5].i + scratch[4].r; in kf_bfly4()
169 kiss_fft_cpx scratch[6]; in ki_bfly4() local
181 C_MULC(scratch[0],Fout[m] , *tw1 ); in ki_bfly4()
182 C_MULC(scratch[1],Fout[m2] , *tw2 ); in ki_bfly4()
183 C_MULC(scratch[2],Fout[m3] , *tw3 ); in ki_bfly4()
185 C_SUB( scratch[5] , *Fout, scratch[1] ); in ki_bfly4()
186 C_ADDTO(*Fout, scratch[1]); in ki_bfly4()
187 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in ki_bfly4()
188 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in ki_bfly4()
189 C_SUB( Fout[m2], *Fout, scratch[3] ); in ki_bfly4()
193 C_ADDTO( *Fout , scratch[3] ); in ki_bfly4()
195 Fout[m].r = scratch[5].r - scratch[4].i; in ki_bfly4()
196 Fout[m].i = scratch[5].i + scratch[4].r; in ki_bfly4()
197 Fout[m3].r = scratch[5].r + scratch[4].i; in ki_bfly4()
198 Fout[m3].i = scratch[5].i - scratch[4].r; in ki_bfly4()
219 kiss_fft_cpx scratch[5]; in kf_bfly3() local
232 C_MUL(scratch[1],Fout[m] , *tw1); in kf_bfly3()
233 C_MUL(scratch[2],Fout[m2] , *tw2); in kf_bfly3()
235 C_ADD(scratch[3],scratch[1],scratch[2]); in kf_bfly3()
236 C_SUB(scratch[0],scratch[1],scratch[2]); in kf_bfly3()
240 Fout[m].r = Fout->r - HALF_OF(scratch[3].r); in kf_bfly3()
241 Fout[m].i = Fout->i - HALF_OF(scratch[3].i); in kf_bfly3()
243 C_MULBYSCALAR( scratch[0] , epi3.i ); in kf_bfly3()
245 C_ADDTO(*Fout,scratch[3]); in kf_bfly3()
247 Fout[m2].r = Fout[m].r + scratch[0].i; in kf_bfly3()
248 Fout[m2].i = Fout[m].i - scratch[0].r; in kf_bfly3()
250 Fout[m].r -= scratch[0].i; in kf_bfly3()
251 Fout[m].i += scratch[0].r; in kf_bfly3()
270 kiss_fft_cpx scratch[5]; in ki_bfly3() local
282 C_MULC(scratch[1],Fout[m] , *tw1); in ki_bfly3()
283 C_MULC(scratch[2],Fout[m2] , *tw2); in ki_bfly3()
285 C_ADD(scratch[3],scratch[1],scratch[2]); in ki_bfly3()
286 C_SUB(scratch[0],scratch[1],scratch[2]); in ki_bfly3()
290 Fout[m].r = Fout->r - HALF_OF(scratch[3].r); in ki_bfly3()
291 Fout[m].i = Fout->i - HALF_OF(scratch[3].i); in ki_bfly3()
293 C_MULBYSCALAR( scratch[0] , -epi3.i ); in ki_bfly3()
295 C_ADDTO(*Fout,scratch[3]); in ki_bfly3()
297 Fout[m2].r = Fout[m].r + scratch[0].i; in ki_bfly3()
298 Fout[m2].i = Fout[m].i - scratch[0].r; in ki_bfly3()
300 Fout[m].r -= scratch[0].i; in ki_bfly3()
301 Fout[m].i += scratch[0].r; in ki_bfly3()
319 kiss_fft_cpx scratch[13]; in kf_bfly5() local
340 scratch[0] = *Fout0; in kf_bfly5()
342 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); in kf_bfly5()
343 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); in kf_bfly5()
344 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); in kf_bfly5()
345 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); in kf_bfly5()
347 C_ADD( scratch[7],scratch[1],scratch[4]); in kf_bfly5()
348 C_SUB( scratch[10],scratch[1],scratch[4]); in kf_bfly5()
349 C_ADD( scratch[8],scratch[2],scratch[3]); in kf_bfly5()
350 C_SUB( scratch[9],scratch[2],scratch[3]); in kf_bfly5()
352 Fout0->r += scratch[7].r + scratch[8].r; in kf_bfly5()
353 Fout0->i += scratch[7].i + scratch[8].i; in kf_bfly5()
355 scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); in kf_bfly5()
356 scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); in kf_bfly5()
358 scratch[6].r = S_MUL(scratch[10].i,ya.i) + S_MUL(scratch[9].i,yb.i); in kf_bfly5()
359 scratch[6].i = -S_MUL(scratch[10].r,ya.i) - S_MUL(scratch[9].r,yb.i); in kf_bfly5()
361 C_SUB(*Fout1,scratch[5],scratch[6]); in kf_bfly5()
362 C_ADD(*Fout4,scratch[5],scratch[6]); in kf_bfly5()
364 scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); in kf_bfly5()
365 scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); in kf_bfly5()
366 scratch[12].r = - S_MUL(scratch[10].i,yb.i) + S_MUL(scratch[9].i,ya.i); in kf_bfly5()
367 scratch[12].i = S_MUL(scratch[10].r,yb.i) - S_MUL(scratch[9].r,ya.i); in kf_bfly5()
369 C_ADD(*Fout2,scratch[11],scratch[12]); in kf_bfly5()
370 C_SUB(*Fout3,scratch[11],scratch[12]); in kf_bfly5()
388 kiss_fft_cpx scratch[13]; in ki_bfly5() local
408 scratch[0] = *Fout0; in ki_bfly5()
410 C_MULC(scratch[1] ,*Fout1, tw[u*fstride]); in ki_bfly5()
411 C_MULC(scratch[2] ,*Fout2, tw[2*u*fstride]); in ki_bfly5()
412 C_MULC(scratch[3] ,*Fout3, tw[3*u*fstride]); in ki_bfly5()
413 C_MULC(scratch[4] ,*Fout4, tw[4*u*fstride]); in ki_bfly5()
415 C_ADD( scratch[7],scratch[1],scratch[4]); in ki_bfly5()
416 C_SUB( scratch[10],scratch[1],scratch[4]); in ki_bfly5()
417 C_ADD( scratch[8],scratch[2],scratch[3]); in ki_bfly5()
418 C_SUB( scratch[9],scratch[2],scratch[3]); in ki_bfly5()
420 Fout0->r += scratch[7].r + scratch[8].r; in ki_bfly5()
421 Fout0->i += scratch[7].i + scratch[8].i; in ki_bfly5()
423 scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); in ki_bfly5()
424 scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); in ki_bfly5()
426 scratch[6].r = -S_MUL(scratch[10].i,ya.i) - S_MUL(scratch[9].i,yb.i); in ki_bfly5()
427 scratch[6].i = S_MUL(scratch[10].r,ya.i) + S_MUL(scratch[9].r,yb.i); in ki_bfly5()
429 C_SUB(*Fout1,scratch[5],scratch[6]); in ki_bfly5()
430 C_ADD(*Fout4,scratch[5],scratch[6]); in ki_bfly5()
432 scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); in ki_bfly5()
433 scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); in ki_bfly5()
434 scratch[12].r = S_MUL(scratch[10].i,yb.i) - S_MUL(scratch[9].i,ya.i); in ki_bfly5()
435 scratch[12].i = -S_MUL(scratch[10].r,yb.i) + S_MUL(scratch[9].r,ya.i); in ki_bfly5()
437 C_ADD(*Fout2,scratch[11],scratch[12]); in ki_bfly5()
438 C_SUB(*Fout3,scratch[11],scratch[12]); in ki_bfly5()