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.c218 int audiosize; in opus_decode_frame() local
254 audiosize = st->frame_size; in opus_decode_frame()
258 audiosize = frame_size; in opus_decode_frame()
264 for (i=0;i<audiosize*st->channels;i++) in opus_decode_frame()
267 return audiosize; in opus_decode_frame()
272 if (audiosize > F20) in opus_decode_frame()
275 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
282 audiosize -= ret; in opus_decode_frame()
283 } while (audiosize > 0); in opus_decode_frame()
286 } else if (audiosize < F20) in opus_decode_frame()
[all …]