Home
last modified time | relevance | path

Searched refs:PITCH_MAX_LAG (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c100 x = in + PITCH_MAX_LAG/2 + 2; in PCorr()
132 double buf_dec[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2+2]; in WebRtcIsac_InitializePitch()
166 …State->dec_buffer, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_… in WebRtcIsac_InitializePitch()
170 … &buf_dec[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2]); in WebRtcIsac_InitializePitch()
173 …PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k < PITCH_CORR_LEN2+PITCH_CO… in WebRtcIsac_InitializePitch()
177 …PITCH_FRAME_LEN/2, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_… in WebRtcIsac_InitializePitch()
424 if (lags1[peak] > (double) PITCH_MAX_LAG) lags1[peak] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch()
425 if (lags2[peak] > (double) PITCH_MAX_LAG) lags2[peak] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch()
441 if (lags1[0] > (double) PITCH_MAX_LAG) lags1[0] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch()
442 if (lags2[0] > (double) PITCH_MAX_LAG) lags2[0] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch()
Dsettings.h114 #define PITCH_MAX_LAG 140 /* 57 Hz */ macro
119 #define PITCH_LAG_SPAN2 (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5)
137 #define PITCH_BUFFSIZE (PITCH_MAX_LAG + 50)
Dintialize.c155 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) in WebRtcIsac_InitPitchAnalysis()
Dstructs.h132 PITCH_MAX_LAG/2 - PITCH_FRAME_LEN/2+2];
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Ddecode_plc.c266 int16_t stretchPitchLP[PITCH_MAX_LAG + 10], stretchPitchLP1[PITCH_MAX_LAG + 10]; in WebRtcIsacfix_DecodePlcImpl()
352 &(ISACdec_obj->plcstr_obj).prevPitchInvOut[PITCH_MAX_LAG + 10 - lag0], in WebRtcIsacfix_DecodePlcImpl()
360 PITCH_MAX_LAG + 10 - lag0 + i] ); in WebRtcIsacfix_DecodePlcImpl()
496 PITCH_MAX_LAG + 10 - NOISE_FILTER_LEN], NOISE_FILTER_LEN ); in WebRtcIsacfix_DecodePlcImpl()
506 ISACdec_obj->plcstr_obj.prevHP[PITCH_MAX_LAG + 10 - NOISE_FILTER_LEN + in WebRtcIsacfix_DecodePlcImpl()
538 (ISACdec_obj->plcstr_obj).prevHP[PITCH_MAX_LAG + 10 - in WebRtcIsacfix_DecodePlcImpl()
565 (ISACdec_obj->plcstr_obj).stretchLag > PITCH_MAX_LAG in WebRtcIsacfix_DecodePlcImpl()
566 … )? (PITCH_MAX_LAG):(ISACdec_obj->plcstr_obj).stretchLag; in WebRtcIsacfix_DecodePlcImpl()
655 (ISACdec_obj->plcstr_obj).prevHP[PITCH_MAX_LAG + 10 - in WebRtcIsacfix_DecodePlcImpl()
689 (ISACdec_obj->plcstr_obj).stretchLag > PITCH_MAX_LAG in WebRtcIsacfix_DecodePlcImpl()
[all …]
Ddecode.c174 …r_obj).prevPitchInvOut, &(Vector_Word16_2[FRAMESAMPLES/2 - (PITCH_MAX_LAG + 10)]), PITCH_MAX_LAG ); in WebRtcIsacfix_DecodeImpl()
197 for( k = 0; k < PITCH_MAX_LAG + 10; k++ ) in WebRtcIsacfix_DecodeImpl()
198 … (ISACdec_obj->plcstr_obj).prevHP[k] = Vector_Word32_1[FRAMESAMPLES/2 - (PITCH_MAX_LAG + 10) + k]; in WebRtcIsacfix_DecodeImpl()
Dinitialize.c131 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) { in WebRtcIsacfix_InitPitchAnalysis()
163 WebRtcSpl_ZerosArrayW16(State->prevPitchInvOut, PITCH_MAX_LAG + 10 ); in WebRtcIsacfix_InitPlc()
164 WebRtcSpl_ZerosArrayW32(State->prevHP, PITCH_MAX_LAG + 10 ); in WebRtcIsacfix_InitPlc()
Dstructs.h137 int16_t dec_buffer16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2];
153 int16_t prevPitchInvOut[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90
154 int32_t prevHP[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90
Dpitch_estimator_c.c29 x = in + PITCH_MAX_LAG / 2 + 2; in WebRtcIsacfix_PCorr2Q32()
35 x = in + PITCH_MAX_LAG / 2 + 2; in WebRtcIsacfix_PCorr2Q32()
Dpitch_estimator_mips.c24 x = in + PITCH_MAX_LAG / 2 + 2; in WebRtcIsacfix_PCorr2Q32()
30 x = in + PITCH_MAX_LAG / 2 + 2; in WebRtcIsacfix_PCorr2Q32()
Dpitch_estimator.c156 int16_t buf_dec16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2+2]; in WebRtcIsacfix_InitialPitch()
191 … &buf_dec16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2]); in WebRtcIsacfix_InitialPitch()
194 start= PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; in WebRtcIsacfix_InitialPitch()
198 for (k = 0; k < (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2); k++) in WebRtcIsacfix_InitialPitch()
Dsettings.h151 #define PITCH_MAX_LAG 140 /* 57 Hz */ macro