/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
abs_quant.c | 42 int16_t syntOutBuf[LPC_FILTERORDER+STATE_SHORT_LEN_30MS]; 43 int16_t in_weightedVec[STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; 44 int16_t *in_weighted = &in_weightedVec[LPC_FILTERORDER]; 47 WebRtcSpl_MemSetW16(syntOutBuf, 0, LPC_FILTERORDER+STATE_SHORT_LEN_30MS); 48 syntOut = &syntOutBuf[LPC_FILTERORDER]; 50 WebRtcSpl_MemSetW16(in_weightedVec, 0, LPC_FILTERORDER); 68 weightDenum, LPC_FILTERORDER+1, quantLen[0]); 71 &weightDenum[LPC_FILTERORDER+1], LPC_FILTERORDER+1, quantLen[1]);
|
state_construct.c | 38 int16_t numerator[1+LPC_FILTERORDER]; 39 int16_t sampleValVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; 40 int16_t sampleMaVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; 41 int16_t *sampleVal = &sampleValVec[LPC_FILTERORDER]; 42 int16_t *sampleMa = &sampleMaVec[LPC_FILTERORDER]; 43 int16_t *sampleAr = &sampleValVec[LPC_FILTERORDER]; 47 for (k=0; k<LPC_FILTERORDER+1; k++){ 48 numerator[k] = syntDenum[LPC_FILTERORDER-k]; 91 WebRtcSpl_MemSetW16(sampleValVec, 0, (LPC_FILTERORDER)); 96 numerator, LPC_FILTERORDER+1, (int16_t)(len + LPC_FILTERORDER)) [all...] |
lpc_encode.c | 41 int16_t lsf[LPC_FILTERORDER * LPC_N_MAX]; 42 int16_t lsfdeq[LPC_FILTERORDER * LPC_N_MAX]; 51 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); 57 iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst);
|
simple_lpc_analysis.c | 40 int16_t A[LPC_FILTERORDER + 1]; 41 int32_t R[LPC_FILTERORDER + 1]; 43 int16_t rc[LPC_FILTERORDER]; 65 WebRtcSpl_AutoCorrelation(windowedData, BLOCKL_MAX, LPC_FILTERORDER, R, &scale); 68 WebRtcIlbcfix_Window32W32(R, R, WebRtcIlbcfix_kLpcLagWin, LPC_FILTERORDER + 1 ); 71 stability=WebRtcSpl_LevinsonDurbin(R, A, rc, LPC_FILTERORDER); 79 WebRtcSpl_MemSetW16(&A[1], 0, LPC_FILTERORDER); 83 WebRtcIlbcfix_BwExpand(A, A, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, LPC_FILTERORDER+1); 86 WebRtcIlbcfix_Poly2Lsf(lsf + k*LPC_FILTERORDER, A);
|
state_search.c | 44 int16_t numerator[1+LPC_FILTERORDER]; 45 int16_t residualLongVec[2*STATE_SHORT_LEN_30MS+LPC_FILTERORDER]; 47 int16_t *residualLong = &residualLongVec[LPC_FILTERORDER]; 55 for (i=0; i<LPC_FILTERORDER+1; i++) { 56 numerator[i] = (syntDenum[LPC_FILTERORDER-i]>>scaleRes); 66 WebRtcSpl_MemSetW16(residualLongVec, 0, LPC_FILTERORDER); 69 numerator, LPC_FILTERORDER+1, (int16_t)(iLBCenc_inst->state_short_len + LPC_FILTERORDER)); 70 WebRtcSpl_MemSetW16(&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->state_short_len - LPC_FILTERORDER); [all...] |
decode.c | 54 int16_t PLCresidual[BLOCKL_MAX + LPC_FILTERORDER]; 55 int16_t syntdenum[NSUB_MAX*(LPC_FILTERORDER+1)]; 56 int16_t PLClpc[LPC_FILTERORDER + 1]; 63 data = &PLCresidual[LPC_FILTERORDER]; 90 int16_t lsfdeq[LPC_FILTERORDER*LPC_N_MAX]; 91 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; 98 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); 100 lsfdeq, LPC_FILTERORDER, iLBCdec_inst); 107 decresidual, syntdenum + (LPC_FILTERORDER + 1)*(iLBCdec_inst->nsub - 1), 128 order_plus_one = LPC_FILTERORDER + 1 [all...] |
simple_lsf_quant.c | 42 WebRtcIlbcfix_SplitVq( lsfdeq + LPC_FILTERORDER, index + LSF_NSPLIT, 43 lsf + LPC_FILTERORDER, (int16_t*)WebRtcIlbcfix_kLsfCb,
|
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] = {
|
init_decode.c | 58 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); 61 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); 64 WebRtcSpl_MemSetW16(iLBCdec_inst->old_syntdenum, 0, ((LPC_FILTERORDER + 1)*NSUB_MAX)); 66 iLBCdec_inst->old_syntdenum[i*(LPC_FILTERORDER+1)] = 4096; 76 WebRtcSpl_MemSetW16(iLBCdec_inst->prevLpc+1, 0, LPC_FILTERORDER);
|
defines.h | 44 #define LPC_FILTERORDER 10 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]; 200 int16_t prevLag, prevLpc[LPC_FILTERORDER+1]; 206 int16_t old_syntdenum[(LPC_FILTERORDER + 1)*NSUB_MAX];
|
lsf_interpolate_to_poly_dec.c | 35 int16_t lsftmp[LPC_FILTERORDER];
|
lsf_interpolate_to_poly_enc.c | 37 int16_t lsftmp[LPC_FILTERORDER];
|
init_encode.c | 55 WebRtcSpl_MemSetW16(iLBCenc_inst->anaMem, 0, LPC_FILTERORDER); 56 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER); 57 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lsfdeqold, WebRtcIlbcfix_kLsfMean, LPC_FILTERORDER);
|
enhancer_interface.c | 330 int16_t *synt = &downsampled[LPC_FILTERORDER]; 336 WebRtcSpl_MemSetW16(iLBCdec_inst->syntMem, 0, LPC_FILTERORDER); 341 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], iLBCdec_inst->syntMem, 342 LPC_FILTERORDER); 347 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)], 348 LPC_FILTERORDER+1, (int16_t)lag); 350 WEBRTC_SPL_MEMCPY_W16(&synt[-LPC_FILTERORDER], &synt[lag-LPC_FILTERORDER], 351 LPC_FILTERORDER); 358 (iLBCdec_inst->nsub-1)*(LPC_FILTERORDER+1)] [all...] |
encode.c | 64 int16_t weightdenum[(LPC_FILTERORDER + 1)*NSUB_MAX]; 65 int16_t dataVec[BLOCKL_MAX + LPC_FILTERORDER]; 76 int16_t *data = &dataVec[LPC_FILTERORDER]; 81 syntdenum = mem; /* syntdenum[(LPC_FILTERORDER + 1)*NSUB_MAX] and mem are used non overlapping in the code */ 135 WEBRTC_SPL_MEMCPY_W16(dataVec, iLBCenc_inst->anaMem, LPC_FILTERORDER); 141 &syntdenum[n*(LPC_FILTERORDER+1)], 142 LPC_FILTERORDER+1, SUBL); 146 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->anaMem, &data[iLBCenc_inst->blockl-LPC_FILTERORDER], LPC_FILTERORDER); 182 &syntdenum[(iLBCbits_inst->startIdx-1)*(LPC_FILTERORDER+1)] [all...] |
cb_search.c | 68 int16_t CBbuf[CB_MEML+LPC_FILTERORDER+CB_HALFFILTERLEN]; 71 int16_t targetVec[SUBL+LPC_FILTERORDER]; 81 int16_t *buf = &CBbuf[LPC_FILTERORDER]; 82 int16_t *target = &targetVec[LPC_FILTERORDER]; 94 WebRtcSpl_MemSetW16(&buf[-LPC_FILTERORDER], 0, noOfZeros+LPC_FILTERORDER); 97 weightDenum, LPC_FILTERORDER+1, WebRtcIlbcfix_kFilterRange[block]); 100 WEBRTC_SPL_MEMCPY_W16(&target[-LPC_FILTERORDER], buf+noOfZeros+WebRtcIlbcfix_kFilterRange[block]-LPC_FILTERORDER, LPC_FILTERORDER); [all...] |
lsf_to_poly.c | 37 WebRtcIlbcfix_Lsf2Lsp(lsf, lsp, LPC_FILTERORDER);
|
simple_lsf_dequant.c | 52 lsfdeq[LPC_FILTERORDER + pos + j] = WebRtcIlbcfix_kLsfCb[cb_pos +
|
abs_quant_loop.c | 47 weightDenum, LPC_FILTERORDER+1, 1);
|
decoder_interpolate_lsf.c | 38 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2;
|
simple_interpolate_lsf.c | 49 int16_t lp[LPC_FILTERORDER + 1];
|
do_plc.c | 287 WEBRTC_SPL_MEMCPY_W16(PLClpc, (*iLBCdec_inst).prevLpc, LPC_FILTERORDER+1); 298 WEBRTC_SPL_MEMCPY_W16(PLClpc, lpc, (LPC_FILTERORDER+1)); 304 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->prevLpc, PLClpc, (LPC_FILTERORDER+1));
|
decode_residual.c | 61 iLBC_encbits->idxVec, &syntdenum[(iLBC_encbits->startIdx-1)*(LPC_FILTERORDER+1)],
|