Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc153 float reference_energy = 0.f; in ReferenceDetectionValue() local
155 reference_energy += data[i] * data[i]; in ReferenceDetectionValue()
157 if (reference_energy == 0.f) { in ReferenceDetectionValue()
164 reference_energy / reference_energy_))); in ReferenceDetectionValue()
166 kMemory * reference_energy_ + (1.f - kMemory) * reference_energy; in ReferenceDetectionValue()