Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
Ddelay_estimator.c133 for (i = 0; i < self->farend->history_size; ++i) { in UpdateRobustValidationStatistics()
375 self->farend = NULL; in WebRtc_FreeBinaryDelayEstimator()
381 BinaryDelayEstimatorFarend* farend, int max_lookahead) { in WebRtc_CreateBinaryDelayEstimator() argument
384 if ((farend != NULL) && (max_lookahead >= 0)) { in WebRtc_CreateBinaryDelayEstimator()
392 self->farend = farend; in WebRtc_CreateBinaryDelayEstimator()
403 malloc((farend->history_size + 1) * sizeof(int32_t)); in WebRtc_CreateBinaryDelayEstimator()
406 self->bit_counts = malloc(farend->history_size * sizeof(int32_t)); in WebRtc_CreateBinaryDelayEstimator()
413 self->histogram = malloc((farend->history_size + 1) * sizeof(float)); in WebRtc_CreateBinaryDelayEstimator()
429 memset(self->bit_counts, 0, sizeof(int32_t) * self->farend->history_size); in WebRtc_InitBinaryDelayEstimator()
432 for (i = 0; i <= self->farend->history_size; ++i) { in WebRtc_InitBinaryDelayEstimator()
[all …]
Ddelay_estimator.h60 BinaryDelayEstimatorFarend* farend; member
142 BinaryDelayEstimatorFarend* farend, int max_lookahead);
Ddelay_estimator_wrapper.c272 DelayEstimatorFarend* farend = (DelayEstimatorFarend*) farend_handle; in WebRtc_CreateDelayEstimator() local
283 WebRtc_CreateBinaryDelayEstimator(farend->binary_farend, max_lookahead); in WebRtc_CreateDelayEstimator()
287 self->mean_near_spectrum = malloc(farend->spectrum_size * in WebRtc_CreateDelayEstimator()
291 self->spectrum_size = farend->spectrum_size; in WebRtc_CreateDelayEstimator()
/external/webrtc/src/modules/audio_processing/aecm/
Daecm_core.h282 int WebRtcAecm_ProcessFrame(AecmCore_t * aecm, const WebRtc_Word16 * farend,
303 int WebRtcAecm_ProcessBlock(AecmCore_t * aecm, const WebRtc_Word16 * farend,
318 void WebRtcAecm_BufferFarFrame(AecmCore_t * const aecm, const WebRtc_Word16 * const farend,
332 void WebRtcAecm_FetchFarFrame(AecmCore_t * const aecm, WebRtc_Word16 * const farend,
Decho_control_mobile.c226 WebRtc_Word32 WebRtcAecm_BufferFarend(void *aecmInst, const WebRtc_Word16 *farend, in WebRtcAecm_BufferFarend() argument
237 if (farend == NULL) in WebRtcAecm_BufferFarend()
261 WebRtc_WriteBuffer(aecm->farendBuf, farend, (size_t) nrOfSamples); in WebRtcAecm_BufferFarend()
425 int16_t farend[FRAME_LEN]; in WebRtcAecm_Process() local
435 WebRtc_ReadBuffer(aecm->farendBuf, (void**) &farend_ptr, farend, in WebRtcAecm_Process()
444 memcpy(farend, &(aecm->farendOld[i][0]), FRAME_LEN * sizeof(short)); in WebRtcAecm_Process()
445 farend_ptr = farend; in WebRtcAecm_Process()
Daecm_core.c715 const WebRtc_Word16 * farend, in WebRtcAecm_ProcessFrame() argument
729 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); in WebRtcAecm_ProcessFrame()
1504 const WebRtc_Word16 * farend, in WebRtcAecm_ProcessBlock() argument
1573 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(WebRtc_Word16) * PART_LEN); in WebRtcAecm_ProcessBlock()
2067 const WebRtc_Word16* const farend, in WebRtcAecm_BufferFarFrame() argument
2077 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
2084 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
2089 void WebRtcAecm_FetchFarFrame(AecmCore_t * const aecm, WebRtc_Word16 * const farend, in WebRtcAecm_FetchFarFrame() argument
2116 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
2122 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
Daecm_core.h218 int WebRtcAecm_ProcessFrame(AecmCore_t * aecm, const int16_t * farend,
241 int WebRtcAecm_ProcessBlock(AecmCore_t * aecm, const int16_t * farend,
257 const int16_t * const farend,
272 int16_t * const farend,
Decho_control_mobile.c223 int32_t WebRtcAecm_BufferFarend(void *aecmInst, const int16_t *farend, in WebRtcAecm_BufferFarend() argument
234 if (farend == NULL) in WebRtcAecm_BufferFarend()
258 WebRtc_WriteBuffer(aecm->farendBuf, farend, (size_t) nrOfSamples); in WebRtcAecm_BufferFarend()
413 int16_t farend[FRAME_LEN]; in WebRtcAecm_Process() local
423 WebRtc_ReadBuffer(aecm->farendBuf, (void**) &farend_ptr, farend, in WebRtcAecm_Process()
432 memcpy(farend, &(aecm->farendOld[i][0]), FRAME_LEN * sizeof(short)); in WebRtcAecm_Process()
433 farend_ptr = farend; in WebRtcAecm_Process()
Daecm_core.c583 const int16_t * farend, in WebRtcAecm_ProcessFrame() argument
597 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); in WebRtcAecm_ProcessFrame()
1237 const int16_t* const farend, in WebRtcAecm_BufferFarFrame() argument
1247 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1254 memcpy(aecm->farBuf + aecm->farBufWritePos, farend + writePos, in WebRtcAecm_BufferFarFrame()
1259 void WebRtcAecm_FetchFarFrame(AecmCore_t * const aecm, int16_t * const farend, in WebRtcAecm_FetchFarFrame() argument
1286 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
1292 memcpy(farend + readPos, aecm->farBuf + aecm->farBufReadPos, in WebRtcAecm_FetchFarFrame()
Daecm_core_c.c287 const int16_t * farend, in WebRtcAecm_ProcessBlock() argument
350 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); in WebRtcAecm_ProcessBlock()
Daecm_core_mips.c800 const int16_t* farend, in WebRtcAecm_ProcessBlock() argument
868 memcpy(aecm->xBuf + PART_LEN, farend, sizeof(int16_t) * PART_LEN); in WebRtcAecm_ProcessBlock()
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/include/
Decho_control_mobile.h103 const int16_t* farend,
/external/webrtc/src/modules/audio_processing/aecm/interface/
Decho_control_mobile.h102 const WebRtc_Word16* farend,
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/include/
Decho_cancellation.h127 const int16_t* farend,
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
Daec_core.h64 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend);
Decho_cancellation.c297 const int16_t* farend, in WebRtcAec_BufferFarend() argument
303 const int16_t* farend_ptr = farend; in WebRtcAec_BufferFarend()
309 if (farend == NULL) { in WebRtcAec_BufferFarend()
330 farend, in WebRtcAec_BufferFarend()
Daec_core.c594 void WebRtcAec_BufferFarendPartition(AecCore* aec, const float* farend) { in WebRtcAec_BufferFarendPartition() argument
603 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
608 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
859 int16_t farend[PART_LEN]; in ProcessBlock() local
861 WebRtc_ReadBuffer(aec->far_time_buf, (void**)&farend_ptr, farend, 1); in ProcessBlock()
/external/webrtc/src/modules/audio_processing/aec/interface/
Decho_cancellation.h127 const WebRtc_Word16 *farend,
/external/webrtc/src/modules/audio_processing/aec/
Decho_cancellation.c292 WebRtc_Word32 WebRtcAec_BufferFarend(void *aecInst, const WebRtc_Word16 *farend, in WebRtcAec_BufferFarend() argument
299 const int16_t* farend_ptr = farend; in WebRtcAec_BufferFarend()
309 if (farend == NULL) { in WebRtcAec_BufferFarend()
330 farend, in WebRtcAec_BufferFarend()
Daec_core.h173 void WebRtcAec_BufferFarendPartition(aec_t *aec, const float* farend);
Daec_core.c544 void WebRtcAec_BufferFarendPartition(aec_t *aec, const float* farend) { in WebRtcAec_BufferFarendPartition() argument
558 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
563 memcpy(fft, farend, sizeof(float) * PART_LEN2); in WebRtcAec_BufferFarendPartition()
685 int16_t farend[PART_LEN]; in ProcessBlock() local
687 WebRtc_ReadBuffer(aec->far_time_buf, (void**) &farend_ptr, farend, 1); in ProcessBlock()