Home
last modified time | relevance | path

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

/external/webrtc/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.c42 IlbcDecoder *iLBCdec_inst, /* (i/o) the decoder state in WebRtcIlbcfix_DecodeImpl() argument
72 WebRtcIlbcfix_SwapBytes(bytes, iLBCdec_inst->no_of_words, swapped); in WebRtcIlbcfix_DecodeImpl()
73 last_bit = WebRtcIlbcfix_UnpackBits(swapped, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
75 last_bit = WebRtcIlbcfix_UnpackBits(bytes, iLBCbits_inst, iLBCdec_inst->mode); in WebRtcIlbcfix_DecodeImpl()
81 if ((iLBCdec_inst->mode==20) && (iLBCbits_inst->startIdx>3)) in WebRtcIlbcfix_DecodeImpl()
83 if ((iLBCdec_inst->mode==30) && (iLBCbits_inst->startIdx>5)) in WebRtcIlbcfix_DecodeImpl()
97 WebRtcIlbcfix_SimpleLsfDeQ(lsfdeq, (int16_t*)(iLBCbits_inst->lsf), iLBCdec_inst->lpc_n); 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()
103 WebRtcIlbcfix_DecodeResidual(iLBCdec_inst, iLBCbits_inst, decresidual, syntdenum); 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
65 (*iLBCdec_inst).consPLICount += 1; in WebRtcIlbcfix_DoThePlc()
70 if (iLBCdec_inst->prevPLI != 1) { in WebRtcIlbcfix_DoThePlc()
74 max = WebRtcSpl_MaxAbsValueW16((*iLBCdec_inst).prevResidual, in WebRtcIlbcfix_DoThePlc()
75 iLBCdec_inst->blockl); in WebRtcIlbcfix_DoThePlc()
83 iLBCdec_inst->prevScale = scale3; in WebRtcIlbcfix_DoThePlc()
90 corrLen = (size_t)WEBRTC_SPL_MIN(60, iLBCdec_inst->blockl-(inlag+3)); in WebRtcIlbcfix_DoThePlc()
93iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
103iLBCdec_inst->prevResidual, j, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
148 … tmp2W32=WebRtcSpl_DotProductWithScale(&iLBCdec_inst->prevResidual[iLBCdec_inst->blockl-corrLen], in WebRtcIlbcfix_DoThePlc()
[all …]
Denhancer_interface.c36 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.c36 IlbcDecoder *iLBCdec_inst, in WebRtcIlbcfix_DecodeResidual() argument
46 …int16_t *reverseDecresidual = iLBCdec_inst->enh_buf; /* Reversed decoded data, used for decoding b… in WebRtcIlbcfix_DecodeResidual()
47 …int16_t *memVec = iLBCdec_inst->prevResidual; /* Memory for codebook and filter state (reuse memo… in WebRtcIlbcfix_DecodeResidual()
50 diff = STATE_LEN - iLBCdec_inst->state_short_len; in WebRtcIlbcfix_DecodeResidual()
62 &decresidual[start_pos], iLBCdec_inst->state_short_len in WebRtcIlbcfix_DecodeResidual()
69 WebRtcSpl_MemSetW16(mem, 0, CB_MEML - iLBCdec_inst->state_short_len); in WebRtcIlbcfix_DecodeResidual()
70 WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-iLBCdec_inst->state_short_len, decresidual+start_pos, in WebRtcIlbcfix_DecodeResidual()
71 iLBCdec_inst->state_short_len); in WebRtcIlbcfix_DecodeResidual()
76 &decresidual[start_pos+iLBCdec_inst->state_short_len], in WebRtcIlbcfix_DecodeResidual()
86 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.h160 int16_t WebRtcIlbcfix_DecoderInit(IlbcDecoderInstance *iLBCdec_inst,
162 void WebRtcIlbcfix_DecoderInit20Ms(IlbcDecoderInstance* iLBCdec_inst);
163 void WebRtcIlbcfix_Decoderinit30Ms(IlbcDecoderInstance* iLBCdec_inst);
185 int WebRtcIlbcfix_Decode(IlbcDecoderInstance* iLBCdec_inst,
190 int WebRtcIlbcfix_Decode20Ms(IlbcDecoderInstance* iLBCdec_inst,
195 int WebRtcIlbcfix_Decode30Ms(IlbcDecoderInstance* iLBCdec_inst,
218 size_t WebRtcIlbcfix_DecodePlc(IlbcDecoderInstance *iLBCdec_inst,
239 size_t WebRtcIlbcfix_NetEqPlc(IlbcDecoderInstance *iLBCdec_inst,
Dinit_decode.h29 IlbcDecoder *iLBCdec_inst, /* (i/o) Decoder instance */
Denhancer_interface.h31 IlbcDecoder *iLBCdec_inst /* (i) buffers etc */
Ddecode.h31 IlbcDecoder *iLBCdec_inst, /* (i/o) the decoder state
Ddecode_residual.h29 IlbcDecoder *iLBCdec_inst,
Ddecoder_interpolate_lsf.h34 IlbcDecoder *iLBCdec_inst
Ddo_plc.h37 IlbcDecoder *iLBCdec_inst
/external/webrtc/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()