Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/ilbc/
Ddo_plc.c76 iLBCdec_inst->blockl); in WebRtcIlbcfix_DoThePlc()
91 corrLen = (size_t)WEBRTC_SPL_MIN(60, iLBCdec_inst->blockl-(inlag+3)); in WebRtcIlbcfix_DoThePlc()
94 … iLBCdec_inst->prevResidual, lag, iLBCdec_inst->blockl, corrLen, scale3); in WebRtcIlbcfix_DoThePlc()
104 … iLBCdec_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()
152 … &iLBCdec_inst->prevResidual[iLBCdec_inst->blockl-corrLen], in WebRtcIlbcfix_DoThePlc()
193 if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>320) { in WebRtcIlbcfix_DoThePlc()
195 } else if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>640) { in WebRtcIlbcfix_DoThePlc()
197 } else if (iLBCdec_inst->consPLICount*iLBCdec_inst->blockl>960) { in WebRtcIlbcfix_DoThePlc()
199 } 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()
193 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode()
213 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode20Ms()
222 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode20Ms()
242 &decoded[i * ((IlbcDecoder*)iLBCdec_inst)->blockl], in WebRtcIlbcfix_Decode30Ms()
251 return (int)(i*((IlbcDecoder*)iLBCdec_inst)->blockl); in WebRtcIlbcfix_Decode30Ms()
[all …]
Ddecode.c121 WEBRTC_SPL_MEMCPY_W16(decresidual, PLCresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
136 WEBRTC_SPL_MEMCPY_W16(decresidual, PLCresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
197 …WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->syntMem, &data[iLBCdec_inst->blockl-LPC_FILTERORDER], LPC_FILT… in WebRtcIlbcfix_DecodeImpl()
206 &decresidual[iLBCdec_inst->blockl-60], in WebRtcIlbcfix_DecodeImpl()
207 &decresidual[iLBCdec_inst->blockl-60-lag], in WebRtcIlbcfix_DecodeImpl()
212 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL], in WebRtcIlbcfix_DecodeImpl()
213 &decresidual[iLBCdec_inst->blockl-ENH_BLOCKL-lag], in WebRtcIlbcfix_DecodeImpl()
222 WEBRTC_SPL_MEMCPY_W16(data, decresidual, iLBCdec_inst->blockl); in WebRtcIlbcfix_DecodeImpl()
235 …WEBRTC_SPL_MEMCPY_W16(iLBCdec_inst->syntMem, &data[iLBCdec_inst->blockl-LPC_FILTERORDER], LPC_FILT… in WebRtcIlbcfix_DecodeImpl()
238 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.h143 size_t blockl; member
183 size_t blockl; member
Dencode.c84 residual = &iLBCenc_inst->lpc_buffer[LPC_LOOKBACK+BLOCKL_MAX-iLBCenc_inst->blockl]; in WebRtcIlbcfix_EncodeImpl()
126 WEBRTC_SPL_MEMCPY_W16(data,block,iLBCenc_inst->blockl); in WebRtcIlbcfix_EncodeImpl()
132 iLBCenc_inst->blockl); in WebRtcIlbcfix_EncodeImpl()
150 …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/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);