Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c336 int decoded_samples; in WebRtcOpus_Decode() local
340 decoded_samples = WebRtcOpus_DecodePlc(inst, decoded, 1); in WebRtcOpus_Decode()
342 decoded_samples = DecodeNative(inst, in WebRtcOpus_Decode()
350 if (decoded_samples < 0) { in WebRtcOpus_Decode()
355 inst->prev_decoded_samples = decoded_samples; in WebRtcOpus_Decode()
357 return decoded_samples; in WebRtcOpus_Decode()
363 int decoded_samples; in WebRtcOpus_DecodePlc() local
372 decoded_samples = DecodeNative(inst, NULL, 0, plc_samples, in WebRtcOpus_DecodePlc()
374 if (decoded_samples < 0) { in WebRtcOpus_DecodePlc()
378 return decoded_samples; in WebRtcOpus_DecodePlc()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
Dopus_test.cc218 size_t decoded_samples = 0; in Run() local
303 decoded_samples += WebRtcOpus_Decode( in Run()
305 &out_audio[decoded_samples * channels], &audio_type); in Run()
307 decoded_samples += WebRtcOpus_DecodePlc( in Run()
308 opus_mono_decoder_, &out_audio[decoded_samples * channels], 1); in Run()
312 decoded_samples += WebRtcOpus_Decode( in Run()
314 &out_audio[decoded_samples * channels], &audio_type); in Run()
316 decoded_samples += WebRtcOpus_DecodePlc( in Run()
317 opus_stereo_decoder_, &out_audio[decoded_samples * channels], in Run()
347 out_file_standalone_.Write10MsData(out_audio, decoded_samples * channels); in Run()
[all …]
/external/libopus/src/
Dopus_decoder.c334 int lost_flag, decoded_samples; in opus_decode_frame() local
364 decoded_samples = 0; in opus_decode_frame()
367 int first_frame = decoded_samples == 0; in opus_decode_frame()
382 decoded_samples += silk_frame_size; in opus_decode_frame()
383 } while( decoded_samples < frame_size ); in opus_decode_frame()