Lines Matching refs:scratch

60     kiss_fft_cpx scratch[6];  in kf_bfly4()  local
71 C_MUL(scratch[0],Fout[m] , *tw1 ); in kf_bfly4()
72 C_MUL(scratch[1],Fout[m2] , *tw2 ); in kf_bfly4()
73 C_MUL(scratch[2],Fout[m3] , *tw3 ); in kf_bfly4()
75 C_SUB( scratch[5] , *Fout, scratch[1] ); in kf_bfly4()
76 C_ADDTO(*Fout, scratch[1]); in kf_bfly4()
77 C_ADD( scratch[3] , scratch[0] , scratch[2] ); in kf_bfly4()
78 C_SUB( scratch[4] , scratch[0] , scratch[2] ); in kf_bfly4()
79 C_SUB( Fout[m2], *Fout, scratch[3] ); in kf_bfly4()
83 C_ADDTO( *Fout , scratch[3] ); 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()
88 Fout[m3].r = scratch[5].r + scratch[4].i; in kf_bfly4()
89 Fout[m3].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()
93 Fout[m3].r = scratch[5].r - scratch[4].i; in kf_bfly4()
94 Fout[m3].i = scratch[5].i + scratch[4].r; in kf_bfly4()
110 kiss_fft_cpx scratch[5]; in kf_bfly3() local
119 C_MUL(scratch[1],Fout[m] , *tw1); in kf_bfly3()
120 C_MUL(scratch[2],Fout[m2] , *tw2); in kf_bfly3()
122 C_ADD(scratch[3],scratch[1],scratch[2]); in kf_bfly3()
123 C_SUB(scratch[0],scratch[1],scratch[2]); 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()
130 C_MULBYSCALAR( scratch[0] , epi3.i ); in kf_bfly3()
132 C_ADDTO(*Fout,scratch[3]); 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()
153 kiss_fft_cpx scratch[13]; in kf_bfly5() local
169 scratch[0] = *Fout0; in kf_bfly5()
171 C_MUL(scratch[1] ,*Fout1, tw[u*fstride]); in kf_bfly5()
172 C_MUL(scratch[2] ,*Fout2, tw[2*u*fstride]); in kf_bfly5()
173 C_MUL(scratch[3] ,*Fout3, tw[3*u*fstride]); in kf_bfly5()
174 C_MUL(scratch[4] ,*Fout4, tw[4*u*fstride]); in kf_bfly5()
176 C_ADD( scratch[7],scratch[1],scratch[4]); in kf_bfly5()
177 C_SUB( scratch[10],scratch[1],scratch[4]); in kf_bfly5()
178 C_ADD( scratch[8],scratch[2],scratch[3]); in kf_bfly5()
179 C_SUB( scratch[9],scratch[2],scratch[3]); in kf_bfly5()
181 Fout0->r += scratch[7].r + scratch[8].r; in kf_bfly5()
182 Fout0->i += scratch[7].i + scratch[8].i; in kf_bfly5()
184 scratch[5].r = scratch[0].r + S_MUL(scratch[7].r,ya.r) + S_MUL(scratch[8].r,yb.r); in kf_bfly5()
185 scratch[5].i = scratch[0].i + S_MUL(scratch[7].i,ya.r) + S_MUL(scratch[8].i,yb.r); in kf_bfly5()
187 scratch[6].r = S_MUL(scratch[10].i,ya.i) + S_MUL(scratch[9].i,yb.i); in kf_bfly5()
188 scratch[6].i = -S_MUL(scratch[10].r,ya.i) - S_MUL(scratch[9].r,yb.i); in kf_bfly5()
190 C_SUB(*Fout1,scratch[5],scratch[6]); in kf_bfly5()
191 C_ADD(*Fout4,scratch[5],scratch[6]); in kf_bfly5()
193 scratch[11].r = scratch[0].r + S_MUL(scratch[7].r,yb.r) + S_MUL(scratch[8].r,ya.r); in kf_bfly5()
194 scratch[11].i = scratch[0].i + S_MUL(scratch[7].i,yb.r) + S_MUL(scratch[8].i,ya.r); in kf_bfly5()
195 scratch[12].r = - S_MUL(scratch[10].i,yb.i) + S_MUL(scratch[9].i,ya.i); in kf_bfly5()
196 scratch[12].i = S_MUL(scratch[10].r,yb.i) - S_MUL(scratch[9].r,ya.i); in kf_bfly5()
198 C_ADD(*Fout2,scratch[11],scratch[12]); in kf_bfly5()
199 C_SUB(*Fout3,scratch[11],scratch[12]); in kf_bfly5()
219 kiss_fft_cpx * scratch = (kiss_fft_cpx*)KISS_FFT_TMP_ALLOC(sizeof(kiss_fft_cpx)*(size_t)p); in kf_bfly_generic() local
224 scratch[q1] = Fout[ k ]; in kf_bfly_generic()
225 C_FIXDIV(scratch[q1],p); in kf_bfly_generic()
232 Fout[ k ] = scratch[0]; in kf_bfly_generic()
236 C_MUL(t,scratch[q] , twiddles[twidx] ); in kf_bfly_generic()
242 KISS_FFT_TMP_FREE(scratch); in kf_bfly_generic()