Home
last modified time | relevance | path

Searched refs:iLBCdec_inst (Results 1 – 15 of 15) sorted by relevance

/external/webrtc/modules/audio_coding/codecs/ilbc/
Dinit_decode.c27 IlbcDecoder *iLBCdec_inst, /* (i/o) Decoder instance */ in WebRtcIlbcfix_InitDecode() argument
32 iLBCdec_inst->mode = mode; in WebRtcIlbcfix_InitDecode()
36 iLBCdec_inst->blockl = BLOCKL_30MS; in WebRtcIlbcfix_InitDecode()
37 iLBCdec_inst->nsub = NSUB_30MS; in WebRtcIlbcfix_InitDecode()
38 iLBCdec_inst->nasub = NASUB_30MS; in WebRtcIlbcfix_InitDecode()
39 iLBCdec_inst->lpc_n = LPC_N_30MS; in WebRtcIlbcfix_InitDecode()
40 iLBCdec_inst->no_of_bytes = NO_OF_BYTES_30MS; in WebRtcIlbcfix_InitDecode()
41 iLBCdec_inst->no_of_words = NO_OF_WORDS_30MS; in WebRtcIlbcfix_InitDecode()
42 iLBCdec_inst->state_short_len=STATE_SHORT_LEN_30MS; in WebRtcIlbcfix_InitDecode()
45 iLBCdec_inst->blockl = BLOCKL_20MS; in WebRtcIlbcfix_InitDecode()
[all …]
Ddecode.c46 IlbcDecoder *iLBCdec_inst, /* (i/o) the decoder state in WebRtcIlbcfix_DecodeImpl() argument
51 const int old_mode = iLBCdec_inst->mode; in WebRtcIlbcfix_DecodeImpl()
52 const int old_use_enhancer = iLBCdec_inst->use_enhancer; in WebRtcIlbcfix_DecodeImpl()
79 WebRtcIlbcfix_SwapBytes(bytes, iLBCdec_inst->no_of_words, swapped); in WebRtcIlbcfix_DecodeImpl()
80 last_bit = WebRtcIlbcfix_UnpackBits(swapped, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
82 last_bit = WebRtcIlbcfix_UnpackBits(bytes, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
88 if ((iLBCdec_inst->mode==20) && (iLBCbits_inst->startIdx>3)) in WebRtcIlbcfix_DecodeImpl()
90 if ((iLBCdec_inst->mode==30) && (iLBCbits_inst->startIdx>5)) in WebRtcIlbcfix_DecodeImpl()
104 WebRtcIlbcfix_SimpleLsfDeQ(lsfdeq, (int16_t*)(iLBCbits_inst->lsf), iLBCdec_inst->lpc_n); in WebRtcIlbcfix_DecodeImpl()
105 WebRtcIlbcfix_LsfCheck(lsfdeq, LPC_FILTERORDER, iLBCdec_inst->lpc_n); in WebRtcIlbcfix_DecodeImpl()
[all …]
Dilbc.c125 int16_t WebRtcIlbcfix_DecoderInit(IlbcDecoderInstance* iLBCdec_inst, in WebRtcIlbcfix_DecoderInit() argument
128 WebRtcIlbcfix_InitDecode((IlbcDecoder*) iLBCdec_inst, mode, 1); in WebRtcIlbcfix_DecoderInit()
134 void WebRtcIlbcfix_DecoderInit20Ms(IlbcDecoderInstance* iLBCdec_inst) { in WebRtcIlbcfix_DecoderInit20Ms() argument
135 WebRtcIlbcfix_InitDecode((IlbcDecoder*) iLBCdec_inst, 20, 1); in WebRtcIlbcfix_DecoderInit20Ms()
137 void WebRtcIlbcfix_Decoderinit30Ms(IlbcDecoderInstance* iLBCdec_inst) { in WebRtcIlbcfix_Decoderinit30Ms() argument
138 WebRtcIlbcfix_InitDecode((IlbcDecoder*) iLBCdec_inst, 30, 1); in WebRtcIlbcfix_Decoderinit30Ms()
142 int WebRtcIlbcfix_Decode(IlbcDecoderInstance* iLBCdec_inst, in WebRtcIlbcfix_Decode() argument
151 if ((len==((IlbcDecoder*)iLBCdec_inst)->no_of_bytes)|| in WebRtcIlbcfix_Decode()
152 (len==2*((IlbcDecoder*)iLBCdec_inst)->no_of_bytes)|| in WebRtcIlbcfix_Decode()
153 (len==3*((IlbcDecoder*)iLBCdec_inst)->no_of_bytes)) { in WebRtcIlbcfix_Decode()
[all …]
Ddo_plc.c37 IlbcDecoder *iLBCdec_inst in WebRtcIlbcfix_DoThePlc() argument
66 (*iLBCdec_inst).consPLICount += 1; in WebRtcIlbcfix_DoThePlc()
71 if (iLBCdec_inst->prevPLI != 1) { in WebRtcIlbcfix_DoThePlc()
75 max = WebRtcSpl_MaxAbsValueW16((*iLBCdec_inst).prevResidual, in WebRtcIlbcfix_DoThePlc()
76 iLBCdec_inst->blockl); in WebRtcIlbcfix_DoThePlc()
84 iLBCdec_inst->prevScale = scale3; in WebRtcIlbcfix_DoThePlc()
91 corrLen = (size_t)WEBRTC_SPL_MIN(60, iLBCdec_inst->blockl-(inlag+3)); in WebRtcIlbcfix_DoThePlc()
94iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
104iLBCdec_inst->prevResidual, j, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
151 … tmp2W32=WebRtcSpl_DotProductWithScale(&iLBCdec_inst->prevResidual[iLBCdec_inst->blockl-corrLen], in WebRtcIlbcfix_DoThePlc()
[all …]
Denhancer_interface.c37 IlbcDecoder* iLBCdec_inst) { // (i) buffers etc in WebRtcIlbcfix_EnhancerInterface() argument
40 size_t inLen=iLBCdec_inst->blockl+120; in WebRtcIlbcfix_EnhancerInterface()
77 enh_buf=iLBCdec_inst->enh_buf; in WebRtcIlbcfix_EnhancerInterface()
78 enh_period=iLBCdec_inst->enh_period; in WebRtcIlbcfix_EnhancerInterface()
81 memmove(enh_buf, &enh_buf[iLBCdec_inst->blockl], in WebRtcIlbcfix_EnhancerInterface()
82 (ENH_BUFL - iLBCdec_inst->blockl) * sizeof(*enh_buf)); in WebRtcIlbcfix_EnhancerInterface()
84 WEBRTC_SPL_MEMCPY_W16(&enh_buf[ENH_BUFL-iLBCdec_inst->blockl], in, in WebRtcIlbcfix_EnhancerInterface()
85 iLBCdec_inst->blockl); in WebRtcIlbcfix_EnhancerInterface()
88 if (iLBCdec_inst->mode==30) { in WebRtcIlbcfix_EnhancerInterface()
180 if (iLBCdec_inst->prev_enh_pl==1) { in WebRtcIlbcfix_EnhancerInterface()
[all …]
Ddecode_residual.c38 IlbcDecoder *iLBCdec_inst, in WebRtcIlbcfix_DecodeResidual() argument
48 …int16_t *reverseDecresidual = iLBCdec_inst->enh_buf; /* Reversed decoded data, used for decoding b… in WebRtcIlbcfix_DecodeResidual()
49 …int16_t *memVec = iLBCdec_inst->prevResidual; /* Memory for codebook and filter state (reuse memo… in WebRtcIlbcfix_DecodeResidual()
52 diff = STATE_LEN - iLBCdec_inst->state_short_len; in WebRtcIlbcfix_DecodeResidual()
64 &decresidual[start_pos], iLBCdec_inst->state_short_len in WebRtcIlbcfix_DecodeResidual()
71 WebRtcSpl_MemSetW16(mem, 0, CB_MEML - iLBCdec_inst->state_short_len); in WebRtcIlbcfix_DecodeResidual()
72 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-iLBCdec_inst->state_short_len, decresidual+start_pos, in WebRtcIlbcfix_DecodeResidual()
73 iLBCdec_inst->state_short_len); in WebRtcIlbcfix_DecodeResidual()
78 &decresidual[start_pos + iLBCdec_inst->state_short_len], in WebRtcIlbcfix_DecodeResidual()
88 meml_gotten = iLBCdec_inst->state_short_len; in WebRtcIlbcfix_DecodeResidual()
[all …]
Ddecoder_interpolate_lsf.c34 IlbcDecoder *iLBCdec_inst in WebRtcIlbcfix_DecoderInterpolateLsp() argument
44 if (iLBCdec_inst->mode==30) { in WebRtcIlbcfix_DecoderInterpolateLsp()
47 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, (*iLBCdec_inst).lsfdeqold, lsfdeq, in WebRtcIlbcfix_DecoderInterpolateLsp()
66 for (i = 0; i < iLBCdec_inst->nsub; i++) { in WebRtcIlbcfix_DecoderInterpolateLsp()
67 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, iLBCdec_inst->lsfdeqold, lsfdeq, in WebRtcIlbcfix_DecoderInterpolateLsp()
78 if (iLBCdec_inst->mode==30) { in WebRtcIlbcfix_DecoderInterpolateLsp()
79 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->lsfdeqold, lsfdeq2, length); in WebRtcIlbcfix_DecoderInterpolateLsp()
81 WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->lsfdeqold, lsfdeq, length); in WebRtcIlbcfix_DecoderInterpolateLsp()
Dilbc.h153 int16_t WebRtcIlbcfix_DecoderInit(IlbcDecoderInstance* iLBCdec_inst,
155 void WebRtcIlbcfix_DecoderInit20Ms(IlbcDecoderInstance* iLBCdec_inst);
156 void WebRtcIlbcfix_Decoderinit30Ms(IlbcDecoderInstance* iLBCdec_inst);
178 int WebRtcIlbcfix_Decode(IlbcDecoderInstance* iLBCdec_inst,
183 int WebRtcIlbcfix_Decode20Ms(IlbcDecoderInstance* iLBCdec_inst,
188 int WebRtcIlbcfix_Decode30Ms(IlbcDecoderInstance* iLBCdec_inst,
211 size_t WebRtcIlbcfix_DecodePlc(IlbcDecoderInstance* iLBCdec_inst,
232 size_t WebRtcIlbcfix_NetEqPlc(IlbcDecoderInstance* iLBCdec_inst,
Dinit_decode.h30 iLBCdec_inst, /* (i/o) Decoder instance */
Denhancer_interface.h31 IlbcDecoder* iLBCdec_inst); // (i) buffers etc
Ddecode_residual.h35 IlbcDecoder* iLBCdec_inst, /* (i/o) the decoder state structure */
Ddecode.h35 IlbcDecoder* iLBCdec_inst, /* (i/o) the decoder state
Ddecoder_interpolate_lsf.h34 IlbcDecoder* iLBCdec_inst
Ddo_plc.h37 IlbcDecoder* iLBCdec_inst
/external/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBC_testprogram.c59 IlbcDecoder *iLBCdec_inst, /* (i/o) Decoder instance */ in decode() argument
73 iLBCdec_inst, mode); in decode()
75 return (iLBCdec_inst->blockl); in decode()