HomeSort by relevance Sort by last modified time
    Searched refs:FRAME_LEN (Results 1 - 11 of 11) sorted by null

  /external/webrtc/src/modules/audio_processing/aecm/main/source/
echo_control_mobile.c 30 // (ceil(1/(1 + MIN_SKEW)*2) + 1)*FRAME_LEN
32 #define MAX_RESAMP_LEN (5 * FRAME_LEN)
34 static const int kBufSizeSamp = BUF_SIZE_FRAMES * FRAME_LEN; // buffer size (samples)
48 short farendOld[2][FRAME_LEN];
279 short farend[FRAME_LEN];
342 nFrames = nrOfSamples / FRAME_LEN;
355 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecm->farendBuf) / FRAME_LEN;
420 - aecm->bufSizeStart * FRAME_LEN);
432 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecm->farendBuf) / FRAME_LEN;
438 WebRtcApm_ReadBuffer(aecm->farendBuf, farend, FRAME_LEN);
    [all...]
aecm_core.h 31 #define FRAME_LEN 80 // Total frame length, 10 ms
aecm_core.c 225 if (WebRtcApm_CreateBuffer(&aecm->farFrameBuf, FRAME_LEN + PART_LEN) == -1)
232 if (WebRtcApm_CreateBuffer(&aecm->nearNoisyFrameBuf, FRAME_LEN + PART_LEN) == -1)
239 if (WebRtcApm_CreateBuffer(&aecm->nearCleanFrameBuf, FRAME_LEN + PART_LEN) == -1)
246 if (WebRtcApm_CreateBuffer(&aecm->outFrameBuf, FRAME_LEN + PART_LEN) == -1)
662 WebRtc_Word16 farFrame[FRAME_LEN];
667 WebRtcAecm_BufferFarFrame(aecm, farend, FRAME_LEN);
668 WebRtcAecm_FetchFarFrame(aecm, farFrame, FRAME_LEN, aecm->knownDelay);
672 WebRtcApm_WriteBuffer(aecm->farFrameBuf, farFrame, FRAME_LEN);
673 WebRtcApm_WriteBuffer(aecm->nearNoisyFrameBuf, nearendNoisy, FRAME_LEN);
676 WebRtcApm_WriteBuffer(aecm->nearCleanFrameBuf, nearendClean, FRAME_LEN);
    [all...]
  /external/webrtc/src/modules/audio_processing/aec/main/source/
echo_cancellation.c 27 // (ceil(1/(1 + MIN_SKEW)*2) + 1)*FRAME_LEN
29 #define MAX_RESAMP_LEN (5 * FRAME_LEN)
31 static const int bufSizeSamp = BUF_SIZE_FRAMES * FRAME_LEN; // buffer size (samples)
54 short farendOld[2][FRAME_LEN];
331 short farend[FRAME_LEN];
419 nFrames = nrOfSamples / FRAME_LEN;
424 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecpc->farendBuf) / FRAME_LEN;
481 aecpc->bufSizeStart * FRAME_LEN);
492 nmbrOfFilledBuffers = WebRtcApm_get_buffer_size(aecpc->farendBuf) / FRAME_LEN;
497 WebRtcApm_ReadBuffer(aecpc->farendBuf, farend, FRAME_LEN);
    [all...]
resampler.c 23 enum { kFrameBufferSize = FRAME_LEN * 4 };
86 if (size < 0 || size > 2 * FRAME_LEN) {
91 memcpy(&obj->buffer[FRAME_LEN + kResamplingDelay],
100 y = &obj->buffer[FRAME_LEN]; // Point at current frame
aec_core.h 26 #define FRAME_LEN 80
36 #define BLOCKL_MAX FRAME_LEN
aec_core.c 166 if (WebRtcApm_CreateBuffer(&aec->farFrBuf, FRAME_LEN + PART_LEN) == -1) {
172 if (WebRtcApm_CreateBuffer(&aec->nearFrBuf, FRAME_LEN + PART_LEN) == -1) {
178 if (WebRtcApm_CreateBuffer(&aec->outFrBuf, FRAME_LEN + PART_LEN) == -1) {
184 if (WebRtcApm_CreateBuffer(&aec->nearFrBufH, FRAME_LEN + PART_LEN) == -1) {
190 if (WebRtcApm_CreateBuffer(&aec->outFrBufH, FRAME_LEN + PART_LEN) == -1) {
501 short farFr[FRAME_LEN];
513 BufferFar(aec, farend, FRAME_LEN);
514 FetchFar(aec, farFr, FRAME_LEN, knownDelay);
518 WebRtcApm_WriteBuffer(aec->farFrBuf, farFr, FRAME_LEN);
519 WebRtcApm_WriteBuffer(aec->nearFrBuf, nearend, FRAME_LEN);
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrnb/common/src/
vad1.cpp 186 for (i = 0; i < FRAME_LEN / 4; i++)
621 Word16 tmp_buf[FRAME_LEN];
627 for (i = 0; i < FRAME_LEN / 4; i++)
632 for (i = 0; i < FRAME_LEN / 8; i++)
639 for (i = 0; i < FRAME_LEN / 16; i++)
648 level[8] = level_calculation(tmp_buf, &st->sub_level[8], FRAME_LEN / 4 - 8,
649 FRAME_LEN / 4, 4, 1, 15, pOverflow);
651 level[7] = level_calculation(tmp_buf, &st->sub_level[7], FRAME_LEN / 8 - 4,
652 FRAME_LEN / 8, 8, 7, 16, pOverflow);
654 level[6] = level_calculation(tmp_buf, &st->sub_level[6], FRAME_LEN / 8 - 4
    [all...]
  /frameworks/base/media/libstagefright/codecs/amrnb/common/include/
cnst_vad.h 48 #define FRAME_LEN 160 /* Length (samples) of the input frame */
  /frameworks/base/media/libstagefright/codecs/amrwbenc/inc/
wb_vad_c.h 27 #define FRAME_LEN 256 /* Length (samples) of the input frame */
  /frameworks/base/media/libstagefright/codecs/amrwbenc/src/
wb_vad.c 185 Word16 tmp_buf[FRAME_LEN];
188 for (i = 0; i < FRAME_LEN; i++)
771 for (i = 0; i < FRAME_LEN; i++)

Completed in 240 milliseconds