Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c169 int16_t tempin_ch1[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
170 int16_t tempin_ch2[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
180 tempin_ch1[QLOOKAHEAD + k] = pin[1 + 2 * k]; in WebRtcIsacfix_SplitAndFilter1()
182 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
184 prefiltdata->INLABUF1_fix[k] = pin[FRAMESAMPLES + 1 - 2 * (QLOOKAHEAD - k)]; in WebRtcIsacfix_SplitAndFilter1()
190 tempin_ch2[QLOOKAHEAD + k] = pin[2 * k]; in WebRtcIsacfix_SplitAndFilter1()
192 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
194 prefiltdata->INLABUF2_fix[k] = pin[FRAMESAMPLES - 2 * (QLOOKAHEAD - k)]; in WebRtcIsacfix_SplitAndFilter1()
217 QLOOKAHEAD, in WebRtcIsacfix_SplitAndFilter1()
222 for (k=0; k<FRAMESAMPLES/2 + QLOOKAHEAD; k++) { in WebRtcIsacfix_SplitAndFilter1()
Dstructs.h95 int16_t INLABUF1_fix[QLOOKAHEAD];
96 int16_t INLABUF2_fix[QLOOKAHEAD];
139 int16_t inbuf[QLOOKAHEAD];
Dlpc_masking_model.c369 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
373 for ( ; k < (FRAMESAMPLES/2 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
377 for ( ; k < (FRAMESAMPLES * 3 / 4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
381 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
606 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { in WebRtcIsacfix_GetLpcCoef()
607 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; in WebRtcIsacfix_GetLpcCoef()
623 maskdata->DataBufferLoQ0[pos1] = inLoQ0[QLOOKAHEAD + pos2]; in WebRtcIsacfix_GetLpcCoef()
Dpitch_estimator.c409 int16_t inbufQ0[PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsacfix_PitchAnalysis()
420 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_PitchAnalysis()
424 inbufQ0[k+QLOOKAHEAD] = (int16_t) inn[k]; in WebRtcIsacfix_PitchAnalysis()
432 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_PitchAnalysis()
Dencode.c48 int16_t LPandHP[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
49 int16_t LP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
50 int16_t HP16a[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_EncodeImpl()
160 WebRtcIsacfix_PitchAnalysis(LP16a+QLOOKAHEAD, LPandHP, in WebRtcIsacfix_EncodeImpl()
202 WebRtcIsacfix_GetLpcCoef(LPandHP, HP16a+QLOOKAHEAD, &ISACenc_obj->maskfiltstr_obj, in WebRtcIsacfix_EncodeImpl()
Dinitialize.c77 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_InitPreFilterbank()
138 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsacfix_InitPitchAnalysis()
Dpitch_filter.c54 int16_t ubufQQ[PITCH_INTBUFFSIZE + QLOOKAHEAD]; in WebRtcIsacfix_PitchFilter()
134 WebRtcIsacfix_PitchFilterCore(QLOOKAHEAD, curGainQ12, indW32, 1, inystateQQ, in WebRtcIsacfix_PitchFilter()
Dsettings.h52 #define QLOOKAHEAD 24 /* 3 ms */ macro
Dfilterbanks_unittest.cc24 const int kSamples = QLOOKAHEAD; in CalculateResidualEnergyTester()
/external/webrtc/webrtc/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.c476 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()
479 double out_dG[4][PITCH_FRAME_LEN + QLOOKAHEAD]; in WebRtcIsac_PitchAnalysis()
492 memcpy(Whitened, State->whitened_buf, sizeof(double) * QLOOKAHEAD); in WebRtcIsac_PitchAnalysis()
495 WebRtcIsac_WeightingFilter(HPin, &Weighted[0], &Whitened[QLOOKAHEAD], &(State->Wghtstr)); in WebRtcIsac_PitchAnalysis()
498 memcpy(State->whitened_buf, Whitened+PITCH_FRAME_LEN, sizeof(double) * QLOOKAHEAD); in WebRtcIsac_PitchAnalysis()
511 for (k = 0; k < PITCH_FRAME_LEN + QLOOKAHEAD; k++) in WebRtcIsac_PitchAnalysis()
534 for (n = 0; n < PITCH_FRAME_LEN + QLOOKAHEAD; n++) in WebRtcIsac_PitchAnalysis()
541 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.c50 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsac_InitPreFilterbank()
161 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsac_InitPitchAnalysis()
163 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.c196 double LP_lookahead_pf[FRAMESAMPLES_HALF + QLOOKAHEAD]; in WebRtcIsac_EncodeLb()