Lines Matching refs:audiosize
222 int audiosize; in opus_decode_frame() local
257 audiosize = st->frame_size; in opus_decode_frame()
261 audiosize = frame_size; in opus_decode_frame()
267 for (i=0;i<audiosize*st->channels;i++) in opus_decode_frame()
270 return audiosize; in opus_decode_frame()
275 if (audiosize > F20) in opus_decode_frame()
278 int ret = opus_decode_frame(st, NULL, 0, pcm, IMIN(audiosize, F20), 0); in opus_decode_frame()
285 audiosize -= ret; in opus_decode_frame()
286 } while (audiosize > 0); in opus_decode_frame()
289 } else if (audiosize < F20) in opus_decode_frame()
291 if (audiosize > F10) in opus_decode_frame()
292 audiosize = F10; in opus_decode_frame()
293 else if (mode != MODE_SILK_ONLY && audiosize > F5 && audiosize < F10) in opus_decode_frame()
294 audiosize = F5; in opus_decode_frame()
316 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); in opus_decode_frame()
318 if (audiosize > frame_size) in opus_decode_frame()
324 frame_size = audiosize; in opus_decode_frame()
341 st->DecControl.payloadSize_ms = IMAX(10, 1000 * audiosize / st->Fs); in opus_decode_frame()
453 opus_decode_frame(st, NULL, 0, pcm_transition, IMIN(F5, audiosize), 0); in opus_decode_frame()
534 if (audiosize >= F5) in opus_decode_frame()
575 if (OPUS_CHECK_ARRAY(pcm, audiosize*st->channels)) in opus_decode_frame()
576 OPUS_PRINT_INT(audiosize); in opus_decode_frame()
580 return celt_ret < 0 ? celt_ret : audiosize; in opus_decode_frame()
910 int audiosize; in opus_packet_get_samples_per_frame() local
913 audiosize = ((data[0]>>3)&0x3); in opus_packet_get_samples_per_frame()
914 audiosize = (Fs<<audiosize)/400; in opus_packet_get_samples_per_frame()
917 audiosize = (data[0]&0x08) ? Fs/50 : Fs/100; in opus_packet_get_samples_per_frame()
919 audiosize = ((data[0]>>3)&0x3); in opus_packet_get_samples_per_frame()
920 if (audiosize == 3) in opus_packet_get_samples_per_frame()
921 audiosize = Fs*60/1000; in opus_packet_get_samples_per_frame()
923 audiosize = (Fs<<audiosize)/100; in opus_packet_get_samples_per_frame()
925 return audiosize; in opus_packet_get_samples_per_frame()