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
54 void check(kiss_fft_cpx * in,kiss_fft_cpx * out,int nfft,int isinverse)
78 ansr += in[k].r * re - in[k].i * im;
79 ansi += in[k].r * im + in[k].i * re;
99 kiss_fft_cpx * in = (kiss_fft_cpx*)malloc(buflen);
105 in[k].r = (rand() % 32767) - 16384;
106 in[k].i = (rand() % 32767) - 16384;
110 in[k].r *= 32768;
111 in[k].i *= 32768;
117 in[k].r /= nfft;
118 in[k].i /= nfft;
122 /*for (k=0;k<nfft;++k) printf("%d %d ", in[k].r, in[k].i);printf("\n");*/
125 opus_ifft(cfg,in,out);
127 opus_fft(cfg,in,out);
131 check(in,out,nfft,isinverse);
133 free(in);