Lines Matching refs:ci
73 int ci; in read_pcm16() local
74 for(ci=0;ci<_nchannels;ci++){ in read_pcm16()
76 s=buf[2*(xi*_nchannels+ci)+1]<<8|buf[2*(xi*_nchannels+ci)]; in read_pcm16()
78 samples[(nsamples+xi)*_nchannels+ci]=s; in read_pcm16()
113 int ci; in band_energy() local
116 for(ci=0;ci<_nchannels;ci++){ in band_energy()
118 x[ci*_window_sz+xk]=window[xk]*_in[(xi*_step+xk)*_nchannels+ci]; in band_energy()
124 for(ci=0;ci<_nchannels;ci++){ in band_energy()
131 re+=c[ti]*x[ci*_window_sz+xk]; in band_energy()
132 im-=s[ti]*x[ci*_window_sz+xk]; in band_energy()
138 _ps[(xi*ps_sz+xj)*_nchannels+ci]=re*re+im*im+100000; in band_energy()
139 p[ci]+=_ps[(xi*ps_sz+xj)*_nchannels+ci]; in band_energy()
179 int ci; in main() local
263 for(ci=0;ci<nchannels;ci++){ in main()
264 xb[(xi*NBANDS+bi)*nchannels+ci]+= in main()
265 0.1F*xb[(xi*NBANDS+bi-1)*nchannels+ci]; in main()
270 for(ci=0;ci<nchannels;ci++){ in main()
271 xb[(xi*NBANDS+bi)*nchannels+ci]+= in main()
272 0.03F*xb[(xi*NBANDS+bi+1)*nchannels+ci]; in main()
278 for(ci=0;ci<nchannels;ci++){ in main()
279 xb[(xi*NBANDS+bi)*nchannels+ci]+= in main()
280 0.5F*xb[((xi-1)*NBANDS+bi)*nchannels+ci]; in main()
298 for(ci=0;ci<nchannels;ci++){ in main()
299 X[(xi*NFREQS+xj)*nchannels+ci]+= in main()
300 0.1F*xb[(xi*NBANDS+bi)*nchannels+ci]; in main()
301 Y[(xi*yfreqs+xj)*nchannels+ci]+= in main()
302 0.1F*xb[(xi*NBANDS+bi)*nchannels+ci]; in main()
311 for(ci=0;ci<nchannels;ci++){ in main()
314 xtmp = X[xj*nchannels+ci]; in main()
315 ytmp = Y[xj*nchannels+ci]; in main()
319 xtmp2 = X[(xi*NFREQS+xj)*nchannels+ci]; in main()
320 ytmp2 = Y[(xi*yfreqs+xj)*nchannels+ci]; in main()
321 X[(xi*NFREQS+xj)*nchannels+ci] += xtmp; in main()
322 Y[(xi*yfreqs+xj)*nchannels+ci] += ytmp; in main()
345 for(ci=0;ci<nchannels;ci++){ in main()
348 re=Y[(xi*yfreqs+xj)*nchannels+ci]/X[(xi*NFREQS+xj)*nchannels+ci]; in main()