Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus.c176 int audiosize; in opus_packet_get_samples_per_frame() local
179 audiosize = ((data[0]>>3)&0x3); in opus_packet_get_samples_per_frame()
180 audiosize = (Fs<<audiosize)/400; in opus_packet_get_samples_per_frame()
183 audiosize = (data[0]&0x08) ? Fs/50 : Fs/100; in opus_packet_get_samples_per_frame()
185 audiosize = ((data[0]>>3)&0x3); in opus_packet_get_samples_per_frame()
186 if (audiosize == 3) in opus_packet_get_samples_per_frame()
187 audiosize = Fs*60/1000; in opus_packet_get_samples_per_frame()
189 audiosize = (Fs<<audiosize)/100; in opus_packet_get_samples_per_frame()
191 return audiosize; in opus_packet_get_samples_per_frame()
Dopus_decoder.c238 int audiosize; in opus_decode_frame() local
275 audiosize = st->frame_size; in opus_decode_frame()
280 audiosize = frame_size; in opus_decode_frame()
287 for (i=0;i<audiosize*st->channels;i++) in opus_decode_frame()
290 return audiosize; in opus_decode_frame()
295 if (audiosize > F20) in opus_decode_frame()
298 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
305 audiosize -= ret; in opus_decode_frame()
306 } while (audiosize > 0); in opus_decode_frame()
309 } else if (audiosize < F20) in opus_decode_frame()
[all …]