Searched refs:PITCH_FRAME_LEN (Results 1 – 13 of 13) sorted by relevance
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | pitch_estimator.c | 166 …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 …]
|
D | settings.h | 113 #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)
|
D | filter_functions.c | 136 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()
|
D | pitch_filter.c | 137 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()
|
D | pitch_estimator.h | 57 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEAD],
|
D | intialize.c | 155 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/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | pitch_estimator.c | 190 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()
|
D | pitch_filter.c | 126 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()
|
D | settings.h | 150 #define PITCH_FRAME_LEN 240 /* (FRAMESAMPLES/2) 30 ms */ macro
|
D | filters.c | 97 int16_t data_vec[PITCH_FRAME_LEN]; in WebRtcIsacfix_DecimateAllpass32()
|
D | initialize.c | 131 for (k = 0; k < PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2; k++) { in WebRtcIsacfix_InitPitchAnalysis()
|
D | structs.h | 137 int16_t dec_buffer16[PITCH_CORR_LEN2+PITCH_CORR_STEP2+PITCH_MAX_LAG/2-PITCH_FRAME_LEN/2+2];
|