Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_compare.c54 static size_t read_pcm16(float **_samples,FILE *_fin,int _nchannels){ in read_pcm16() argument
64 nread=fread(buf,2*_nchannels,1024/(2*_nchannels),_fin); in read_pcm16()
70 _nchannels*csamples*sizeof(*samples)); in read_pcm16()
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()
84 _nchannels*nsamples*sizeof(*samples)); in read_pcm16()
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()
116 for(ci=0;ci<_nchannels;ci++){ in band_energy()
[all …]