/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | encode.c | 48 IlbcEncoder *iLBCenc_inst /* (i/o) the general encoder in WebRtcIlbcfix_EncodeImpl() argument 72 int16_t *weightdenumbuf = iLBCenc_inst->weightdenumbuf; in WebRtcIlbcfix_EncodeImpl() 80 residual = &iLBCenc_inst->lpc_buffer[LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl]; in WebRtcIlbcfix_EncodeImpl() 91 start_pos = iLBCenc_inst->start_pos; in WebRtcIlbcfix_EncodeImpl() 92 diff = iLBCenc_inst->diff; in WebRtcIlbcfix_EncodeImpl() 94 if (iLBCenc_inst->section != 0){ in WebRtcIlbcfix_EncodeImpl() 98 last_bit = WebRtcIlbcfix_UnpackBits (iLBCenc_inst->bytes, iLBCbits_inst, iLBCenc_inst->mode); in WebRtcIlbcfix_EncodeImpl() 104 if (iLBCenc_inst->section == 1){ in WebRtcIlbcfix_EncodeImpl() 106 WEBRTC_SPL_MEMCPY_W16 (iLBCenc_inst->past_samples, block, 80); in WebRtcIlbcfix_EncodeImpl() 110 WEBRTC_SPL_MEMCPY_W16 (iLBCenc_inst->past_samples + 80, block, 80); in WebRtcIlbcfix_EncodeImpl() [all …]
|
D | init_encode.c | 27 IlbcEncoder *iLBCenc_inst, /* (i/o) Encoder instance */ in WebRtcIlbcfix_InitEncode() argument 29 iLBCenc_inst->mode = mode; in WebRtcIlbcfix_InitEncode() 33 iLBCenc_inst->blockl = BLOCKL_30MS; in WebRtcIlbcfix_InitEncode() 34 iLBCenc_inst->nsub = NSUB_30MS; in WebRtcIlbcfix_InitEncode() 35 iLBCenc_inst->nasub = NASUB_30MS; in WebRtcIlbcfix_InitEncode() 36 iLBCenc_inst->lpc_n = LPC_N_30MS; in WebRtcIlbcfix_InitEncode() 37 iLBCenc_inst->no_of_bytes = NO_OF_BYTES_30MS; in WebRtcIlbcfix_InitEncode() 38 iLBCenc_inst->no_of_words = NO_OF_WORDS_30MS; in WebRtcIlbcfix_InitEncode() 39 iLBCenc_inst->state_short_len=STATE_SHORT_LEN_30MS; in WebRtcIlbcfix_InitEncode() 42 iLBCenc_inst->blockl = BLOCKL_20MS; in WebRtcIlbcfix_InitEncode() [all …]
|
D | state_search.c | 28 IlbcEncoder *iLBCenc_inst, in WebRtcIlbcfix_StateSearch() argument 51 max = WebRtcSpl_MaxAbsValueW16(residual, iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch() 62 WEBRTC_SPL_MEMCPY_W16(residualLong, residual, iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch() 63 …WebRtcSpl_MemSetW16(residualLong + iLBCenc_inst->state_short_len, 0, iLBCenc_inst->state_short_len… in WebRtcIlbcfix_StateSearch() 69 iLBCenc_inst->state_short_len + LPC_FILTERORDER); in WebRtcIlbcfix_StateSearch() 70 …WebRtcSpl_MemSetW16(&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->s… in WebRtcIlbcfix_StateSearch() 74 syntDenum, LPC_FILTERORDER+1, 2 * iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch() 76 for(k=0;k<iLBCenc_inst->state_short_len;k++){ in WebRtcIlbcfix_StateSearch() 77 sampleAr[k] += sampleAr[k+iLBCenc_inst->state_short_len]; in WebRtcIlbcfix_StateSearch() 81 maxVal=WebRtcSpl_MaxAbsValueW16(sampleAr, iLBCenc_inst->state_short_len); in WebRtcIlbcfix_StateSearch() [all …]
|
D | simple_lpc_analysis.c | 32 IlbcEncoder *iLBCenc_inst in WebRtcIlbcfix_SimpleLpcAnalysis() argument 45 is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; in WebRtcIlbcfix_SimpleLpcAnalysis() 46 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lpc_buffer+is,data,iLBCenc_inst->blockl); in WebRtcIlbcfix_SimpleLpcAnalysis() 50 for (k = 0; k < iLBCenc_inst->lpc_n; k++) { in WebRtcIlbcfix_SimpleLpcAnalysis() 54 if (k < (iLBCenc_inst->lpc_n - 1)) { in WebRtcIlbcfix_SimpleLpcAnalysis() 57 …WebRtcSpl_ElementwiseVectorMult(windowedData, iLBCenc_inst->lpc_buffer, WebRtcIlbcfix_kLpcWin, BLO… in WebRtcIlbcfix_SimpleLpcAnalysis() 61 …WebRtcSpl_ElementwiseVectorMult(windowedData, iLBCenc_inst->lpc_buffer+is, WebRtcIlbcfix_kLpcAsymW… in WebRtcIlbcfix_SimpleLpcAnalysis() 89 is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; in WebRtcIlbcfix_SimpleLpcAnalysis() 90 WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->lpc_buffer, in WebRtcIlbcfix_SimpleLpcAnalysis() 91 iLBCenc_inst->lpc_buffer+LPC_LOOKBACK+BLOCKL_MAX-is, is); in WebRtcIlbcfix_SimpleLpcAnalysis()
|
D | lpc_encode.c | 37 IlbcEncoder *iLBCenc_inst in WebRtcIlbcfix_LpcEncode() argument 45 WebRtcIlbcfix_SimpleLpcAnalysis(lsf, data, iLBCenc_inst); in WebRtcIlbcfix_LpcEncode() 48 WebRtcIlbcfix_SimpleLsfQ(lsfdeq, lsf_index, lsf, iLBCenc_inst->lpc_n); in WebRtcIlbcfix_LpcEncode() 51 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCenc_inst->lpc_n); in WebRtcIlbcfix_LpcEncode() 56 lsf, lsfdeq, iLBCenc_inst->lsfold, in WebRtcIlbcfix_LpcEncode() 57 iLBCenc_inst->lsfdeqold, LPC_FILTERORDER, iLBCenc_inst); in WebRtcIlbcfix_LpcEncode()
|
D | frame_classify.c | 28 IlbcEncoder *iLBCenc_inst, in WebRtcIlbcfix_FrameClassify() argument 48 max = WebRtcSpl_MaxAbsValueW16(residualFIX, iLBCenc_inst->blockl); in WebRtcIlbcfix_FrameClassify() 58 for (n=(iLBCenc_inst->nsub-1); n>0; n--) { in WebRtcIlbcfix_FrameClassify() 65 maxW32 = WebRtcSpl_MaxValueW32(ssqEn, iLBCenc_inst->nsub - 1); in WebRtcIlbcfix_FrameClassify() 73 if (iLBCenc_inst->mode==20) { in WebRtcIlbcfix_FrameClassify() 78 for (n=(iLBCenc_inst->nsub-1); n>0; n--) { in WebRtcIlbcfix_FrameClassify() 85 pos = WebRtcSpl_MaxIndexW32(ssqEn, iLBCenc_inst->nsub - 1) + 1; in WebRtcIlbcfix_FrameClassify()
|
D | ilbc.c | 81 int16_t WebRtcIlbcfix_EncoderInit(IlbcEncoderInstance* iLBCenc_inst, in WebRtcIlbcfix_EncoderInit() argument 84 WebRtcIlbcfix_InitEncode((IlbcEncoder*) iLBCenc_inst, mode); in WebRtcIlbcfix_EncoderInit() 91 int WebRtcIlbcfix_Encode(IlbcEncoderInstance* iLBCenc_inst, in WebRtcIlbcfix_Encode() argument 98 if ((len != ((IlbcEncoder*)iLBCenc_inst)->blockl) && in WebRtcIlbcfix_Encode() 102 (len != 2*((IlbcEncoder*)iLBCenc_inst)->blockl) && in WebRtcIlbcfix_Encode() 103 (len != 3*((IlbcEncoder*)iLBCenc_inst)->blockl)) in WebRtcIlbcfix_Encode() 112 (IlbcEncoder*)iLBCenc_inst); in WebRtcIlbcfix_Encode() 115 if(((IlbcEncoder*)iLBCenc_inst)->section == 0) in WebRtcIlbcfix_Encode() 117 pos += ((IlbcEncoder*)iLBCenc_inst)->blockl; in WebRtcIlbcfix_Encode() 119 encpos += ((IlbcEncoder*)iLBCenc_inst)->no_of_words; in WebRtcIlbcfix_Encode()
|
D | simple_interpolate_lsf.c | 42 IlbcEncoder *iLBCenc_inst in WebRtcIlbcfix_SimpleInterpolateLsf() argument 56 if (iLBCenc_inst->mode==30) { in WebRtcIlbcfix_SimpleInterpolateLsf() 78 for (i = 1; i < iLBCenc_inst->nsub; i++) { in WebRtcIlbcfix_SimpleInterpolateLsf() 104 for (i = 0; i < iLBCenc_inst->nsub; i++) { in WebRtcIlbcfix_SimpleInterpolateLsf()
|
D | abs_quant.c | 30 IlbcEncoder *iLBCenc_inst, in WebRtcIlbcfix_AbsQuant() argument 58 quantLen[1]=iLBCenc_inst->state_short_len-SUBL; in WebRtcIlbcfix_AbsQuant() 60 quantLen[0]=iLBCenc_inst->state_short_len-SUBL; in WebRtcIlbcfix_AbsQuant()
|
D | ilbc.h | 118 int16_t WebRtcIlbcfix_EncoderInit(IlbcEncoderInstance *iLBCenc_inst, 140 int WebRtcIlbcfix_Encode(IlbcEncoderInstance *iLBCenc_inst,
|
D | init_encode.h | 29 IlbcEncoder *iLBCenc_inst, /* (i/o) Encoder instance */
|
D | frame_classify.h | 24 IlbcEncoder *iLBCenc_inst,
|
D | simple_lpc_analysis.h | 31 IlbcEncoder *iLBCenc_inst
|
D | encode.h | 31 IlbcEncoder *iLBCenc_inst /* (i/o) the general encoder
|
D | abs_quant.h | 30 IlbcEncoder *iLBCenc_inst,
|
D | state_search.h | 29 IlbcEncoder *iLBCenc_inst,
|
D | lpc_encode.h | 35 IlbcEncoder *iLBCenc_inst
|
D | simple_interpolate_lsf.h | 42 IlbcEncoder *iLBCenc_inst
|
D | cb_search.h | 23 IlbcEncoder *iLBCenc_inst,
|
D | cb_search.c | 37 IlbcEncoder *iLBCenc_inst, in WebRtcIlbcfix_CbSearch() argument 297 if(lTarget==(STATE_LEN-iLBCenc_inst->state_short_len)) { in WebRtcIlbcfix_CbSearch()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/ |
D | iLBC_testprogram.c | 43 IlbcEncoder *iLBCenc_inst, /* (i/o) Encoder instance */ in encode() argument 49 WebRtcIlbcfix_Encode((uint16_t *)encoded_data, data, iLBCenc_inst); in encode() 51 return (iLBCenc_inst->no_of_bytes); in encode()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | RTPencode.cc | 252 IlbcEncoderInstance* iLBCenc_inst[2]; variable 1296 ok = WebRtcIlbcfix_EncoderCreate(&iLBCenc_inst[k]); in NetEQTest_init_coders() 1311 WebRtcIlbcfix_EncoderInit(iLBCenc_inst[k], 20); in NetEQTest_init_coders() 1314 WebRtcIlbcfix_EncoderInit(iLBCenc_inst[k], 30); in NetEQTest_init_coders() 1554 WebRtcIlbcfix_EncoderFree(iLBCenc_inst[k]); in NetEQTest_free_coders() 1692 WebRtcIlbcfix_Encode(iLBCenc_inst[k], indata, frameLen, encoded), 0)); in NetEQTest_encode()
|