Searched defs:best_correlation (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daccelerate.cc36 int16_t* best_correlation,
40 *best_correlation = 0;
45 int16_t best_correlation, bool active_speech,
48 if ((best_correlation > kCorrelationThreshold) || !active_speech) {
35 SetParametersForPassiveSpeech(size_t , int16_t* best_correlation, int* ) const argument
43 CheckCriteriaAndStretch( const int16_t* input, size_t input_length, size_t peak_index, int16_t best_correlation, bool active_speech, AudioMultiVector* output) const argument
H A Dpreemptive_expand.cc42 int16_t* best_correlation,
46 *best_correlation = 0;
49 // but we must ensure that best_correlation is not larger than the length of
51 // but we must ensure that best_correlation is not larger than the new data.
58 int16_t best_correlation, bool active_speech,
66 if (((best_correlation > kCorrelationThreshold) &&
41 SetParametersForPassiveSpeech(size_t len, int16_t* best_correlation, int* peak_index) const argument
56 CheckCriteriaAndStretch( const int16_t *input, size_t input_length, size_t peak_index, int16_t best_correlation, bool active_speech, AudioMultiVector* output) const argument
H A Dtime_stretch.cc105 int16_t best_correlation; local
107 SetParametersForPassiveSpeech(signal_len, &best_correlation, &peak_index);
136 best_correlation = WebRtcSpl_DivW32W16(cross_corr, sqrt_energy_prod);
137 // Make sure |best_correlation| is no larger than 1 in Q14.
138 best_correlation = std::min(static_cast<int16_t>(16384), best_correlation);
144 input, input_len, peak_index, best_correlation, active_speech, output);
H A Dmerge.cc340 int16_t best_correlation; local
345 &best_correlation);
H A Dexpand.cc315 int16_t best_correlation[kNumCorrelationCandidates]; local
351 best_correlation_index, best_correlation);
377 // f[i] = best_correlation[i] / best_distortion[i].
383 ratio = (best_correlation[i] << 16) / best_distortion[i];
384 } else if (best_correlation[i] == 0) {

Completed in 154 milliseconds