Searched refs:PART_LEN (Results 1 – 7 of 7) sorted by relevance
/external/webrtc/src/modules/audio_processing/aec/ |
D | aec_core.c | 43 static const int freqAvgIc = PART_LEN / 2; 156 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 164 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 172 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 180 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 202 sizeof(int16_t) * PART_LEN) == -1) { in WebRtcAec_CreateAec() 323 for (j = 0; j < PART_LEN; j++) { in FilterAdaptation() 332 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN], in FilterAdaptation() 333 -aec->xfBuf[1][xPos + PART_LEN], in FilterAdaptation() 334 ef[0][PART_LEN], ef[1][PART_LEN]); in FilterAdaptation() [all …]
|
D | aec_core.h | 24 #define PART_LEN 64 // Length of partition macro 25 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients 26 #define PART_LEN2 (PART_LEN * 2) // Length of partition * 2 105 float outBuf[PART_LEN];
|
D | aec_core_sse2.c | 142 for (j = 0; j < PART_LEN; j+= 4) { in FilterAdaptationSSE2() 165 fft[1] = MulRe(aec->xfBuf[0][xPos + PART_LEN], in FilterAdaptationSSE2() 166 -aec->xfBuf[1][xPos + PART_LEN], in FilterAdaptationSSE2() 167 ef[0][PART_LEN], ef[1][PART_LEN]); in FilterAdaptationSSE2() 170 memset(fft + PART_LEN, 0, sizeof(float)*PART_LEN); in FilterAdaptationSSE2() 176 for (j = 0; j < PART_LEN; j+=4) { in FilterAdaptationSSE2() 186 aec->wfBuf[0][pos + PART_LEN] += fft[1]; in FilterAdaptationSSE2() 187 for (j = 0; j < PART_LEN; j+= 4) { in FilterAdaptationSSE2()
|
D | echo_cancellation.c | 235 WebRtc_MoveReadPtr(aecpc->far_pre_buf, -PART_LEN); // Start overlap. in WebRtcAec_Init() 285 WebRtc_MoveReadPtr(aecpc->far_pre_buf_s16, -PART_LEN); // Start overlap. in WebRtcAec_Init() 359 WebRtc_MoveReadPtr(aecpc->far_pre_buf, -PART_LEN); in WebRtcAec_BufferFarend() 363 WebRtc_WriteBuffer(aecpc->aec->far_time_buf, &farend_ptr[PART_LEN], 1); in WebRtcAec_BufferFarend() 364 WebRtc_MoveReadPtr(aecpc->far_pre_buf_s16, -PART_LEN); in WebRtcAec_BufferFarend() 501 aecpc->aec->mult * 8) / (4 * aecpc->counter * PART_LEN), in WebRtcAec_Process() 522 int overhead_elements = aecpc->aec->system_delay / PART_LEN - in WebRtcAec_Process() 539 aecpc->aec->system_delay -= overhead_elements * PART_LEN; in WebRtcAec_Process() 808 const int kMsPerBlock = (PART_LEN * 1000) / self->splitSampFreq; in WebRtcAec_GetDelayMetrics()
|
/external/webrtc/src/modules/audio_processing/aecm/ |
D | aecm_core_neon.c | 46 for (i = 0, j = 0; i < PART_LEN; i += 4, j += 8) { in WindowAndFFTNeon() 66 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_0) : "r"(&time_signal[i + PART_LEN])); in WindowAndFFTNeon() 98 for (i = 0, j = 0; i < PART_LEN; i += 4, j += 8) { in InverseFFTAndWindowNeon() 110 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindowNeon() 111 fft[PART_LEN2 + 1] = -efw[PART_LEN].imag; in InverseFFTAndWindowNeon() 126 for (i = 0; i < PART_LEN; i += 4) { in InverseFFTAndWindowNeon() 155 __asm__("vld1.16 %P0, [%1, :64]" : "=w"(tmp16x4_0) : "r"(&fft[PART_LEN + i])); in InverseFFTAndWindowNeon() 169 for (i = 0; i < PART_LEN; i += 16) { in InverseFFTAndWindowNeon() 171 "r"(&aecm->xBuf[i + PART_LEN]) : "q10"); in InverseFFTAndWindowNeon() 174 for (i = 0; i < PART_LEN; i += 16) { in InverseFFTAndWindowNeon() [all …]
|
D | aecm_core.c | 283 if (WebRtc_CreateBuffer(&aecm->farFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 291 if (WebRtc_CreateBuffer(&aecm->nearNoisyFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 299 if (WebRtc_CreateBuffer(&aecm->nearCleanFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 307 if (WebRtc_CreateBuffer(&aecm->outFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 370 for (i = 0, j = 0; i < PART_LEN; i++, j += 2) in WindowAndFFTC() 379 (time_signal[i + PART_LEN] << time_signal_scaling), in WindowAndFFTC() 380 WebRtcAecm_kSqrtHanning[PART_LEN - i], in WindowAndFFTC() 409 for (i = 1; i < PART_LEN; i++) in InverseFFTAndWindowC() 424 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindowC() 425 fft[PART_LEN2 + 1] = -efw[PART_LEN].imag; in InverseFFTAndWindowC() [all …]
|
D | aecm_core.h | 28 #define PART_LEN 32 // Length of partition macro 33 #define PART_LEN 64 // Length of partition macro 38 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients 39 #define PART_LEN2 (PART_LEN << 1) // Length of partition * 2 40 #define PART_LEN4 (PART_LEN << 2) // Length of partition * 4 158 WebRtc_Word16 outBuf_buf[PART_LEN + 8];
|