Home
last modified time | relevance | path

Searched refs:_window_sz (Results 1 – 1 of 1) sorted by relevance

/external/libopus/src/
Dopus_compare.c89 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()
[all …]