Searched refs:PITCH_MAX_LAG (Results 1 – 10 of 10) sorted by relevance
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_estimator.c | 99 x = in + PITCH_MAX_LAG/2 + 2; in PCorr() 131 double buf_dec[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2+2]; in WebRtcIsac_InitializePitch() 165 …State->dec_buffer, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_… in WebRtcIsac_InitializePitch() 169 … &buf_dec[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2]); in WebRtcIsac_InitializePitch() 172 …PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k < PITCH_CORR_LEN2+PITCH_CO… in WebRtcIsac_InitializePitch() 176 …PITCH_FRAME_LEN/2, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_… in WebRtcIsac_InitializePitch() 423 if (lags1[peak] > (double) PITCH_MAX_LAG) lags1[peak] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch() 424 if (lags2[peak] > (double) PITCH_MAX_LAG) lags2[peak] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch() 440 if (lags1[0] > (double) PITCH_MAX_LAG) lags1[0] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch() 441 if (lags2[0] > (double) PITCH_MAX_LAG) lags2[0] = (double) PITCH_MAX_LAG; in WebRtcIsac_InitializePitch()
|
D | settings.h | 113 #define PITCH_MAX_LAG 140 /* 57 Hz */ macro 118 #define PITCH_LAG_SPAN2 (PITCH_MAX_LAG/2-PITCH_MIN_LAG/2+5) 136 #define PITCH_BUFFSIZE (PITCH_MAX_LAG + 50)
|
D | intialize.c | 159 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) in WebRtcIsac_InitPitchAnalysis()
|
D | structs.h | 132 PITCH_MAX_LAG/2 - PITCH_FRAME_LEN/2+2];
|
/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/ |
D | decode_plc.c | 269 WebRtc_Word16 stretchPitchLP[PITCH_MAX_LAG + 10], stretchPitchLP1[PITCH_MAX_LAG + 10]; in WebRtcIsacfix_DecodePlcImpl() 355 &(ISACdec_obj->plcstr_obj).prevPitchInvOut[PITCH_MAX_LAG + 10 - lag0], in WebRtcIsacfix_DecodePlcImpl() 363 PITCH_MAX_LAG + 10 - lag0 + i] ); in WebRtcIsacfix_DecodePlcImpl() 506 PITCH_MAX_LAG + 10 - NOISE_FILTER_LEN], NOISE_FILTER_LEN ); in WebRtcIsacfix_DecodePlcImpl() 518 PITCH_MAX_LAG + 10 - NOISE_FILTER_LEN + i], rshift); in WebRtcIsacfix_DecodePlcImpl() 551 (ISACdec_obj->plcstr_obj).prevHP[PITCH_MAX_LAG + 10 - in WebRtcIsacfix_DecodePlcImpl() 578 (ISACdec_obj->plcstr_obj).stretchLag > PITCH_MAX_LAG in WebRtcIsacfix_DecodePlcImpl() 579 … )? (PITCH_MAX_LAG):(ISACdec_obj->plcstr_obj).stretchLag; in WebRtcIsacfix_DecodePlcImpl() 672 (ISACdec_obj->plcstr_obj).prevHP[PITCH_MAX_LAG + 10 - in WebRtcIsacfix_DecodePlcImpl() 708 (ISACdec_obj->plcstr_obj).stretchLag > PITCH_MAX_LAG in WebRtcIsacfix_DecodePlcImpl() [all …]
|
D | decode.c | 172 …r_obj).prevPitchInvOut, &(Vector_Word16_2[FRAMESAMPLES/2 - (PITCH_MAX_LAG + 10)]), PITCH_MAX_LAG ); in WebRtcIsacfix_DecodeImpl() 196 for( k = 0; k < PITCH_MAX_LAG + 10; k++ ) in WebRtcIsacfix_DecodeImpl() 197 … (ISACdec_obj->plcstr_obj).prevHP[k] = Vector_Word32_1[FRAMESAMPLES/2 - (PITCH_MAX_LAG + 10) + k]; in WebRtcIsacfix_DecodeImpl()
|
D | initialize.c | 133 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) { in WebRtcIsacfix_InitPitchAnalysis() 165 WebRtcSpl_ZerosArrayW16(State->prevPitchInvOut, PITCH_MAX_LAG + 10 ); in WebRtcIsacfix_InitPlc() 166 WebRtcSpl_ZerosArrayW32(State->prevHP, PITCH_MAX_LAG + 10 ); in WebRtcIsacfix_InitPlc()
|
D | pitch_estimator.c | 173 x = in + PITCH_MAX_LAG/2 + 2; in PCorr2Q32() 177 x = in + PITCH_MAX_LAG/2 + 2; in PCorr2Q32() 273 WebRtc_Word16 buf_dec16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2+2]; in WebRtcIsacfix_InitialPitch() 304 …PL_MUL_16_16(sizeof(WebRtc_Word16), (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_… in WebRtcIsacfix_InitialPitch() 308 … &buf_dec16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2]); in WebRtcIsacfix_InitialPitch() 311 start= PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; in WebRtcIsacfix_InitialPitch() 315 for (k = 0; k < (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2); k++) in WebRtcIsacfix_InitialPitch()
|
D | structs.h | 135 …WebRtc_Word16 dec_buffer16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2]; 151 WebRtc_Word16 prevPitchInvOut[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90 152 WebRtc_Word32 prevHP[PITCH_MAX_LAG + 10]; // [FRAMESAMPLES/2]; save 90
|
D | settings.h | 142 #define PITCH_MAX_LAG 140 /* 57 Hz */ macro
|