Lines Matching refs:_window_sz
89 const float *_in,int _nchannels,size_t _nframes,int _window_sz, in band_energy() argument
98 window=(float *)opus_malloc((3+_nchannels)*_window_sz*sizeof(*window)); in band_energy()
99 c=window+_window_sz; in band_energy()
100 s=c+_window_sz; in band_energy()
101 x=s+_window_sz; in band_energy()
102 ps_sz=_window_sz/2; in band_energy()
103 for(xj=0;xj<_window_sz;xj++){ in band_energy()
104 window[xj]=0.5F-0.5F*OPUS_COSF((2*OPUS_PI/(_window_sz-1))*xj); in band_energy()
106 for(xj=0;xj<_window_sz;xj++){ in band_energy()
107 c[xj]=OPUS_COSF((2*OPUS_PI/_window_sz)*xj); in band_energy()
109 for(xj=0;xj<_window_sz;xj++){ in band_energy()
110 s[xj]=OPUS_SINF((2*OPUS_PI/_window_sz)*xj); in band_energy()
117 for(xk=0;xk<_window_sz;xk++){ in band_energy()
118 x[ci*_window_sz+xk]=window[xk]*_in[(xi*_step+xk)*_nchannels+ci]; in band_energy()
130 for(xk=0;xk<_window_sz;xk++){ 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()
134 if(ti>=_window_sz)ti-=_window_sz; in band_energy()