Home | History | Annotate | Download | only in aec

Lines Matching refs:ef

264 static void ScaleErrorSignal(aec_t *aec, float ef[2][PART_LEN1])
269 ef[0][i] /= (aec->xPow[i] + 1e-10f);
270 ef[1][i] /= (aec->xPow[i] + 1e-10f);
271 absEf = sqrtf(ef[0][i] * ef[0][i] + ef[1][i] * ef[1][i]);
275 ef[0][i] *= absEf;
276 ef[1][i] *= absEf;
280 ef[0][i] *= aec->mu;
281 ef[1][i] *= aec->mu;
288 // float ef[2][PART_LEN1]) {
303 // ef[j][0], ef[j][1]);
306 // ef[j][0], ef[j][1]);
311 static void FilterAdaptation(aec_t *aec, float *fft, float ef[2][PART_LEN1]) {
327 ef[0][j], ef[1][j]);
330 ef[0][j], ef[1][j]);
334 ef[0][PART_LEN], ef[1][PART_LEN]);
640 float xf[2][PART_LEN1], yf[2][PART_LEN1], ef[2][PART_LEN1];
803 ef[1][0] = 0;
804 ef[1][PART_LEN] = 0;
805 ef[0][0] = fft[0];
806 ef[0][PART_LEN] = fft[1];
808 ef[0][i] = fft[2 * i];
809 ef[1][i] = fft[2 * i + 1];
816 UpdateLevel(&aec->linoutlevel, ef);
820 WebRtcAec_ScaleErrorSignal(aec, ef);
821 WebRtcAec_FilterAdaptation(aec, fft, ef);