Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c105 outcorr += PITCH_LAG_SPAN2 - 1; /* index of last element in array */ in PCorr()
108 for (k = 1; k < PITCH_LAG_SPAN2; k++) { in PCorr()
134 double corrvec1[PITCH_LAG_SPAN2]; in WebRtcIsac_InitializePitch()
135 double corrvec2[PITCH_LAG_SPAN2]; in WebRtcIsac_InitializePitch()
138 double corrSurfBuff[10 + (2*PITCH_BW+3)*(PITCH_LAG_SPAN2+4)]; in WebRtcIsac_InitializePitch()
155 CorrSurf[k] = &corrSurfBuff[10 + k * (PITCH_LAG_SPAN2+4)]; in WebRtcIsac_InitializePitch()
158 memset(corrSurfBuff, 0, sizeof(double) * (10 + (2*PITCH_BW+3) * (PITCH_LAG_SPAN2+4))); in WebRtcIsac_InitializePitch()
186 for (k = 0; k < PITCH_LAG_SPAN2; k++) in WebRtcIsac_InitializePitch()
198 corrvec1[PITCH_LAG_SPAN2-1-k] *= gain_tmp; in WebRtcIsac_InitializePitch()
199 corrvec2[PITCH_LAG_SPAN2-1-k] *= gain_tmp; in WebRtcIsac_InitializePitch()
[all …]
Dsettings.h118 #define PITCH_LAG_SPAN2 (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5) macro
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c183 logcorQ8 += PITCH_LAG_SPAN2 - 1; in PCorr2Q32()
203 for (k = 1; k < PITCH_LAG_SPAN2; k++) { in PCorr2Q32()
275 WebRtc_Word32 cv1q[PITCH_LAG_SPAN2+2],cv2q[PITCH_LAG_SPAN2+2], peakvq[PITCH_LAG_SPAN2+2]; in WebRtcIsacfix_InitialPitch()
278 WebRtc_Word16 peakiq[PITCH_LAG_SPAN2]; in WebRtcIsacfix_InitialPitch()
331 for (k = 0; k < PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
353 crrvecQ8_1[PITCH_LAG_SPAN2-1-k] += kLogLagWinQ8[k]; in WebRtcIsacfix_InitialPitch()
354 crrvecQ8_2[PITCH_LAG_SPAN2-1-k] += kLogLagWinQ8[k]; in WebRtcIsacfix_InitialPitch()
361 cv1q[PITCH_LAG_SPAN2+1]=0; in WebRtcIsacfix_InitialPitch()
362 cv2q[PITCH_LAG_SPAN2+1]=0; in WebRtcIsacfix_InitialPitch()
365 for (k = 1; k <= PITCH_LAG_SPAN2; k++) in WebRtcIsacfix_InitialPitch()
[all …]
Dsettings.h148 #define PITCH_LAG_SPAN2 65 /* (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5) */ macro