Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_processing/agc2/
Dnoise_level_estimator.cc55 noise_energy_ = 1.f; in Initialize()
71 return EnergyToDbfs(noise_energy_, frame.samples_per_channel()); in Analyze()
78 noise_energy_ = std::max(frame_energy, min_noise_energy_), in Analyze()
87 if (frame_energy > noise_energy_) { in Analyze()
93 noise_energy_ = std::min(noise_energy_ * 1.01f, frame_energy); in Analyze()
97 noise_energy_ = in Analyze()
98 std::max(noise_energy_ * 0.9f, in Analyze()
99 noise_energy_ + 0.05f * (frame_energy - noise_energy_)); in Analyze()
105 noise_energy_ = noise_energy_ * 0.99f; in Analyze()
110 noise_energy_ = std::max(noise_energy_, min_noise_energy_), in Analyze()
Dnoise_level_estimator.h34 float noise_energy_; variable