/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | decode.c | 54 int16_t PLCresidual[BLOCKL_MAX + LPC_FILTERORDER]; in WebRtcIlbcfix_DecodeImpl() 55 int16_t syntdenum[NSUB_MAX*(LPC_FILTERORDER+1)]; in WebRtcIlbcfix_DecodeImpl() 56 int16_t PLClpc[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_DecodeImpl() 63 data = &PLCresidual[LPC_FILTERORDER]; in WebRtcIlbcfix_DecodeImpl() 90 int16_t lsfdeq[LPC_FILTERORDER*LPC_N_MAX]; in WebRtcIlbcfix_DecodeImpl() 91 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; in WebRtcIlbcfix_DecodeImpl() 98 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); in WebRtcIlbcfix_DecodeImpl() 100 lsfdeq, LPC_FILTERORDER, iLBCdec_inst); in WebRtcIlbcfix_DecodeImpl() 108 syntdenum + (LPC_FILTERORDER + 1) * (iLBCdec_inst->nsub - 1), in WebRtcIlbcfix_DecodeImpl() 129 order_plus_one = LPC_FILTERORDER + 1; in WebRtcIlbcfix_DecodeImpl() [all …]
|
D | state_construct.c | 38 int16_t numerator[1+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 39 int16_t sampleValVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 40 int16_t sampleMaVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 41 int16_t *sampleVal = &sampleValVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 42 int16_t *sampleMa = &sampleMaVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 43 int16_t *sampleAr = &sampleValVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateConstruct() 47 for (k=0; k<LPC_FILTERORDER+1; k++){ in WebRtcIlbcfix_StateConstruct() 48 numerator[k] = syntDenum[LPC_FILTERORDER-k]; in WebRtcIlbcfix_StateConstruct() 94 WebRtcSpl_MemSetW16(sampleValVec, 0, (LPC_FILTERORDER)); in WebRtcIlbcfix_StateConstruct() 99 numerator, LPC_FILTERORDER+1, len + LPC_FILTERORDER); in WebRtcIlbcfix_StateConstruct() [all …]
|
D | abs_quant.c | 42 int16_t syntOutBuf[LPC_FILTERORDER+STATE_SHORT_LEN_30MS]; in WebRtcIlbcfix_AbsQuant() 43 int16_t in_weightedVec[STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant() 44 int16_t *in_weighted = &in_weightedVec[LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant() 47 WebRtcSpl_MemSetW16(syntOutBuf, 0, LPC_FILTERORDER+STATE_SHORT_LEN_30MS); in WebRtcIlbcfix_AbsQuant() 48 syntOut = &syntOutBuf[LPC_FILTERORDER]; in WebRtcIlbcfix_AbsQuant() 50 WebRtcSpl_MemSetW16(in_weightedVec, 0, LPC_FILTERORDER); in WebRtcIlbcfix_AbsQuant() 68 weightDenum, LPC_FILTERORDER+1, quantLen[0]); in WebRtcIlbcfix_AbsQuant() 71 &weightDenum[LPC_FILTERORDER+1], LPC_FILTERORDER+1, quantLen[1]); in WebRtcIlbcfix_AbsQuant()
|
D | state_search.c | 44 int16_t numerator[1+LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch() 45 int16_t residualLongVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch() 47 int16_t *residualLong = &residualLongVec[LPC_FILTERORDER]; in WebRtcIlbcfix_StateSearch() 55 for (i=0; i<LPC_FILTERORDER+1; i++) { in WebRtcIlbcfix_StateSearch() 56 numerator[i] = (syntDenum[LPC_FILTERORDER-i]>>scaleRes); in WebRtcIlbcfix_StateSearch() 66 WebRtcSpl_MemSetW16(residualLongVec, 0, LPC_FILTERORDER); in WebRtcIlbcfix_StateSearch() 68 LPC_FILTERORDER + 1, in WebRtcIlbcfix_StateSearch() 69 iLBCenc_inst->state_short_len + LPC_FILTERORDER); in WebRtcIlbcfix_StateSearch() 70 …&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->state_short_len - LPC… in WebRtcIlbcfix_StateSearch() 74 syntDenum, LPC_FILTERORDER+1, 2 * iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch()
|
D | simple_lpc_analysis.c | 40 int16_t A[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleLpcAnalysis() 41 int32_t R[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleLpcAnalysis() 43 int16_t rc[LPC_FILTERORDER]; in WebRtcIlbcfix_SimpleLpcAnalysis() 65 WebRtcSpl_AutoCorrelation(windowedData, BLOCKL_MAX, LPC_FILTERORDER, R, &scale); in WebRtcIlbcfix_SimpleLpcAnalysis() 68 WebRtcIlbcfix_Window32W32(R, R, WebRtcIlbcfix_kLpcLagWin, LPC_FILTERORDER + 1 ); in WebRtcIlbcfix_SimpleLpcAnalysis() 71 stability=WebRtcSpl_LevinsonDurbin(R, A, rc, LPC_FILTERORDER); in WebRtcIlbcfix_SimpleLpcAnalysis() 79 WebRtcSpl_MemSetW16(&A[1], 0, LPC_FILTERORDER); in WebRtcIlbcfix_SimpleLpcAnalysis() 83 WebRtcIlbcfix_BwExpand(A, A, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, LPC_FILTERORDER+1); in WebRtcIlbcfix_SimpleLpcAnalysis() 86 WebRtcIlbcfix_Poly2Lsf(lsf + k*LPC_FILTERORDER, A); in WebRtcIlbcfix_SimpleLpcAnalysis()
|
D | defines.h | 44 #define LPC_FILTERORDER 10 macro 146 int16_t anaMem[LPC_FILTERORDER]; 149 int16_t lsfold[LPC_FILTERORDER]; 150 int16_t lsfdeqold[LPC_FILTERORDER]; 187 int16_t syntMem[LPC_FILTERORDER]; 190 int16_t lsfdeqold[LPC_FILTERORDER]; 201 int16_t prevLpc[LPC_FILTERORDER+1]; 207 int16_t old_syntdenum[(LPC_FILTERORDER + 1)*NSUB_MAX];
|
D | enhancer_interface.c | 325 int16_t *synt = &downsampled[LPC_FILTERORDER]; in WebRtcIlbcfix_EnhancerInterface() 331 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface() 336 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], iLBCdec_inst->syntMem, in WebRtcIlbcfix_EnhancerInterface() 337 LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface() 342 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EnhancerInterface() 343 LPC_FILTERORDER+1, lag); in WebRtcIlbcfix_EnhancerInterface() 345 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], &synt[lag-LPC_FILTERORDER], in WebRtcIlbcfix_EnhancerInterface() 346 LPC_FILTERORDER); in WebRtcIlbcfix_EnhancerInterface() 353 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EnhancerInterface() 354 LPC_FILTERORDER+1, lag); in WebRtcIlbcfix_EnhancerInterface() [all …]
|
D | encode.c | 64 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; in WebRtcIlbcfix_EncodeImpl() 65 int16_t dataVec[BLOCKL_MAX + LPC_FILTERORDER]; in WebRtcIlbcfix_EncodeImpl() 76 int16_t *data = &dataVec[LPC_FILTERORDER]; in WebRtcIlbcfix_EncodeImpl() 135 WEBRTC_SPL_MEMCPY_W16(dataVec, iLBCenc_inst->anaMem, LPC_FILTERORDER); in WebRtcIlbcfix_EncodeImpl() 141 &syntdenum[n*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl() 142 LPC_FILTERORDER+1, SUBL); in WebRtcIlbcfix_EncodeImpl() 146 …SPL_MEMCPY_W16(iLBCenc_inst->anaMem, &data[iLBCenc_inst->blockl-LPC_FILTERORDER], LPC_FILTERORDER); in WebRtcIlbcfix_EncodeImpl() 182 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl() 183 &weightdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)]); in WebRtcIlbcfix_EncodeImpl() 186 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_EncodeImpl() [all …]
|
D | constants.c | 90 const int32_t WebRtcIlbcfix_kLpcLagWin[LPC_FILTERORDER + 1]={ 98 const int16_t WebRtcIlbcfix_kLpcChirpSyntDenum[LPC_FILTERORDER + 1] = { 106 const int16_t WebRtcIlbcfix_kLpcChirpWeightDenum[LPC_FILTERORDER + 1] = { 437 const int16_t WebRtcIlbcfix_kLsfMean[LPC_FILTERORDER] = { 442 const int16_t WebRtcIlbcfix_kLspMean[LPC_FILTERORDER] = {
|
D | cb_search.c | 72 int16_t CBbuf[CB_MEML+LPC_FILTERORDER+CB_HALFFILTERLEN]; in WebRtcIlbcfix_CbSearch() 75 int16_t targetVec[SUBL+LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch() 85 int16_t *buf = &CBbuf[LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch() 86 int16_t *target = &targetVec[LPC_FILTERORDER]; in WebRtcIlbcfix_CbSearch() 98 WebRtcSpl_MemSetW16(&buf[-LPC_FILTERORDER], 0, noOfZeros+LPC_FILTERORDER); in WebRtcIlbcfix_CbSearch() 101 weightDenum, LPC_FILTERORDER+1, WebRtcIlbcfix_kFilterRange[block]); in WebRtcIlbcfix_CbSearch() 104 …TC_SPL_MEMCPY_W16(&target[-LPC_FILTERORDER], buf+noOfZeros+WebRtcIlbcfix_kFilterRange[block]-LPC_F… in WebRtcIlbcfix_CbSearch() 107 weightDenum, LPC_FILTERORDER+1, lTarget); in WebRtcIlbcfix_CbSearch()
|
D | init_decode.c | 58 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode() 61 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode() 64 WebRtcSpl_MemSetW16(iLBCdec_inst->old_syntdenum, 0, ((LPC_FILTERORDER + 1)*NSUB_MAX)); in WebRtcIlbcfix_InitDecode() 66 iLBCdec_inst->old_syntdenum[i*(LPC_FILTERORDER+1)] = 4096; in WebRtcIlbcfix_InitDecode() 76 WebRtcSpl_MemSetW16(iLBCdec_inst->prevLpc+1, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitDecode()
|
D | lpc_encode.c | 41 int16_t lsf[LPC_FILTERORDER * LPC_N_MAX]; in WebRtcIlbcfix_LpcEncode() 42 int16_t lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; in WebRtcIlbcfix_LpcEncode() 51 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); in WebRtcIlbcfix_LpcEncode() 57 iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); in WebRtcIlbcfix_LpcEncode()
|
D | init_encode.c | 55 WebRtcSpl_MemSetW16(iLBCenc_inst->anaMem, 0, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode() 56 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode() 57 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); in WebRtcIlbcfix_InitEncode()
|
D | simple_lsf_quant.c | 42 WebRtcIlbcfix_SplitVq( lsfdeq + LPC_FILTERORDER, index + LSF_NSPLIT, in WebRtcIlbcfix_SimpleLsfQ() 43 lsf + LPC_FILTERORDER, (int16_t*)WebRtcIlbcfix_kLsfCb, in WebRtcIlbcfix_SimpleLsfQ()
|
D | do_plc.c | 284 WEBRTC_SPL_MEMCPY_W16(PLClpc, (*iLBCdec_inst).prevLpc, LPC_FILTERORDER+1); in WebRtcIlbcfix_DoThePlc() 295 WEBRTC_SPL_MEMCPY_W16(PLClpc, lpc, (LPC_FILTERORDER+1)); in WebRtcIlbcfix_DoThePlc() 301 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->prevLpc, PLClpc, (LPC_FILTERORDER+1)); in WebRtcIlbcfix_DoThePlc()
|
D | lsf_interpolate_to_poly_enc.c | 37 int16_t lsftmp[LPC_FILTERORDER]; in WebRtcIlbcfix_LsfInterpolate2PloyEnc()
|
D | lsf_interpolate_to_poly_dec.c | 35 int16_t lsftmp[LPC_FILTERORDER]; in WebRtcIlbcfix_LspInterpolate2PolyDec()
|
D | lsf_to_poly.c | 37 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER); in WebRtcIlbcfix_Lsf2Poly()
|
D | simple_lsf_dequant.c | 52 lsfdeq[LPC_FILTERORDER + pos + j] = WebRtcIlbcfix_kLsfCb[ in WebRtcIlbcfix_SimpleLsfDeQ()
|
D | abs_quant_loop.c | 45 weightDenum, LPC_FILTERORDER+1, 1); in WebRtcIlbcfix_AbsQuantLoop()
|
D | decoder_interpolate_lsf.c | 39 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2; in WebRtcIlbcfix_DecoderInterpolateLsp()
|
D | simple_interpolate_lsf.c | 50 int16_t lp[LPC_FILTERORDER + 1]; in WebRtcIlbcfix_SimpleInterpolateLsf()
|
D | decode_residual.c | 61 … iLBC_encbits->idxVec, &syntdenum[(iLBC_encbits->startIdx-1)*(LPC_FILTERORDER+1)], in WebRtcIlbcfix_DecodeResidual()
|