Home
last modified time | relevance | path

Searched refs:QLOOKAHEAD (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/src/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c126 WebRtc_Word16 tempin_ch1[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
127 WebRtc_Word16 tempin_ch2[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
137 tempin_ch1[QLOOKAHEAD + k] = pin[1+WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
139 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
141 …prefiltdata->INLABUF1_fix[k]=pin[FRAMESAMPLES+1-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL… in WebRtcIsacfix_SplitAndFilter1()
147 tempin_ch2[QLOOKAHEAD+k] = pin[WEBRTC_SPL_MUL_16_16(2, k)]; in WebRtcIsacfix_SplitAndFilter1()
149 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
151 …prefiltdata->INLABUF2_fix[k]=pin[FRAMESAMPLES-WEBRTC_SPL_MUL_16_16(2, QLOOKAHEAD)+WEBRTC_SPL_MUL_1… in WebRtcIsacfix_SplitAndFilter1()
163 …AllpassFilter2FixDec16(tempin_ch1 + FRAMESAMPLES/2,WebRtcIsacfix_kUpperApFactorsQ15, QLOOKAHEAD , … in WebRtcIsacfix_SplitAndFilter1()
166 …AllpassFilter2FixDec16(tempin_ch2 + FRAMESAMPLES/2,WebRtcIsacfix_kLowerApFactorsQ15, QLOOKAHEAD , … in WebRtcIsacfix_SplitAndFilter1()
[all …]
Dstructs.h93 WebRtc_Word16 INLABUF1_fix[QLOOKAHEAD];
94 WebRtc_Word16 INLABUF2_fix[QLOOKAHEAD];
137 WebRtc_Word16 inbuf[QLOOKAHEAD];
Dencode.c45 WebRtc_Word16 LPandHP[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
46 WebRtc_Word16 LP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
47 WebRtc_Word16 HP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
156 WebRtcIsacfix_PitchAnalysis(LP16a+QLOOKAHEAD, LPandHP, in WebRtcIsacfix_EncodeImpl()
197 WebRtcIsacfix_GetLpcCoef(LPandHP, HP16a+QLOOKAHEAD, &ISACenc_obj->maskfiltstr_obj, in WebRtcIsacfix_EncodeImpl()
Dinitialize.c77 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_InitPreFilterbank()
140 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsacfix_InitPitchAnalysis()
Dlpc_masking_model.c381 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
385 for ( ; k < (FRAMESAMPLES/2 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
389 for ( ; k < (WEBRTC_SPL_MUL_16_16(FRAMESAMPLES, 3)/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
393 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
620 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { in WebRtcIsacfix_GetLpcCoef()
621 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; in WebRtcIsacfix_GetLpcCoef()
637 maskdata->DataBufferLoQ0[pos1] = inLoQ0[QLOOKAHEAD + pos2]; in WebRtcIsacfix_GetLpcCoef()
Dpitch_estimator.c525 WebRtc_Word16 inbufQ0[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsacfix_PitchAnalysis()
536 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_PitchAnalysis()
540 inbufQ0[k+QLOOKAHEAD] = (WebRtc_Word16) inn[k]; in WebRtcIsacfix_PitchAnalysis()
548 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_PitchAnalysis()
Dpitch_filter.c82 WebRtc_Word16 ubufQQ[PITCH_INTBUFFSIZE + QLOOKAHEAD]; in WebRtcIsacfix_PitchFilter()
169 WebRtcIsacfix_PitchFilterCore(QLOOKAHEAD, curGainQ12, indW32, 1, inystateQQ, in WebRtcIsacfix_PitchFilter()
Dsettings.h52 #define QLOOKAHEAD 24 /* 3 ms */ macro
/external/webrtc/src/modules/audio_coding/codecs/isac/main/source/
Dfilterbanks.c138 tempin_ch1[FRAMESAMPLES_HALF+QLOOKAHEAD-1-k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
151 WebRtcIsac_kCompositeApFactorsFloat, QLOOKAHEAD, in WebRtcIsac_SplitAndFilterFloat()
158 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsac_SplitAndFilterFloat()
159 tempin_ch1[QLOOKAHEAD-1-k]=prefiltdata->INLABUF1_float[k]; in WebRtcIsac_SplitAndFilterFloat()
177 tempin_ch2[FRAMESAMPLES_HALF+QLOOKAHEAD-1-k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
186 … WebRtcIsac_kCompositeApFactorsFloat, QLOOKAHEAD,NUMBEROFCOMPOSITEAPSECTIONS, in WebRtcIsac_SplitAndFilterFloat()
189 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsac_SplitAndFilterFloat()
190 tempin_ch2[QLOOKAHEAD-1-k]=prefiltdata->INLABUF2_float[k]; in WebRtcIsac_SplitAndFilterFloat()
Dstructs.h64 double INLABUF1[QLOOKAHEAD];
65 double INLABUF2[QLOOKAHEAD];
71 float INLABUF1_float[QLOOKAHEAD];
72 float INLABUF2_float[QLOOKAHEAD];
136 double whitened_buf[QLOOKAHEAD];
138 double inbuf[QLOOKAHEAD];
Dpitch_estimator.c475 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()
478 double out_dG[4][PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
491 memcpy(Whitened, State->whitened_buf, sizeof(double) * QLOOKAHEAD); in WebRtcIsac_PitchAnalysis()
494 WebRtcIsac_WeightingFilter(HPin, &Weighted[0], &Whitened[QLOOKAHEAD], &(State->Wghtstr)); in WebRtcIsac_PitchAnalysis()
497 memcpy(State->whitened_buf, Whitened+PITCH_FRAME_LEN, sizeof(double) * QLOOKAHEAD); in WebRtcIsac_PitchAnalysis()
510 for (k = 0; k < PITCH_FRAME_LEN + QLOOKAHEAD; k++) in WebRtcIsac_PitchAnalysis()
533 for (n = 0; n < PITCH_FRAME_LEN + QLOOKAHEAD; n++) in WebRtcIsac_PitchAnalysis()
540 for (n = 0; n < PITCH_FRAME_LEN + QLOOKAHEAD; n++) in WebRtcIsac_PitchAnalysis()
[all …]
Dlpc_analysis.c124 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES_QUARTER + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
128 for ( ; k < (FRAMESAMPLES_HALF + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
132 for ( ; k < (FRAMESAMPLES*3/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
136 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
247 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) in WebRtcIsac_GetLpcCoefLb()
248 maskdata->DataBufferLo[pos1 + WINLEN - QLOOKAHEAD] = inLo[pos1]; in WebRtcIsac_GetLpcCoefLb()
261 maskdata->DataBufferLo[pos1] = inLo[QLOOKAHEAD + pos2]; in WebRtcIsac_GetLpcCoefLb()
Dpitch_filter.c105 double buffer[PITCH_INTBUFFSIZE + QLOOKAHEAD];
137 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD]) { in FilterSegment()
263 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD]) { in FilterFrame()
353 filter_parameters.num_samples = QLOOKAHEAD; in FilterFrame()
373 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD], PitchFiltstr *pf_state, in WebRtcIsac_PitchfilterPre_gains()
Dintialize.c54 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsac_InitPreFilterbank()
165 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsac_InitPitchAnalysis()
167 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsac_InitPitchAnalysis()
Dpitch_estimator.h57 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEAD],
Dsettings.h62 #define QLOOKAHEAD 24 /* 3 ms */ macro
Dencode.c195 double LP_lookahead_pf[FRAMESAMPLES_HALF + QLOOKAHEAD]; in WebRtcIsac_EncodeLb()