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

  /external/webrtc/webrtc/modules/audio_processing/aecm/
aecm_defines.h 19 #define PART_LEN 64 /* Length of partition. */
20 #define PART_LEN_SHIFT 7 /* Length of (PART_LEN * 2) in base 2. */
22 #define PART_LEN1 (PART_LEN + 1) /* Unique fft coefficients. */
23 #define PART_LEN2 (PART_LEN << 1) /* Length of partition * 2. */
24 #define PART_LEN4 (PART_LEN << 2) /* Length of partition * 4. */
aecm_core_neon.c 54 const int16_t* end_stored_p = aecm->channelStored + PART_LEN;
110 echo_est[PART_LEN] = WEBRTC_SPL_MUL_16_U16(aecm->channelStored[PART_LEN],
111 far_spectrum[PART_LEN]);
112 *echo_energy_stored += (uint32_t)echo_est[PART_LEN];
113 *far_energy += (uint32_t)far_spectrum[PART_LEN];
114 *echo_energy_adapt += aecm->channelAdapt16[PART_LEN] * far_spectrum[PART_LEN];
130 // for (i = 0; i < PART_LEN; i += 4) {
145 const int16_t* end_stored_p = aecm->channelStored + PART_LEN;
    [all...]
aecm_core_c.c 73 for (i = 0; i < PART_LEN; i++) {
78 scaled_time_signal = time_signal[i + PART_LEN] << time_signal_scaling;
79 fft[PART_LEN + i] = (int16_t)((
80 scaled_time_signal * WebRtcAecm_kSqrtHanning[PART_LEN - i]) >> 14);
83 // Do forward FFT, then take only the first PART_LEN complex samples,
86 for (i = 0; i < PART_LEN; i++) {
103 for (i = 1, j = 2; i < PART_LEN; i += 1, j += 2) {
110 fft[PART_LEN2] = efw[PART_LEN].real;
111 fft[PART_LEN2 + 1] = -efw[PART_LEN].imag;
115 for (i = 0; i < PART_LEN; i++)
    [all...]
aecm_core_mips.c 216 const int16_t* pp_kSqrtHanning = &WebRtcAecm_kSqrtHanning[PART_LEN];
281 fft[2] = efw[PART_LEN].real;
282 fft[3] = -efw[PART_LEN].imag;
424 memcpy(aecm->xBuf, aecm->xBuf + PART_LEN, sizeof(int16_t) * PART_LEN);
426 aecm->dBufNoisy + PART_LEN,
427 sizeof(int16_t) * PART_LEN);
430 aecm->dBufClean + PART_LEN,
431 sizeof(int16_t) * PART_LEN);
454 for (i = 0; i < PART_LEN; i+= 4)
    [all...]
aecm_core.c 213 aecm->farFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN,
221 aecm->nearNoisyFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN,
229 aecm->nearCleanFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN,
237 aecm->outFrameBuf = WebRtc_CreateBuffer(FRAME_LEN + PART_LEN,
330 for (i = 0; i < PART_LEN; i += 4)
353 for (i = 0; i < PART_LEN; i += 4)
504 COMPILE_ASSERT(PART_LEN % 16 == 0);
558 int16_t outBlock_buf[PART_LEN + 8]; // Align buffer to 8-byte boundary.
580 while (WebRtc_available_read(aecm->farFrameBuf) >= PART_LEN)
582 int16_t far_block[PART_LEN];
    [all...]
aecm_core.h 86 int16_t outBuf_buf[PART_LEN + 8];
  /external/webrtc/webrtc/modules/audio_processing/aec/
aec_core.h 23 #define PART_LEN 64 // Length of partition
24 #define PART_LEN1 (PART_LEN + 1) // Unique fft coefficients
25 #define PART_LEN2 (PART_LEN * 2) // Length of partition * 2
aec_core.c 50 static const int freqAvgIc = PART_LEN / 2;
232 for (j = 0; j < PART_LEN; j++) {
243 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN],
244 -x_fft_buf[1][xPos + PART_LEN],
245 e_fft[0][PART_LEN],
246 e_fft[1][PART_LEN]);
249 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
254 for (j = 0; j < PART_LEN; j++) {
261 h_fft_buf[0][pos + PART_LEN] += fft[1]
    [all...]
aec_core_mips.c 32 float rand[PART_LEN];
34 int16_t randW16[PART_LEN];
41 WebRtcSpl_RandUArray(randW16, PART_LEN, &aec->seed);
47 for (i = 0; i < PART_LEN; i+=4) {
149 u[PART_LEN][1] = 0;
150 noisePow -= PART_LEN;
153 float* u_ptr_end = &u[PART_LEN][0];
265 lambda -= PART_LEN;
266 tmp = sqrtf(WEBRTC_SPL_MAX(1 - lambda[PART_LEN] * lambda[PART_LEN], 0))
    [all...]
aec_core_neon.c 207 for (j = 0; j < PART_LEN; j += 4) {
227 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN],
228 -x_fft_buf[1][xPos + PART_LEN],
229 e_fft[0][PART_LEN],
230 e_fft[1][PART_LEN]);
233 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
239 for (j = 0; j < PART_LEN; j += 4) {
249 h_fft_buf[0][pos + PART_LEN] += fft[1];
250 for (j = 0; j < PART_LEN; j += 4)
    [all...]
aec_core_sse2.c 168 for (j = 0; j < PART_LEN; j += 4) {
191 fft[1] = MulRe(x_fft_buf[0][xPos + PART_LEN],
192 -x_fft_buf[1][xPos + PART_LEN],
193 e_fft[0][PART_LEN],
194 e_fft[1][PART_LEN]);
197 memset(fft + PART_LEN, 0, sizeof(float) * PART_LEN);
203 for (j = 0; j < PART_LEN; j += 4) {
213 h_fft_buf[0][pos + PART_LEN] += fft[1];
214 for (j = 0; j < PART_LEN; j += 4)
    [all...]
echo_cancellation.c 213 WebRtc_MoveReadPtr(aecpc->far_pre_buf, -PART_LEN); // Start overlap.
320 // TODO(minyue): reduce to |PART_LEN| samples for each buffering, when
321 // WebRtcAec_BufferFarendPartition() is changed to take |PART_LEN| samples.
331 // Rewind |far_pre_buf| PART_LEN samples for overlap before continuing.
332 WebRtc_MoveReadPtr(aecpc->far_pre_buf, -PART_LEN);
658 // PART_LEN samples. Use 75% of the average value of the system
662 (4 * aecpc->counter * PART_LEN),
685 WebRtcAec_system_delay(aecpc->aec) / PART_LEN - aecpc->bufSizeStart;
774 (WebRtcAec_system_delay(self->aec) - target_delay) / PART_LEN;
817 if (current_delay < PART_LEN) {
    [all...]
aec_core_internal.h 90 float outBuf[PART_LEN];
system_delay_unittest.cc 478 // |device_buf| - |system_delay_after| >= PART_LEN (1 block).
483 if (device_buf - system_delay_after >= PART_LEN) {
530 if (device_buf - WebRtcAec_system_delay(self_->aec) < PART_LEN) {

Completed in 43 milliseconds