Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_processing/aec/
Daec_core_sse2.c94 const __m128 absEf = _mm_sqrt_ps(ef_sum2); in ScaleErrorSignalSSE2() local
95 const __m128 bigger = _mm_cmpgt_ps(absEf, kThresh); in ScaleErrorSignalSSE2()
96 __m128 absEfPlus = _mm_add_ps(absEf, k1e_10f); in ScaleErrorSignalSSE2()
114 float absEf; in ScaleErrorSignalSSE2() local
117 absEf = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]); in ScaleErrorSignalSSE2()
119 if (absEf > aec->errThresh) { in ScaleErrorSignalSSE2()
120 absEf = aec->errThresh / (absEf + 1e-10f); in ScaleErrorSignalSSE2()
121 ef[0][i] *= absEf; in ScaleErrorSignalSSE2()
122 ef[1][i] *= absEf; in ScaleErrorSignalSSE2()
Daec_core.c267 float absEf; in ScaleErrorSignal() local
271 absEf = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]); in ScaleErrorSignal()
273 if (absEf > aec->errThresh) { in ScaleErrorSignal()
274 absEf = aec->errThresh / (absEf + 1e-10f); in ScaleErrorSignal()
275 ef[0][i] *= absEf; in ScaleErrorSignal()
276 ef[1][i] *= absEf; in ScaleErrorSignal()