Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c263 int decoded_samples; in WebRtcOpus_DecodeNew() local
265 decoded_samples = DecodeNative(inst->decoder_left, coded, encoded_bytes, in WebRtcOpus_DecodeNew()
268 if (decoded_samples < 0) { in WebRtcOpus_DecodeNew()
273 inst->prev_decoded_samples = decoded_samples; in WebRtcOpus_DecodeNew()
275 return decoded_samples; in WebRtcOpus_DecodeNew()
281 int decoded_samples; in WebRtcOpus_Decode() local
290 decoded_samples = DecodeNative(inst->decoder_left, encoded, encoded_bytes, in WebRtcOpus_Decode()
293 if (decoded_samples < 0) { in WebRtcOpus_Decode()
300 for (i = 0; i < decoded_samples; i++) { in WebRtcOpus_Decode()
308 inst->prev_decoded_samples = decoded_samples; in WebRtcOpus_Decode()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
Dopus_test.cc220 int decoded_samples = 0; in Run() local
307 decoded_samples += WebRtcOpus_DecodeNew( in Run()
309 &out_audio[decoded_samples * channels], &audio_type); in Run()
311 decoded_samples += WebRtcOpus_DecodePlc( in Run()
312 opus_mono_decoder_, &out_audio[decoded_samples * channels], 1); in Run()
316 decoded_samples += WebRtcOpus_DecodeNew( in Run()
318 &out_audio[decoded_samples * channels], &audio_type); in Run()
320 decoded_samples += WebRtcOpus_DecodePlc( in Run()
321 opus_stereo_decoder_, &out_audio[decoded_samples * channels], in Run()
351 out_file_standalone_.Write10MsData(out_audio, decoded_samples * channels); in Run()
[all …]
/external/chromium_org/content/renderer/media/android/
Daudio_decoder_android.cc457 std::vector<int16_t> decoded_samples; in BufferAndCopyPcmDataToBus() local
463 if (decoded_samples.size() + samples_in_pipe > decoded_samples.capacity()) { in BufferAndCopyPcmDataToBus()
464 decoded_samples.reserve(std::max(samples_in_pipe, in BufferAndCopyPcmDataToBus()
465 2 * decoded_samples.capacity())); in BufferAndCopyPcmDataToBus()
469 back_inserter(decoded_samples)); in BufferAndCopyPcmDataToBus()
472 DVLOG(1) << "Total samples read = " << decoded_samples.size(); in BufferAndCopyPcmDataToBus()
475 size_t number_of_samples = decoded_samples.size(); in BufferAndCopyPcmDataToBus()
476 size_t number_of_frames = decoded_samples.size() / number_of_channels; in BufferAndCopyPcmDataToBus()
485 int16_t sample = decoded_samples[m + k]; in BufferAndCopyPcmDataToBus()
/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()
/external/chromium_org/third_party/opus/src/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()