Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dfilterbanks.c172 int16_t tempin_ch1[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
173 int16_t tempin_ch2[FRAMESAMPLES/2 + QLOOKAHEAD]; in WebRtcIsacfix_SplitAndFilter1()
183 tempin_ch1[QLOOKAHEAD + k] = pin[1 + 2 * k]; in WebRtcIsacfix_SplitAndFilter1()
185 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
187 prefiltdata->INLABUF1_fix[k] = pin[FRAMESAMPLES + 1 - 2 * (QLOOKAHEAD - k)]; in WebRtcIsacfix_SplitAndFilter1()
193 tempin_ch2[QLOOKAHEAD + k] = pin[2 * k]; in WebRtcIsacfix_SplitAndFilter1()
195 for (k=0;k<QLOOKAHEAD;k++) { in WebRtcIsacfix_SplitAndFilter1()
197 prefiltdata->INLABUF2_fix[k] = pin[FRAMESAMPLES - 2 * (QLOOKAHEAD - k)]; in WebRtcIsacfix_SplitAndFilter1()
220 QLOOKAHEAD, in WebRtcIsacfix_SplitAndFilter1()
225 for (k=0; k<FRAMESAMPLES/2 + QLOOKAHEAD; k++) { in WebRtcIsacfix_SplitAndFilter1()
Dstructs.h79 int16_t INLABUF1_fix[QLOOKAHEAD];
80 int16_t INLABUF2_fix[QLOOKAHEAD];
117 int16_t inbuf[QLOOKAHEAD];
Dlpc_masking_model.c370 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
374 for ( ; k < (FRAMESAMPLES/2 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
378 for ( ; k < (FRAMESAMPLES * 3 / 4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
382 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { in WebRtcIsacfix_GetVars()
607 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) { in WebRtcIsacfix_GetLpcCoef()
608 maskdata->DataBufferLoQ0[pos1 + WINLEN - QLOOKAHEAD] = inLoQ0[pos1]; in WebRtcIsacfix_GetLpcCoef()
624 maskdata->DataBufferLoQ0[pos1] = inLoQ0[QLOOKAHEAD + pos2]; in WebRtcIsacfix_GetLpcCoef()
Dinitialize.c77 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsacfix_InitPreFilterbank()
138 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsacfix_InitPitchAnalysis()
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()
Dpitch_filter.c53 int16_t ubufQQ[PITCH_INTBUFFSIZE + QLOOKAHEAD]; in WebRtcIsacfix_PitchFilter()
141 WebRtcIsacfix_PitchFilterCore(QLOOKAHEAD, curGainQ12, indW32, 1, inystateQQ, in WebRtcIsacfix_PitchFilter()
Dsettings.h52 #define QLOOKAHEAD 24 /* 3 ms */ macro
Dfilterbanks_unittest.cc25 const int kSamples = QLOOKAHEAD; in CalculateResidualEnergyTester()
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Disac_vad.c66 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsac_InitPitchAnalysis()
68 for (k = 0; k < QLOOKAHEAD; k++) in WebRtcIsac_InitPitchAnalysis()
81 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsac_InitPreFilterbank()
282 tempin_ch1[FRAMESAMPLES_HALF + QLOOKAHEAD - 1 - k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
296 QLOOKAHEAD, NUMBEROFCOMPOSITEAPSECTIONS, CompositeAPFilterState); in WebRtcIsac_SplitAndFilterFloat()
302 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsac_SplitAndFilterFloat()
303 tempin_ch1[QLOOKAHEAD - 1 - k] = prefiltdata->INLABUF1_float[k]; in WebRtcIsac_SplitAndFilterFloat()
322 tempin_ch2[FRAMESAMPLES_HALF + QLOOKAHEAD - 1 - k] = tempinoutvec[k]; in WebRtcIsac_SplitAndFilterFloat()
331 QLOOKAHEAD, NUMBEROFCOMPOSITEAPSECTIONS, CompositeAPFilterState); in WebRtcIsac_SplitAndFilterFloat()
333 for (k = 0; k < QLOOKAHEAD; k++) { in WebRtcIsac_SplitAndFilterFloat()
[all …]
Dstructs.h59 double INLABUF1[QLOOKAHEAD];
60 double INLABUF2[QLOOKAHEAD];
66 float INLABUF1_float[QLOOKAHEAD];
67 float INLABUF2_float[QLOOKAHEAD];
126 double whitened_buf[QLOOKAHEAD];
128 double inbuf[QLOOKAHEAD];
Dlpc_analysis.c88 for (k = QLOOKAHEAD/2; k < (FRAMESAMPLES_QUARTER + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
92 for ( ; k < (FRAMESAMPLES_HALF + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
96 for ( ; k < (FRAMESAMPLES*3/4 + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
100 for ( ; k < (FRAMESAMPLES + QLOOKAHEAD) / 2; k++) { in WebRtcIsac_GetVars()
208 for (pos1 = 0; pos1 < QLOOKAHEAD; pos1++) in WebRtcIsac_GetLpcCoefLb()
209 maskdata->DataBufferLo[pos1 + WINLEN - QLOOKAHEAD] = inLo[pos1]; in WebRtcIsac_GetLpcCoefLb()
222 maskdata->DataBufferLo[pos1] = inLo[QLOOKAHEAD + pos2]; in WebRtcIsac_GetLpcCoefLb()
Dpitch_estimator.c546 double Whitened[PITCH_FRAME_LEN + QLOOKAHEAD]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
547 double inbuf[PITCH_FRAME_LEN + QLOOKAHEAD]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
548 double out_G[PITCH_FRAME_LEN + QLOOKAHEAD]; // could be removed by using out instead in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
549 double out_dG[4][PITCH_FRAME_LEN + QLOOKAHEAD]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
562 memcpy(Whitened, State->whitened_buf, sizeof(double) * QLOOKAHEAD); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
565 WebRtcIsac_WeightingFilter(HPin, &Weighted[0], &Whitened[QLOOKAHEAD], &(State->Wghtstr)); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
568 memcpy(State->whitened_buf, Whitened+PITCH_FRAME_LEN, sizeof(double) * QLOOKAHEAD); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
581 for (k = 0; k < PITCH_FRAME_LEN + QLOOKAHEAD; k++) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
604 for (n = 0; n < PITCH_FRAME_LEN + QLOOKAHEAD; n++) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
611 for (n = 0; n < PITCH_FRAME_LEN + QLOOKAHEAD; n++) in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
[all …]
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()
358 filter_parameters.num_samples = QLOOKAHEAD; in FilterFrame()
378 double out_dg[][PITCH_FRAME_LEN + QLOOKAHEAD], PitchFiltstr *pf_state, in WebRtcIsac_PitchfilterPre_gains()
Dpitch_filter.h37 double out_dG[][PITCH_FRAME_LEN + QLOOKAHEAD],
Dsettings.h54 #define QLOOKAHEAD 24 /* 3 ms */ macro
Dencode.c198 double LP_lookahead_pf[FRAMESAMPLES_HALF + QLOOKAHEAD]; in WebRtcIsac_EncodeLb()