Home | History | Annotate | Download | only in FFT

Lines Matching refs:scratch

111       Complex scratch[6];
114 scratch[0] = Fout[k+m] * m_twiddles[k*fstride];
115 scratch[1] = Fout[k+2*m] * m_twiddles[k*fstride*2];
116 scratch[2] = Fout[k+3*m] * m_twiddles[k*fstride*3];
117 scratch[5] = Fout[k] - scratch[1];
119 Fout[k] += scratch[1];
120 scratch[3] = scratch[0] + scratch[2];
121 scratch[4] = scratch[0] - scratch[2];
122 scratch[4] = Complex( scratch[4].imag()*negative_if_inverse , -scratch[4].real()* negative_if_inverse );
124 Fout[k+2*m] = Fout[k] - scratch[3];
125 Fout[k] += scratch[3];
126 Fout[k+m] = scratch[5] + scratch[4];
127 Fout[k+3*m] = scratch[5] - scratch[4];
137 Complex scratch[5];
144 scratch[1]=Fout[m] * *tw1;
145 scratch[2]=Fout[m2] * *tw2;
147 scratch[3]=scratch[1]+scratch[2];
148 scratch[0]=scratch[1]-scratch[2];
151 Fout[m] = Complex( Fout->real() - Scalar(.5)*scratch[3].real() , Fout->imag() - Scalar(.5)*scratch[3].imag() );
152 scratch[0] *= epi3.imag();
153 *Fout += scratch[3];
154 Fout[m2] = Complex( Fout[m].real() + scratch[0].imag() , Fout[m].imag() - scratch[0].real() );
155 Fout[m] += Complex( -scratch[0].imag(),scratch[0].real() );
165 Complex scratch[13];
180 scratch[0] = *Fout0;
182 scratch[1] = *Fout1 * tw[u*fstride];
183 scratch[2] = *Fout2 * tw[2*u*fstride];
184 scratch[3] = *Fout3 * tw[3*u*fstride];
185 scratch[4] = *Fout4 * tw[4*u*fstride];
187 scratch[7] = scratch[1] + scratch[4];
188 scratch[10] = scratch[1] - scratch[4];
189 scratch[8] = scratch[2] + scratch[3];
190 scratch[9] = scratch[2] - scratch[3];
192 *Fout0 += scratch[7];
193 *Fout0 += scratch[8];
195 scratch[5] = scratch[0] + Complex(
196 (scratch[7].real()*ya.real() ) + (scratch[8].real() *yb.real() ),
197 (scratch[7].imag()*ya.real()) + (scratch[8].imag()*yb.real())
200 scratch[6] = Complex(
201 (scratch[10].imag()*ya.imag()) + (scratch[9].imag()*yb.imag()),
202 -(scratch[10].real()*ya.imag()) - (scratch[9].real()*yb.imag())
205 *Fout1 = scratch[5] - scratch[6];
206 *Fout4 = scratch[5] + scratch[6];
208 scratch[11] = scratch[0] +
210 (scratch[7].real()*yb.real()) + (scratch[8].real()*ya.real()),
211 (scratch[7].imag()*yb.real()) + (scratch[8].imag()*ya.real())
214 scratch[12] = Complex(
215 -(scratch[10].imag()*yb.imag()) + (scratch[9].imag()*ya.imag()),
216 (scratch[10].real()*yb.imag()) - (scratch[9].real()*ya.imag())
219 *Fout2=scratch[11]+scratch[12];
220 *Fout3=scratch[11]-scratch[12];