Searched refs:FRAME_LEN (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/src/modules/audio_processing/aecm/ |
D | echo_control_mobile.c | 32 #define MAX_RESAMP_LEN (5 * FRAME_LEN) 34 static const size_t kBufSizeSamp = BUF_SIZE_FRAMES * FRAME_LEN; // buffer size (samples) 48 short farendOld[2][FRAME_LEN]; 335 nFrames = nrOfSamples / FRAME_LEN; in WebRtcAecm_Process() 349 (short) WebRtc_available_read(aecm->farendBuf) / FRAME_LEN; in WebRtcAecm_Process() 413 - (int) aecm->bufSizeStart * FRAME_LEN); in WebRtcAecm_Process() 425 int16_t farend[FRAME_LEN]; in WebRtcAecm_Process() 429 (short) WebRtc_available_read(aecm->farendBuf) / FRAME_LEN; in WebRtcAecm_Process() 436 FRAME_LEN); in WebRtcAecm_Process() 440 FRAME_LEN * sizeof(short)); in WebRtcAecm_Process() [all …]
|
D | aecm_core.c | 283 if (WebRtc_CreateBuffer(&aecm->farFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 291 if (WebRtc_CreateBuffer(&aecm->nearNoisyFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 299 if (WebRtc_CreateBuffer(&aecm->nearCleanFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 307 if (WebRtc_CreateBuffer(&aecm->outFrameBuf, FRAME_LEN + PART_LEN, in WebRtcAecm_CreateCore() 723 WebRtc_Word16 farFrame[FRAME_LEN]; in WebRtcAecm_ProcessFrame() 729 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN); in WebRtcAecm_ProcessFrame() 730 WebRtcAecm_FetchFarFrame(aecm, farFrame, FRAME_LEN, aecm->knownDelay); in WebRtcAecm_ProcessFrame() 734 WebRtc_WriteBuffer(aecm->farFrameBuf, farFrame, FRAME_LEN); in WebRtcAecm_ProcessFrame() 735 WebRtc_WriteBuffer(aecm->nearNoisyFrameBuf, nearendNoisy, FRAME_LEN); in WebRtcAecm_ProcessFrame() 738 WebRtc_WriteBuffer(aecm->nearCleanFrameBuf, nearendClean, FRAME_LEN); in WebRtcAecm_ProcessFrame() [all …]
|
D | aecm_core.h | 25 #define FRAME_LEN 80 // Total frame length, 10 ms macro
|
/external/webrtc/src/modules/audio_processing/aec/ |
D | echo_cancellation.c | 32 #define MAX_RESAMP_LEN (5 * FRAME_LEN) 462 nFrames = nrOfSamples / FRAME_LEN; in WebRtcAec_Process() 555 int16_t out_tmp[FRAME_LEN]; in WebRtcAec_Process() 559 &nearend[FRAME_LEN * i], in WebRtcAec_Process() 560 &nearendH[FRAME_LEN * i], in WebRtcAec_Process() 569 if (out_elements < FRAME_LEN) { in WebRtcAec_Process() 571 out_elements - FRAME_LEN); in WebRtcAec_Process() 574 out_elements - FRAME_LEN); in WebRtcAec_Process() 580 out_tmp, FRAME_LEN); in WebRtcAec_Process() 581 memcpy(&out[FRAME_LEN * i], out_ptr, sizeof(int16_t) * FRAME_LEN); in WebRtcAec_Process() [all …]
|
D | aec_resampler.c | 86 if (size < 0 || size > 2 * FRAME_LEN) { in WebRtcAec_ResampleLinear() 91 memcpy(&obj->buffer[FRAME_LEN + kResamplingDelay], in WebRtcAec_ResampleLinear() 100 y = &obj->buffer[FRAME_LEN]; // Point at current frame in WebRtcAec_ResampleLinear()
|
D | aec_resampler.h | 17 enum { kResamplerBufferSize = FRAME_LEN * 4 };
|
D | aec_core.c | 156 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 164 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 172 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 180 FRAME_LEN + PART_LEN, in WebRtcAec_CreateAec() 597 WebRtc_WriteBuffer(aec->nearFrBuf, nearend, FRAME_LEN); in WebRtcAec_ProcessFrame() 600 WebRtc_WriteBuffer(aec->nearFrBufH, nearendH, FRAME_LEN); in WebRtcAec_ProcessFrame() 606 if (aec->system_delay < FRAME_LEN) { in WebRtcAec_ProcessFrame() 631 aec->system_delay -= FRAME_LEN; in WebRtcAec_ProcessFrame()
|
D | aec_core.h | 23 #define FRAME_LEN 80 macro
|