Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_decoder.c642 int packet_frame_size, packet_bandwidth, packet_mode, packet_stream_channels; in opus_decode_native() local
671 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs); in opus_decode_native()
686 … if (frame_size < packet_frame_size || packet_mode == MODE_CELT_ONLY || st->mode == MODE_CELT_ONLY) in opus_decode_native()
690 if (frame_size-packet_frame_size!=0) in opus_decode_native()
692 … ret = opus_decode_native(st, NULL, 0, pcm, frame_size-packet_frame_size, 0, 0, NULL, soft_clip); in opus_decode_native()
698 celt_assert(ret==frame_size-packet_frame_size); in opus_decode_native()
703 st->frame_size = packet_frame_size; in opus_decode_native()
705 ret = opus_decode_frame(st, data, size[0], pcm+st->channels*(frame_size-packet_frame_size), in opus_decode_native()
706 packet_frame_size, 1); in opus_decode_native()
717 if (count*packet_frame_size > frame_size) in opus_decode_native()
[all …]