/external/webrtc/webrtc/modules/audio_processing/utility/ |
H A D | delay_estimator.h | 61 BinaryDelayEstimatorFarend* farend; member in struct:__anon20985 156 BinaryDelayEstimatorFarend* farend, int max_lookahead);
|
H A D | delay_estimator_wrapper.c | 275 DelayEstimatorFarend* farend = (DelayEstimatorFarend*) farend_handle; local 284 // Allocate memory for the farend spectrum handling. 286 WebRtc_CreateBinaryDelayEstimator(farend->binary_farend, max_lookahead); 290 self->mean_near_spectrum = malloc(farend->spectrum_size * 294 self->spectrum_size = farend->spectrum_size; 345 if (self->binary_handle->farend->history_size !=
|
H A D | delay_estimator.c | 101 assert(self->history_size == self->farend->history_size); 394 // BinaryDelayEstimator does not have ownership of |farend|, hence we do not 396 self->farend = NULL; 402 BinaryDelayEstimatorFarend* farend, int max_lookahead) { 405 if ((farend != NULL) && (max_lookahead >= 0)) { 413 self->farend = farend; 428 WebRtc_AllocateHistoryBufferMemory(self, farend->history_size) == 0) { 438 BinaryDelayEstimatorFarend* far = self->farend; 528 if (self->farend 401 WebRtc_CreateBinaryDelayEstimator( BinaryDelayEstimatorFarend* farend, int max_lookahead) argument [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
H A D | echo_cancellation.c | 268 const float* farend, 272 if (!farend) 285 // only buffer L band for farend 287 const float* farend, 292 const float* farend_ptr = farend; 294 // Get any error caused by buffering the farend signal. 295 int32_t error_code = WebRtcAec_GetBufferFarendError(aecInst, farend, 305 farend, 267 WebRtcAec_GetBufferFarendError(void* aecInst, const float* farend, size_t nrOfSamples) argument 286 WebRtcAec_BufferFarend(void* aecInst, const float* farend, size_t nrOfSamples) argument
|
H A D | aec_core.c | 348 // We threshold here to protect against the ill-effects of a zero farend. 1001 float farend[PART_LEN2], 1052 WindowData(fft, farend); 1265 float farend[PART_LEN2]; local 1290 WebRtc_ReadBuffer(aec->far_time_buf, (void**)&farend_ptr, farend, 1); 1734 // For bit exactness with a legacy code, |farend| is supposed to contain 1737 // TODO(minyue): reduce |farend| to non-overlapped |PART_LEN| samples. 1738 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend) { argument 1744 WebRtc_WriteBuffer(aec->far_time_buf, farend, 1); 1000 EchoSuppression(AecCore* aec, float farend[PART_LEN2], float* echo_subtractor_output, float* output, float* const* outputH) argument
|
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
H A D | echo_control_mobile.c | 41 // Stores the last frame added to the farend buffer 74 // Estimates delay to set the position of the farend buffer read pointer 78 // Stuffs the farend buffer if the estimated delay is too large 161 // Initialize farend buffer 196 // farend signal. 197 int32_t WebRtcAecm_GetBufferFarendError(void *aecmInst, const int16_t *farend, argument 204 if (farend == NULL) 217 int32_t WebRtcAecm_BufferFarend(void *aecmInst, const int16_t *farend, argument 222 WebRtcAecm_GetBufferFarendError(aecmInst, farend, nrOfSamples); 233 WebRtc_WriteBuffer(aecm->farendBuf, farend, nrOfSample 382 int16_t farend[FRAME_LEN]; local [all...] |
H A D | aecm_core.c | 554 const int16_t* farend, 567 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); 704 // This function calculates the log of energies for nearend, farend and estimated 709 // @param far_spectrum [in] Pointer to farend spectrum. 710 // @param far_q [in] Q-domain of farend spectrum. 761 // Update farend energy levels (min, max, vad, mse) 888 // @param far_spectrum [in] Absolute value of the farend signal in Q(far_q) 889 // @param far_q [in] Q-domain of the farend signal 918 // Determine norm of channel and farend to make sure we don't get overflow in 1175 const int16_t* const farend, 553 WebRtcAecm_ProcessFrame(AecmCore* aecm, const int16_t* farend, const int16_t* nearendNoisy, const int16_t* nearendClean, int16_t* out) argument 1174 WebRtcAecm_BufferFarFrame(AecmCore* const aecm, const int16_t* const farend, const int farLen) argument 1196 WebRtcAecm_FetchFarFrame(AecmCore* const aecm, int16_t* const farend, const int farLen, const int knownDelay) argument [all...] |
H A D | aecm_core_c.c | 281 const int16_t* farend, 343 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); 280 WebRtcAecm_ProcessBlock(AecmCore* aecm, const int16_t* farend, const int16_t* nearendNoisy, const int16_t* nearendClean, int16_t* output) argument
|
H A D | aecm_core_mips.c | 797 const int16_t* farend, 865 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); 796 WebRtcAecm_ProcessBlock(AecmCore* aecm, const int16_t* farend, const int16_t* nearendNoisy, const int16_t* nearendClean, int16_t* output) argument
|