Home
last modified time | relevance | path

Searched refs:PITCH_FRAME_LEN (Results 1 – 13 of 13) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c166 …c_buffer, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2)); in WebRtcIsac_InitializePitch()
169 WebRtcIsac_DecimateAllpass(in, State->decimator_state, PITCH_FRAME_LEN, 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 …for (k = PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k < PITCH_CORR_LEN2… in WebRtcIsac_InitializePitch()
177 …tate->dec_buffer, buf_dec+PITCH_FRAME_LEN/2, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PI… in WebRtcIsac_InitializePitch()
474 double HPin[PITCH_FRAME_LEN]; in WebRtcIsac_PitchAnalysis()
475 double Weighted[PITCH_FRAME_LEN]; in WebRtcIsac_PitchAnalysis()
476 double Whitened[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
477 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
478 double out_G[PITCH_FRAME_LEN + QLOOKAHEAD]; // could be removed by using out instead in WebRtcIsac_PitchAnalysis()
[all …]
Dsettings.h113 #define PITCH_FRAME_LEN (FRAMESAMPLES_HALF) /* 30 ms */ macro
121 #define PITCH_CORR_STEP2 (PITCH_FRAME_LEN/4)
125 #define PITCH_SUBFRAME_LEN (PITCH_FRAME_LEN/PITCH_SUBFRAMES)
132 #define PITCH_WLPCWINLEN PITCH_FRAME_LEN
138 #define PITCH_INTBUFFSIZE (PITCH_FRAME_LEN+PITCH_BUFFSIZE)
Dfilter_functions.c136 double tmpbuffer[PITCH_FRAME_LEN + PITCH_WLPCBUFLEN]; in WebRtcIsac_WeightingFilter()
147 memcpy(tmpbuffer+PITCH_WLPCBUFLEN, in, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
148 memcpy(wfdata->buffer, tmpbuffer+PITCH_FRAME_LEN, sizeof(double) * PITCH_WLPCBUFLEN); in WebRtcIsac_WeightingFilter()
190 wfdata->weostate[k]=weoutbuf[PITCH_FRAME_LEN+k]; in WebRtcIsac_WeightingFilter()
191 wfdata->whostate[k]=whoutbuf[PITCH_FRAME_LEN+k]; in WebRtcIsac_WeightingFilter()
195 memcpy(weiout, weoutbuf+PITCH_WLPCORDER, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
196 memcpy(whiout, whoutbuf+PITCH_WLPCORDER, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
226 double data_vec[PITCH_FRAME_LEN]; in WebRtcIsac_DecimateAllpass()
Dpitch_filter.c137 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD]) { in FilterSegment()
263 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD]) { in FilterFrame()
339 memcpy(filter_state->ubuf, &filter_parameters.buffer[PITCH_FRAME_LEN], in FilterFrame()
373 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD], PitchFiltstr *pf_state, in WebRtcIsac_PitchfilterPre_gains()
Dpitch_estimator.h57 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEAD],
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/
Dpitch_estimator.c190 WebRtcIsacfix_DecimateAllpass32(in, State->decimator_state32, PITCH_FRAME_LEN, 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()
195 …cSpl_FilterARFastQ12(&buf_dec16[start],&buf_dec16[start],(int16_t*)kACoefQ12,3, PITCH_FRAME_LEN/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()
199 State->dec_buffer16[k] = buf_dec16[k+PITCH_FRAME_LEN/2]; in WebRtcIsacfix_InitialPitch()
409 int16_t inbufQ0[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsacfix_PitchAnalysis()
423 for (k = 0; k < PITCH_FRAME_LEN; k++) { in WebRtcIsacfix_PitchAnalysis()
433 State->inbuf[k] = inbufQ0[k + PITCH_FRAME_LEN]; in WebRtcIsacfix_PitchAnalysis()
Dpitch_filter.c126 memcpy(pfp->ubufQQ, ubufQQ + PITCH_FRAME_LEN, sizeof(pfp->ubufQQ)); in WebRtcIsacfix_PitchFilter()
237 memcpy(pfp->ubufQQ, ubufQQ + PITCH_FRAME_LEN, sizeof(pfp->ubufQQ)); in WebRtcIsacfix_PitchFilterGains()
Dsettings.h150 #define PITCH_FRAME_LEN 240 /* (FRAMESAMPLES/2) 30 ms */ macro
Dfilters.c97 int16_t data_vec[PITCH_FRAME_LEN]; in WebRtcIsacfix_DecimateAllpass32()
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()
Dstructs.h137 int16_t dec_buffer16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2];