Searched refs:reference_energy (Results 1 – 1 of 1) sorted by relevance
153 float reference_energy = 0.f; in ReferenceDetectionValue() local155 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()