Home
last modified time | relevance | path

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

/external/libopus/src/
Dopus_decoder.c633 int packet_frame_size, packet_bandwidth, packet_mode, packet_stream_channels; in opus_decode_native() local
662 packet_frame_size = opus_packet_get_samples_per_frame(data, st->Fs); in opus_decode_native()
677 … if (frame_size < packet_frame_size || packet_mode == MODE_CELT_ONLY || st->mode == MODE_CELT_ONLY) in opus_decode_native()
681 if (frame_size-packet_frame_size!=0) in opus_decode_native()
683 … ret = opus_decode_native(st, NULL, 0, pcm, frame_size-packet_frame_size, 0, 0, NULL, soft_clip); in opus_decode_native()
689 celt_assert(ret==frame_size-packet_frame_size); in opus_decode_native()
694 st->frame_size = packet_frame_size; in opus_decode_native()
696 ret = opus_decode_frame(st, data, size[0], pcm+st->channels*(frame_size-packet_frame_size), in opus_decode_native()
697 packet_frame_size, 1); in opus_decode_native()
708 if (count*packet_frame_size > frame_size) in opus_decode_native()
[all …]