Searched refs:PART_LEN (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/modules/audio_processing/aecm/ |
D | aecm_core_neon.cc | 46 const int16_t* end_stored_p = aecm->channelStored + PART_LEN; in WebRtcAecm_CalcLinearEnergiesNeon() 102 echo_est[PART_LEN] = WEBRTC_SPL_MUL_16_U16(aecm->channelStored[PART_LEN], in WebRtcAecm_CalcLinearEnergiesNeon() 103 far_spectrum[PART_LEN]); in WebRtcAecm_CalcLinearEnergiesNeon() 104 *echo_energy_stored += (uint32_t)echo_est[PART_LEN]; in WebRtcAecm_CalcLinearEnergiesNeon() 105 *far_energy += (uint32_t)far_spectrum[PART_LEN]; in WebRtcAecm_CalcLinearEnergiesNeon() 106 *echo_energy_adapt += aecm->channelAdapt16[PART_LEN] * far_spectrum[PART_LEN]; in WebRtcAecm_CalcLinearEnergiesNeon() 137 const int16_t* end_stored_p = aecm->channelStored + PART_LEN; in WebRtcAecm_StoreAdaptiveChannelNeon() 163 aecm->channelStored[PART_LEN] = aecm->channelAdapt16[PART_LEN]; in WebRtcAecm_StoreAdaptiveChannelNeon() 164 echo_est[PART_LEN] = WEBRTC_SPL_MUL_16_U16(aecm->channelStored[PART_LEN], in WebRtcAecm_StoreAdaptiveChannelNeon() 165 far_spectrum[PART_LEN]); in WebRtcAecm_StoreAdaptiveChannelNeon() [all …]
|
D | aecm_core_c.cc | 69 int16_t randW16[PART_LEN]; in ComfortNoise() 151 WebRtcSpl_RandUArray(randW16, PART_LEN, &aecm->seed); in ComfortNoise() 166 uImag[PART_LEN] = 0; in ComfortNoise() 182 for (i = 0; i < PART_LEN; i++) { in WindowAndFFT() 187 scaled_time_signal = time_signal[i + PART_LEN] * (1 << time_signal_scaling); in WindowAndFFT() 188 fft[PART_LEN + i] = (int16_t)( in WindowAndFFT() 189 (scaled_time_signal * WebRtcAecm_kSqrtHanning[PART_LEN - i]) >> 14); in WindowAndFFT() 195 for (i = 0; i < PART_LEN; i++) { in WindowAndFFT() 212 for (i = 1, j = 2; i < PART_LEN; i += 1, j += 2) { in InverseFFTAndWindow() 219 fft[PART_LEN2] = efw[PART_LEN].real; in InverseFFTAndWindow() [all …]
|
D | aecm_core_mips.cc | 232 const int16_t* pp_kSqrtHanning = &WebRtcAecm_kSqrtHanning[PART_LEN]; in InverseFFTAndWindow() 348 fft[2] = efw[PART_LEN].real; in InverseFFTAndWindow() 349 fft[3] = -efw[PART_LEN].imag; in InverseFFTAndWindow() 578 memcpy(aecm->xBuf, aecm->xBuf + PART_LEN, sizeof(int16_t) * PART_LEN); in InverseFFTAndWindow() 579 memcpy(aecm->dBufNoisy, aecm->dBufNoisy + PART_LEN, in InverseFFTAndWindow() 580 sizeof(int16_t) * PART_LEN); in InverseFFTAndWindow() 582 memcpy(aecm->dBufClean, aecm->dBufClean + PART_LEN, in InverseFFTAndWindow() 583 sizeof(int16_t) * PART_LEN); in InverseFFTAndWindow() 606 for (i = 0; i < PART_LEN; i += 4) { in WebRtcAecm_CalcLinearEnergies_mips() 663 echo_est[PART_LEN] = WEBRTC_SPL_MUL_16_U16(aecm->channelStored[PART_LEN], in WebRtcAecm_CalcLinearEnergies_mips() [all …]
|
D | aecm_defines.h | 19 #define PART_LEN 64 /* Length of partition. */ macro 22 #define PART_LEN1 (PART_LEN + 1) /* Unique fft coefficients. */ 23 #define PART_LEN2 (PART_LEN << 1) /* Length of partition * 2. */ 24 #define PART_LEN4 (PART_LEN << 2) /* Length of partition * 4. */
|
D | aecm_core.cc | 194 WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(int16_t)); in WebRtcAecm_CreateCore() 201 WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(int16_t)); in WebRtcAecm_CreateCore() 208 WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(int16_t)); in WebRtcAecm_CreateCore() 215 WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(int16_t)); in WebRtcAecm_CreateCore() 305 for (i = 0; i < PART_LEN; i += 4) { in StoreAdaptiveChannelC() 326 for (i = 0; i < PART_LEN; i += 4) { in ResetAdaptiveChannelC() 468 static_assert(PART_LEN % 16 == 0, "PART_LEN is not a multiple of 16"); in WebRtcAecm_InitCore() 516 int16_t outBlock_buf[PART_LEN + 8]; // Align buffer to 8-byte boundary. in WebRtcAecm_ProcessFrame() 537 while (WebRtc_available_read(aecm->farFrameBuf) >= PART_LEN) { in WebRtcAecm_ProcessFrame() 538 int16_t far_block[PART_LEN]; in WebRtcAecm_ProcessFrame() [all …]
|
D | aecm_core.h | 91 int16_t outBuf_buf[PART_LEN + 8];
|