Home
last modified time | relevance | path

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

/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dsettings.h112 #define PITCH_FRAME_LEN (FRAMESAMPLES_HALF) /* 30 ms */ macro
120 #define PITCH_CORR_STEP2 (PITCH_FRAME_LEN/4)
124 #define PITCH_SUBFRAME_LEN (PITCH_FRAME_LEN/PITCH_SUBFRAMES)
131 #define PITCH_WLPCWINLEN PITCH_FRAME_LEN
137 #define PITCH_INTBUFFSIZE (PITCH_FRAME_LEN+PITCH_BUFFSIZE)
Dpitch_estimator.c165 …c_buffer, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2)); in WebRtcIsac_InitializePitch()
168 WebRtcIsac_DecimateAllpass(in, State->decimator_state, PITCH_FRAME_LEN, 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 …for (k = PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k < PITCH_CORR_LEN2… in WebRtcIsac_InitializePitch()
176 …tate->dec_buffer, buf_dec+PITCH_FRAME_LEN/2, sizeof(double) * (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PI… in WebRtcIsac_InitializePitch()
473 double HPin[PITCH_FRAME_LEN]; in WebRtcIsac_PitchAnalysis()
474 double Weighted[PITCH_FRAME_LEN]; in WebRtcIsac_PitchAnalysis()
475 double Whitened[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
476 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
477 double out_G[PITCH_FRAME_LEN + QLOOKAHEAD]; // could be removed by using out instead in WebRtcIsac_PitchAnalysis()
[all …]
Dfilter_functions.c129 double tmpbuffer[PITCH_FRAME_LEN + PITCH_WLPCBUFLEN]; in WebRtcIsac_WeightingFilter()
140 memcpy(tmpbuffer+PITCH_WLPCBUFLEN, in, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
141 memcpy(wfdata->buffer, tmpbuffer+PITCH_FRAME_LEN, sizeof(double) * PITCH_WLPCBUFLEN); in WebRtcIsac_WeightingFilter()
183 wfdata->weostate[k]=weoutbuf[PITCH_FRAME_LEN+k]; in WebRtcIsac_WeightingFilter()
184 wfdata->whostate[k]=whoutbuf[PITCH_FRAME_LEN+k]; in WebRtcIsac_WeightingFilter()
188 memcpy(weiout, weoutbuf+PITCH_WLPCORDER, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
189 memcpy(whiout, whoutbuf+PITCH_WLPCORDER, sizeof(double) * PITCH_FRAME_LEN); in WebRtcIsac_WeightingFilter()
222 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.c159 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/src/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c304 …16(sizeof(WebRtc_Word16), (PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2))); in WebRtcIsacfix_InitialPitch()
307 WebRtcIsacfix_DecimateAllpass32(in, State->decimator_state32, PITCH_FRAME_LEN, 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()
312 …ilterARFastQ12(&buf_dec16[start],&buf_dec16[start],(WebRtc_Word16*)kACoefQ12,3, PITCH_FRAME_LEN/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()
316 State->dec_buffer16[k] = buf_dec16[k+PITCH_FRAME_LEN/2]; in WebRtcIsacfix_InitialPitch()
525 WebRtc_Word16 inbufQ0[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsacfix_PitchAnalysis()
539 for (k = 0; k < PITCH_FRAME_LEN; k++) { in WebRtcIsacfix_PitchAnalysis()
549 State->inbuf[k] = inbufQ0[k + PITCH_FRAME_LEN]; in WebRtcIsacfix_PitchAnalysis()
Dpitch_filter.c161 memcpy(pfp->ubufQQ, ubufQQ + PITCH_FRAME_LEN, sizeof(pfp->ubufQQ)); in WebRtcIsacfix_PitchFilter()
276 memcpy(pfp->ubufQQ, ubufQQ + PITCH_FRAME_LEN, sizeof(pfp->ubufQQ)); in WebRtcIsacfix_PitchFilterGains()
Dsettings.h141 #define PITCH_FRAME_LEN 240 /* (FRAMESAMPLES/2) 30 ms */ macro
Dfilters.c105 WebRtc_Word16 data_vec[PITCH_FRAME_LEN]; in WebRtcIsacfix_DecimateAllpass32()
Dinitialize.c133 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) { in WebRtcIsacfix_InitPitchAnalysis()
Dstructs.h135 …WebRtc_Word16 dec_buffer16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2];