Home | History | Annotate | Download | only in tests

Lines Matching defs:in

4    Redistribution and use in source and binary forms, with or without
11 - Redistributions in binary form must reproduce the above copyright
12 notice, this list of conditions and the following disclaimer in the
18 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER
23 LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
24 NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
71 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse)
95 ansr += in[k].r * re - in[k].i * im;
96 ansi += in[k].r * im + in[k].i * re;
116 kiss_fft_cpx * in = (kiss_fft_cpx*)malloc(buflen);
122 in[k].r = (rand() % 32767) - 16384;
123 in[k].i = (rand() % 32767) - 16384;
127 in[k].r *= 32768;
128 in[k].i *= 32768;
134 in[k].r /= nfft;
135 in[k].i /= nfft;
139 /*for (k=0;k<nfft;++k) printf("%d %d ", in[k].r, in[k].i);printf("\n");*/
142 opus_ifft(cfg,in,out, arch);
144 opus_fft(cfg,in,out, arch);
148 check(in,out,nfft,isinverse);
150 free(in);