Home
last modified time | relevance | path

Searched refs:blockl (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Ddo_plc.c75 iLBCdec_inst->blockl); in WebRtcIlbcfix_DoThePlc()
90 corrLen = (size_t)WEBRTC_SPL_MIN(60, iLBCdec_inst->blockl-(inlag+3)); in WebRtcIlbcfix_DoThePlc()
93 … iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
103 … iLBCdec_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()
149 … &iLBCdec_inst->prevResidual[iLBCdec_inst->blockl-corrLen], in WebRtcIlbcfix_DoThePlc()
190 if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>320) { in WebRtcIlbcfix_DoThePlc()
192 } else if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>640) { in WebRtcIlbcfix_DoThePlc()
194 } else if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>960) { in WebRtcIlbcfix_DoThePlc()
196 } else if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>1280) { in WebRtcIlbcfix_DoThePlc()
[all …]
Dilbc.c98 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()
117 pos += ((IlbcEncoder*)iLBCenc_inst)->blockl; in WebRtcIlbcfix_Encode()
184 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode()
192 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode()
212 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode20Ms()
220 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode20Ms()
240 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode30Ms()
248 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode30Ms()
[all …]
Ddecode.c112 WEBRTC_SPL_MEMCPY_W16(decresidual, PLCresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
127 WEBRTC_SPL_MEMCPY_W16(decresidual, PLCresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
188 …WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->syntMem, &data[iLBCdec_inst->blockl-LPC_FILTERORDER], LPC_FILT… in WebRtcIlbcfix_DecodeImpl()
197 &decresidual[iLBCdec_inst->blockl-60], in WebRtcIlbcfix_DecodeImpl()
198 &decresidual[iLBCdec_inst->blockl-60-lag], in WebRtcIlbcfix_DecodeImpl()
203 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL], in WebRtcIlbcfix_DecodeImpl()
204 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL-lag], in WebRtcIlbcfix_DecodeImpl()
213 WEBRTC_SPL_MEMCPY_W16(data, decresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
226 …WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->syntMem, &data[iLBCdec_inst->blockl-LPC_FILTERORDER], LPC_FILT… in WebRtcIlbcfix_DecodeImpl()
229 WEBRTC_SPL_MEMCPY_W16(decblock,data,iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
[all …]
Denhancer_interface.c40 size_t inLen=iLBCdec_inst->blockl+120; 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()
226 plc_pred, &enh_buf[ENH_BUFL-iLBCdec_inst->blockl-plc_blockl+lag], in WebRtcIlbcfix_EnhancerInterface()
255 &enh_buf[ENH_BUFL-iLBCdec_inst->blockl-plc_blockl], plc_blockl); in WebRtcIlbcfix_EnhancerInterface()
262 &enh_buf[ENH_BUFL-iLBCdec_inst->blockl-plc_blockl], in WebRtcIlbcfix_EnhancerInterface()
263 &enh_buf[ENH_BUFL-iLBCdec_inst->blockl-plc_blockl], in WebRtcIlbcfix_EnhancerInterface()
316 enh_bufPtr1=&enh_buf[ENH_BUFL-1-iLBCdec_inst->blockl]; in WebRtcIlbcfix_EnhancerInterface()
[all …]
Dsimple_lpc_analysis.c45 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()
89 is=LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl; in WebRtcIlbcfix_SimpleLpcAnalysis()
Dinit_decode.c36 iLBCdec_inst->blockl = BLOCKL_30MS; in WebRtcIlbcfix_InitDecode()
45 iLBCdec_inst->blockl = BLOCKL_20MS; in WebRtcIlbcfix_InitDecode()
95 return (int)(iLBCdec_inst->blockl); in WebRtcIlbcfix_InitDecode()
Dinit_encode.c33 iLBCenc_inst->blockl = BLOCKL_30MS; in WebRtcIlbcfix_InitEncode()
42 iLBCenc_inst->blockl = BLOCKL_20MS; in WebRtcIlbcfix_InitEncode()
Ddefines.h138 size_t blockl; member
179 size_t blockl; member
Dencode.c80 residual = &iLBCenc_inst->lpc_buffer[LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl]; in WebRtcIlbcfix_EncodeImpl()
122 WEBRTC_SPL_MEMCPY_W16(data,block,iLBCenc_inst->blockl); in WebRtcIlbcfix_EncodeImpl()
128 iLBCenc_inst->blockl); in WebRtcIlbcfix_EncodeImpl()
146 …WEBRTC_SPL_MEMCPY_W16(iLBCenc_inst->anaMem, &data[iLBCenc_inst->blockl-LPC_FILTERORDER], LPC_FILTE… in WebRtcIlbcfix_EncodeImpl()
Dframe_classify.c48 max = WebRtcSpl_MaxAbsValueW16(residualFIX, iLBCenc_inst->blockl); in WebRtcIlbcfix_FrameClassify()
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
DiLBC_testprogram.c75 return (iLBCdec_inst->blockl); in decode()
213 frameLen = Enc_Inst.blockl;
215 while( fread(&inputdata[noOfBlocks*Enc_Inst.blockl],sizeof(short),
216 Enc_Inst.blockl,ifileid)==(uint16_t)Enc_Inst.blockl){
223 && ( blockcount < noOfBlocks/(Enc_Inst.blockl/frameLen) )) {
227 if ( blockcount < noOfBlocks/(Enc_Inst.blockl/frameLen) ) {
252 while( count < blockcount * (Enc_Inst.blockl/frameLen) ) {
282 decode(&Dec_Inst, &decodeddata[count * Dec_Inst.blockl],
288 decode(&Dec_Inst, &decodeddata[count*Dec_Inst.blockl],
332 fwrite(&decodeddata[i*Enc_Inst.blockl],sizeof(short),Enc_Inst.blockl,ofileid);