Home
last modified time | relevance | path

Searched refs:farend (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c101 assert(self->history_size == self->farend->history_size); in UpdateRobustValidationStatistics()
396 self->farend = NULL; in WebRtc_FreeBinaryDelayEstimator()
402 BinaryDelayEstimatorFarend* farend, int max_lookahead) { in WebRtc_CreateBinaryDelayEstimator() argument
405 if ((farend != NULL) && (max_lookahead >= 0)) { in WebRtc_CreateBinaryDelayEstimator()
413 self->farend = farend; in WebRtc_CreateBinaryDelayEstimator()
428 WebRtc_AllocateHistoryBufferMemory(self, farend->history_size) == 0) { in WebRtc_CreateBinaryDelayEstimator()
438 BinaryDelayEstimatorFarend* far = self->farend; in WebRtc_AllocateHistoryBufferMemory()
528 if (self->farend->history_size != self->history_size) { in WebRtc_ProcessBinarySpectrum()
542 BitCountComparison(binary_near_spectrum, self->farend->binary_far_history, in WebRtc_ProcessBinarySpectrum()
554 if (self->farend->far_bit_counts[i] > 0) { in WebRtc_ProcessBinarySpectrum()
[all …]
Ddelay_estimator.h61 BinaryDelayEstimatorFarend* farend; member
156 BinaryDelayEstimatorFarend* farend, int max_lookahead);
Ddelay_estimator_wrapper.c275 DelayEstimatorFarend* farend = (DelayEstimatorFarend*) farend_handle; in WebRtc_CreateDelayEstimator() local
286 WebRtc_CreateBinaryDelayEstimator(farend->binary_farend, max_lookahead); in WebRtc_CreateDelayEstimator()
290 self->mean_near_spectrum = malloc(farend->spectrum_size * in WebRtc_CreateDelayEstimator()
294 self->spectrum_size = farend->spectrum_size; in WebRtc_CreateDelayEstimator()
345 if (self->binary_handle->farend->history_size != in WebRtc_history_size()
/external/webrtc/webrtc/modules/audio_processing/aecm/
Decho_control_mobile.c197 int32_t WebRtcAecm_GetBufferFarendError(void *aecmInst, const int16_t *farend, in WebRtcAecm_GetBufferFarendError() argument
204 if (farend == NULL) in WebRtcAecm_GetBufferFarendError()
217 int32_t WebRtcAecm_BufferFarend(void *aecmInst, const int16_t *farend, in WebRtcAecm_BufferFarend() argument
222 WebRtcAecm_GetBufferFarendError(aecmInst, farend, nrOfSamples); in WebRtcAecm_BufferFarend()
233 WebRtc_WriteBuffer(aecm->farendBuf, farend, nrOfSamples); in WebRtcAecm_BufferFarend()
382 int16_t farend[FRAME_LEN]; in WebRtcAecm_Process() local
392 WebRtc_ReadBuffer(aecm->farendBuf, (void**) &farend_ptr, farend, in WebRtcAecm_Process()
401 memcpy(farend, &(aecm->farendOld[i][0]), FRAME_LEN * sizeof(short)); in WebRtcAecm_Process()
402 farend_ptr = farend; in WebRtcAecm_Process()
Daecm_core.h205 const int16_t* farend,
229 const int16_t* farend,
245 const int16_t* const farend,
260 int16_t* const farend,
Decho_control_mobile.h89 const int16_t* farend,
108 const int16_t* farend,
Daecm_core.c554 const int16_t* farend, in WebRtcAecm_ProcessFrame() argument
567 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); in WebRtcAecm_ProcessFrame()
1175 const int16_t* const farend, in WebRtcAecm_BufferFarFrame() argument
1184 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1191 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1197 int16_t* const farend, in WebRtcAecm_FetchFarFrame() argument
1224 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
1230 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
Daecm_core_c.c281 const int16_t* farend, in WebRtcAecm_ProcessBlock() argument
343 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); in WebRtcAecm_ProcessBlock()
Daecm_core_mips.c797 const int16_t* farend, in WebRtcAecm_ProcessBlock() argument
865 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); in WebRtcAecm_ProcessBlock()
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.h115 const float* farend,
134 const float* farend,
Decho_cancellation.c268 const float* farend, in WebRtcAec_GetBufferFarendError() argument
272 if (!farend) in WebRtcAec_GetBufferFarendError()
287 const float* farend, in WebRtcAec_BufferFarend() argument
292 const float* farend_ptr = farend; in WebRtcAec_BufferFarend()
295 int32_t error_code = WebRtcAec_GetBufferFarendError(aecInst, farend, in WebRtcAec_BufferFarend()
305 farend, in WebRtcAec_BufferFarend()
Daec_core.h67 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend);
Daec_core.c1001 float farend[PART_LEN2], in EchoSuppression()
1052 WindowData(fft, farend); in EchoSuppression()
1265 float farend[PART_LEN2]; in ProcessBlock() local
1290 WebRtc_ReadBuffer(aec->far_time_buf, (void**)&farend_ptr, farend, 1); in ProcessBlock()
1738 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend) { in WebRtcAec_BufferFarendPartition() argument
1744 WebRtc_WriteBuffer(aec->far_time_buf, farend, 1); in WebRtcAec_BufferFarendPartition()