Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_core_neon.c172 float abs_ef; in ScaleErrorSignalNEON() local
175 abs_ef = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]); in ScaleErrorSignalNEON()
177 if (abs_ef > error_threshold) { in ScaleErrorSignalNEON()
178 abs_ef = error_threshold / (abs_ef + 1e-10f); in ScaleErrorSignalNEON()
179 ef[0][i] *= abs_ef; in ScaleErrorSignalNEON()
180 ef[1][i] *= abs_ef; in ScaleErrorSignalNEON()
Daec_core_sse2.c133 float abs_ef; in ScaleErrorSignalSSE2() local
136 abs_ef = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]); in ScaleErrorSignalSSE2()
138 if (abs_ef > error_threshold) { in ScaleErrorSignalSSE2()
139 abs_ef = error_threshold / (abs_ef + 1e-10f); in ScaleErrorSignalSSE2()
140 ef[0][i] *= abs_ef; in ScaleErrorSignalSSE2()
141 ef[1][i] *= abs_ef; in ScaleErrorSignalSSE2()
Daec_core.c195 float abs_ef; in ScaleErrorSignal() local
199 abs_ef = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]); in ScaleErrorSignal()
201 if (abs_ef > error_threshold) { in ScaleErrorSignal()
202 abs_ef = error_threshold / (abs_ef + 1e-10f); in ScaleErrorSignal()
203 ef[0][i] *= abs_ef; in ScaleErrorSignal()
204 ef[1][i] *= abs_ef; in ScaleErrorSignal()