Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dbackground_noise.cc65 int32_t sample_energy = CalculateAutoCorrelation(temp_signal, kVecLen, in Update() local
69 sample_energy < parameters.energy_update_threshold) || in Update()
76 if (sample_energy < parameters.energy_update_threshold) { in Update()
78 parameters.energy_update_threshold = std::max(sample_energy, 1); in Update()
108 if ((residual_energy * 20 >= (sample_energy << 6)) && in Update()
109 (sample_energy > 0)) { in Update()
115 temp_signal + kVecLen - kMaxLpcOrder, sample_energy, in Update()
122 IncrementEnergyThreshold(channel_ix, sample_energy); in Update()
188 int32_t sample_energy) { in IncrementEnergyThreshold() argument
215 if (sample_energy > parameters.max_energy) { in IncrementEnergyThreshold()
[all …]
Dbackground_noise.h119 void IncrementEnergyThreshold(size_t channel, int32_t sample_energy);
125 int32_t sample_energy,