Searched refs:FRAME_LEN (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/aecm/ |
D | echo_control_mobile.c | 26 #define MAX_RESAMP_LEN (5 * FRAME_LEN) 28 static const size_t kBufSizeSamp = BUF_SIZE_FRAMES * FRAME_LEN; // buffer size (samples) 42 short farendOld[2][FRAME_LEN]; 289 nFrames = nrOfSamples / FRAME_LEN; in WebRtcAecm_Process() 306 (short) WebRtc_available_read(aecm->farendBuf) / FRAME_LEN; in WebRtcAecm_Process() 370 - (int) aecm->bufSizeStart * FRAME_LEN); in WebRtcAecm_Process() 382 int16_t farend[FRAME_LEN]; in WebRtcAecm_Process() 386 (short) WebRtc_available_read(aecm->farendBuf) / FRAME_LEN; in WebRtcAecm_Process() 393 FRAME_LEN); in WebRtcAecm_Process() 397 FRAME_LEN * sizeof(short)); in WebRtcAecm_Process() [all …]
|
D | aecm_core.c | 213 aecm->farFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 221 aecm->nearNoisyFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 229 aecm->nearCleanFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 237 aecm->outFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 561 int16_t farFrame[FRAME_LEN]; in WebRtcAecm_ProcessFrame() 567 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); in WebRtcAecm_ProcessFrame() 568 WebRtcAecm_FetchFarFrame(aecm, farFrame, FRAME_LEN, aecm->knownDelay); in WebRtcAecm_ProcessFrame() 572 WebRtc_WriteBuffer(aecm->farFrameBuf, farFrame, FRAME_LEN); in WebRtcAecm_ProcessFrame() 573 WebRtc_WriteBuffer(aecm->nearNoisyFrameBuf, nearendNoisy, FRAME_LEN); in WebRtcAecm_ProcessFrame() 576 WebRtc_WriteBuffer(aecm->nearCleanFrameBuf, nearendClean, FRAME_LEN); in WebRtcAecm_ProcessFrame() [all …]
|
D | aecm_defines.h | 17 #define FRAME_LEN 80 /* Total frame length, 10 ms. */ macro
|
/external/webrtc/webrtc/modules/audio_processing/aec/ |
D | aec_resampler.c | 77 assert(size <= 2 * FRAME_LEN); in WebRtcAec_ResampleLinear() 84 memcpy(&obj->buffer[FRAME_LEN + kResamplingDelay], in WebRtcAec_ResampleLinear() 93 y = &obj->buffer[FRAME_LEN]; // Point at current frame in WebRtcAec_ResampleLinear()
|
D | aec_core.c | 1431 aec->nearFrBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(float)); in WebRtcAec_CreateAec() 1437 aec->outFrBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, sizeof(float)); in WebRtcAec_CreateAec() 1444 aec->nearFrBufH[i] = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 1450 aec->outFrBufH[i] = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 1792 for (j = 0; j < num_samples; j+= FRAME_LEN) { in WebRtcAec_ProcessFrames() 1796 WebRtc_WriteBuffer(aec->nearFrBuf, &nearend[0][j], FRAME_LEN); in WebRtcAec_ProcessFrames() 1799 WebRtc_WriteBuffer(aec->nearFrBufH[i - 1], &nearend[i][j], FRAME_LEN); in WebRtcAec_ProcessFrames() 1805 if (aec->system_delay < FRAME_LEN) { in WebRtcAec_ProcessFrames() 1851 aec->system_delay -= FRAME_LEN; in WebRtcAec_ProcessFrames() 1857 if (out_elements < FRAME_LEN) { in WebRtcAec_ProcessFrames() [all …]
|
D | aec_resampler.h | 20 kResamplerBufferSize = FRAME_LEN * 4
|
D | aec_core.h | 22 #define FRAME_LEN 80 macro
|
D | echo_cancellation.c | 92 #define MAX_RESAMP_LEN (5 * FRAME_LEN) 622 nBlocks10ms = nrOfSamples / (FRAME_LEN * aecpc->rate_factor); in ProcessNormal() 809 current_delay += FRAME_LEN * aecpc->rate_factor; in EstBufDelayNormal() 862 current_delay += FRAME_LEN * self->rate_factor; in EstBufDelayExtended()
|