Home
last modified time | relevance | path

Searched refs:LPC_FILTERORDER (Results 1 – 23 of 23) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/ilbc/
Ddecode.c62 int16_t PLCresidual[BLOCKL_MAX + LPC_FILTERORDER]; in WebRtcIlbcfix_DecodeImpl()
63 int16_t syntdenum[NSUB_MAX*(LPC_FILTERORDER+1)]; in WebRtcIlbcfix_DecodeImpl()
64 int16_t PLClpc[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_DecodeImpl()
71 data = &PLCresidual[LPC_FILTERORDER]; in WebRtcIlbcfix_DecodeImpl()
98 int16_t lsfdeq[LPC_FILTERORDER*LPC_N_MAX]; in WebRtcIlbcfix_DecodeImpl()
99 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; in WebRtcIlbcfix_DecodeImpl()
106 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); in WebRtcIlbcfix_DecodeImpl()
108 lsfdeq, LPC_FILTERORDER, iLBCdec_inst); in WebRtcIlbcfix_DecodeImpl()
118 syntdenum + (LPC_FILTERORDER + 1) * (iLBCdec_inst->nsub - 1), in WebRtcIlbcfix_DecodeImpl()
139 order_plus_one = LPC_FILTERORDER + 1; in WebRtcIlbcfix_DecodeImpl()
[all …]
Dstate_construct.c40 int16_t numerator[1+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
41 int16_t sampleValVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
42 int16_t sampleMaVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
43 int16_t *sampleVal = &sampleValVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
44 int16_t *sampleMa = &sampleMaVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
45 int16_t *sampleAr = &sampleValVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct()
49 for (k=0; k<LPC_FILTERORDER+1; k++){ in WebRtcIlbcfix_StateConstruct()
50 numerator[k] = syntDenum[LPC_FILTERORDER-k]; in WebRtcIlbcfix_StateConstruct()
96 WebRtcSpl_MemSetW16(sampleValVec, 0, (LPC_FILTERORDER)); in WebRtcIlbcfix_StateConstruct()
101 numerator, LPC_FILTERORDER+1, len + LPC_FILTERORDER); in WebRtcIlbcfix_StateConstruct()
[all …]
Dabs_quant.c44 int16_t syntOutBuf[LPC_FILTERORDER+STATE_SHORT_LEN_30MS]; in WebRtcIlbcfix_AbsQuant()
45 int16_t in_weightedVec[STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant()
46 int16_t *in_weighted = &in_weightedVec[LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant()
49 WebRtcSpl_MemSetW16(syntOutBuf, 0, LPC_FILTERORDER+STATE_SHORT_LEN_30MS); in WebRtcIlbcfix_AbsQuant()
50 syntOut = &syntOutBuf[LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant()
52 WebRtcSpl_MemSetW16(in_weightedVec, 0, LPC_FILTERORDER); in WebRtcIlbcfix_AbsQuant()
70 weightDenum, LPC_FILTERORDER+1, quantLen[0]); in WebRtcIlbcfix_AbsQuant()
73 &weightDenum[LPC_FILTERORDER+1], LPC_FILTERORDER+1, quantLen[1]); in WebRtcIlbcfix_AbsQuant()
Dstate_search.c46 int16_t numerator[1+LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch()
47 int16_t residualLongVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch()
49 int16_t *residualLong = &residualLongVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch()
57 for (i=0; i<LPC_FILTERORDER+1; i++) { in WebRtcIlbcfix_StateSearch()
58 numerator[i] = (syntDenum[LPC_FILTERORDER-i]>>scaleRes); in WebRtcIlbcfix_StateSearch()
68 WebRtcSpl_MemSetW16(residualLongVec, 0, LPC_FILTERORDER); in WebRtcIlbcfix_StateSearch()
70 LPC_FILTERORDER + 1, in WebRtcIlbcfix_StateSearch()
71 iLBCenc_inst->state_short_len + LPC_FILTERORDER); in WebRtcIlbcfix_StateSearch()
72 …&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->state_short_len - LPC… in WebRtcIlbcfix_StateSearch()
76 syntDenum, LPC_FILTERORDER+1, 2 * iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch()
Dsimple_lpc_analysis.c42 int16_t A[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleLpcAnalysis()
43 int32_t R[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleLpcAnalysis()
45 int16_t rc[LPC_FILTERORDER]; in WebRtcIlbcfix_SimpleLpcAnalysis()
67 WebRtcSpl_AutoCorrelation(windowedData, BLOCKL_MAX, LPC_FILTERORDER, R, &scale); in WebRtcIlbcfix_SimpleLpcAnalysis()
70 WebRtcIlbcfix_Window32W32(R, R, WebRtcIlbcfix_kLpcLagWin, LPC_FILTERORDER + 1 ); in WebRtcIlbcfix_SimpleLpcAnalysis()
73 stability=WebRtcSpl_LevinsonDurbin(R, A, rc, LPC_FILTERORDER); in WebRtcIlbcfix_SimpleLpcAnalysis()
81 WebRtcSpl_MemSetW16(&A[1], 0, LPC_FILTERORDER); in WebRtcIlbcfix_SimpleLpcAnalysis()
85 WebRtcIlbcfix_BwExpand(A, A, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, LPC_FILTERORDER+1); in WebRtcIlbcfix_SimpleLpcAnalysis()
88 WebRtcIlbcfix_Poly2Lsf(lsf + k*LPC_FILTERORDER, A); in WebRtcIlbcfix_SimpleLpcAnalysis()
Ddefines.h45 #define LPC_FILTERORDER 10 macro
152 int16_t anaMem[LPC_FILTERORDER];
155 int16_t lsfold[LPC_FILTERORDER];
156 int16_t lsfdeqold[LPC_FILTERORDER];
192 int16_t syntMem[LPC_FILTERORDER];
195 int16_t lsfdeqold[LPC_FILTERORDER];
206 int16_t prevLpc[LPC_FILTERORDER + 1];
212 int16_t old_syntdenum[(LPC_FILTERORDER + 1) * NSUB_MAX];
Dencode.c69 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; in WebRtcIlbcfix_EncodeImpl()
70 int16_t dataVec[BLOCKL_MAX + LPC_FILTERORDER]; in WebRtcIlbcfix_EncodeImpl()
81 int16_t *data = &dataVec[LPC_FILTERORDER]; in WebRtcIlbcfix_EncodeImpl()
140 WEBRTC_SPL_MEMCPY_W16(dataVec, iLBCenc_inst->anaMem, LPC_FILTERORDER); in WebRtcIlbcfix_EncodeImpl()
146 &syntdenum[n*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
147 LPC_FILTERORDER+1, SUBL); in WebRtcIlbcfix_EncodeImpl()
151 …SPL_MEMCPY_W16(iLBCenc_inst->anaMem, &data[iLBCenc_inst->blockl-LPC_FILTERORDER], LPC_FILTERORDER); in WebRtcIlbcfix_EncodeImpl()
187 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
188 &weightdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)]); in WebRtcIlbcfix_EncodeImpl()
191 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl()
[all …]
Denhancer_interface.c330 int16_t *synt = &downsampled[LPC_FILTERORDER]; in WebRtcIlbcfix_EnhancerInterface()
336 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface()
341 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], iLBCdec_inst->syntMem, in WebRtcIlbcfix_EnhancerInterface()
342 LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface()
347 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EnhancerInterface()
348 LPC_FILTERORDER+1, lag); in WebRtcIlbcfix_EnhancerInterface()
350 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], &synt[lag-LPC_FILTERORDER], in WebRtcIlbcfix_EnhancerInterface()
351 LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface()
358 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EnhancerInterface()
359 LPC_FILTERORDER+1, lag); in WebRtcIlbcfix_EnhancerInterface()
[all …]
Dconstants.c91 const int32_t WebRtcIlbcfix_kLpcLagWin[LPC_FILTERORDER + 1]={
99 const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum[LPC_FILTERORDER + 1] = {
107 const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum[LPC_FILTERORDER + 1] = {
438 const int16_t WebRtcIlbcfix_kLsfMean[LPC_FILTERORDER] = {
443 const int16_t WebRtcIlbcfix_kLspMean[LPC_FILTERORDER] = {
Dinit_decode.c60 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode()
63 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode()
66 WebRtcSpl_MemSetW16(iLBCdec_inst->old_syntdenum, 0, ((LPC_FILTERORDER + 1)*NSUB_MAX)); in WebRtcIlbcfix_InitDecode()
68 iLBCdec_inst->old_syntdenum[i*(LPC_FILTERORDER+1)] = 4096; in WebRtcIlbcfix_InitDecode()
78 WebRtcSpl_MemSetW16(iLBCdec_inst->prevLpc+1, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode()
Dlpc_encode.c43 int16_t lsf[LPC_FILTERORDER * LPC_N_MAX]; in WebRtcIlbcfix_LpcEncode()
44 int16_t lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; in WebRtcIlbcfix_LpcEncode()
53 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); in WebRtcIlbcfix_LpcEncode()
59 iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); in WebRtcIlbcfix_LpcEncode()
Dcb_search.c74 int16_t CBbuf[CB_MEML+LPC_FILTERORDER+CB_HALFFILTERLEN]; in WebRtcIlbcfix_CbSearch()
77 int16_t targetVec[SUBL+LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch()
87 int16_t *buf = &CBbuf[LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch()
88 int16_t *target = &targetVec[LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch()
100 WebRtcSpl_MemSetW16(&buf[-LPC_FILTERORDER], 0, noOfZeros+LPC_FILTERORDER); in WebRtcIlbcfix_CbSearch()
103 weightDenum, LPC_FILTERORDER+1, WebRtcIlbcfix_kFilterRange[block]); in WebRtcIlbcfix_CbSearch()
106 …TC_SPL_MEMCPY_W16(&target[-LPC_FILTERORDER], buf+noOfZeros+WebRtcIlbcfix_kFilterRange[block]-LPC_F… in WebRtcIlbcfix_CbSearch()
109 weightDenum, LPC_FILTERORDER+1, lTarget); in WebRtcIlbcfix_CbSearch()
Dinit_encode.c57 WebRtcSpl_MemSetW16(iLBCenc_inst->anaMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode()
58 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode()
59 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode()
Dsimple_lsf_quant.c44 WebRtcIlbcfix_SplitVq( lsfdeq + LPC_FILTERORDER, index + LSF_NSPLIT, in WebRtcIlbcfix_SimpleLsfQ()
45 lsf + LPC_FILTERORDER, (int16_t*)WebRtcIlbcfix_kLsfCb, in WebRtcIlbcfix_SimpleLsfQ()
Ddo_plc.c288 WEBRTC_SPL_MEMCPY_W16(PLClpc, (*iLBCdec_inst).prevLpc, LPC_FILTERORDER+1); in WebRtcIlbcfix_DoThePlc()
299 WEBRTC_SPL_MEMCPY_W16(PLClpc, lpc, (LPC_FILTERORDER+1)); in WebRtcIlbcfix_DoThePlc()
305 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->prevLpc, PLClpc, (LPC_FILTERORDER+1)); in WebRtcIlbcfix_DoThePlc()
Dlsf_interpolate_to_poly_dec.c37 int16_t lsftmp[LPC_FILTERORDER]; in WebRtcIlbcfix_LspInterpolate2PolyDec()
Dlsf_interpolate_to_poly_enc.c39 int16_t lsftmp[LPC_FILTERORDER]; in WebRtcIlbcfix_LsfInterpolate2PloyEnc()
Dsimple_lsf_dequant.c54 lsfdeq[LPC_FILTERORDER + pos + j] = WebRtcIlbcfix_kLsfCb[ in WebRtcIlbcfix_SimpleLsfDeQ()
Dlsf_to_poly.c39 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER); in WebRtcIlbcfix_Lsf2Poly()
Dabs_quant_loop.c47 weightDenum, LPC_FILTERORDER+1, 1); in WebRtcIlbcfix_AbsQuantLoop()
Ddecoder_interpolate_lsf.c41 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2; in WebRtcIlbcfix_DecoderInterpolateLsp()
Dsimple_interpolate_lsf.c52 int16_t lp[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleInterpolateLsf()
Ddecode_residual.c63 … iLBC_encbits->idxVec, &syntdenum[(iLBC_encbits->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_DecodeResidual()