Home
last modified time | relevance | path

Searched refs:PITCH_LAG_SPAN2 (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c106 outcorr += PITCH_LAG_SPAN2 - 1; /* index of last element in array */ in PCorr()
109 for (k = 1; k < PITCH_LAG_SPAN2; k++) { in PCorr()
135 double corrvec1[PITCH_LAG_SPAN2]; in WebRtcIsac_InitializePitch()
136 double corrvec2[PITCH_LAG_SPAN2]; in WebRtcIsac_InitializePitch()
139 double corrSurfBuff[10 + (2*PITCH_BW+3)*(PITCH_LAG_SPAN2+4)]; in WebRtcIsac_InitializePitch()
156 CorrSurf[k] = &corrSurfBuff[10 + k * (PITCH_LAG_SPAN2+4)]; in WebRtcIsac_InitializePitch()
159 memset(corrSurfBuff, 0, sizeof(double) * (10 + (2*PITCH_BW+3) * (PITCH_LAG_SPAN2+4))); in WebRtcIsac_InitializePitch()
187 for (k = 0; k < PITCH_LAG_SPAN2; k++) in WebRtcIsac_InitializePitch()
199 corrvec1[PITCH_LAG_SPAN2-1-k] *= gain_tmp; in WebRtcIsac_InitializePitch()
200 corrvec2[PITCH_LAG_SPAN2-1-k] *= gain_tmp; in WebRtcIsac_InitializePitch()
[all …]
Dsettings.h119 #define PITCH_LAG_SPAN2 (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5) macro
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c158 int32_t cv1q[PITCH_LAG_SPAN2+2],cv2q[PITCH_LAG_SPAN2+2], peakvq[PITCH_LAG_SPAN2+2]; in WebRtcIsacfix_InitialPitch()
161 int16_t peakiq[PITCH_LAG_SPAN2]; in WebRtcIsacfix_InitialPitch()
215 for (k = 0; k < PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
238 crrvecQ8_1[PITCH_LAG_SPAN2-1-k] += kLogLagWinQ8[k]; in WebRtcIsacfix_InitialPitch()
239 crrvecQ8_2[PITCH_LAG_SPAN2-1-k] += kLogLagWinQ8[k]; in WebRtcIsacfix_InitialPitch()
246 cv1q[PITCH_LAG_SPAN2+1]=0; in WebRtcIsacfix_InitialPitch()
247 cv2q[PITCH_LAG_SPAN2+1]=0; in WebRtcIsacfix_InitialPitch()
250 for (k = 1; k <= PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
274 for (k = 1; k <= PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
324 for (k = 1; k <= PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
[all …]
Dpitch_estimator_c.c40 logcorQ8 += PITCH_LAG_SPAN2 - 1; in WebRtcIsacfix_PCorr2Q32()
54 for (k = 1; k < PITCH_LAG_SPAN2; k++) { in WebRtcIsacfix_PCorr2Q32()
Dpitch_estimator_mips.c87 logcorQ8 += PITCH_LAG_SPAN2 - 1; in WebRtcIsacfix_PCorr2Q32()
100 for (k = 1; k < PITCH_LAG_SPAN2; k++) { in WebRtcIsacfix_PCorr2Q32()
Dsettings.h157 #define PITCH_LAG_SPAN2 65 /* (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5) */ macro