Searched defs:iLBCenc_inst (Results 1 - 8 of 8) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
H A Dinit_encode.c27 IlbcEncoder *iLBCenc_inst, /* (i/o) Encoder instance */
29 iLBCenc_inst->mode = mode;
33 iLBCenc_inst->blockl = BLOCKL_30MS;
34 iLBCenc_inst->nsub = NSUB_30MS;
35 iLBCenc_inst->nasub = NASUB_30MS;
36 iLBCenc_inst->lpc_n = LPC_N_30MS;
37 iLBCenc_inst->no_of_bytes = NO_OF_BYTES_30MS;
38 iLBCenc_inst->no_of_words = NO_OF_WORDS_30MS;
39 iLBCenc_inst->state_short_len=STATE_SHORT_LEN_30MS;
42 iLBCenc_inst
26 WebRtcIlbcfix_InitEncode( IlbcEncoder *iLBCenc_inst, int16_t mode) argument
[all...]
H A Dabs_quant.c30 IlbcEncoder *iLBCenc_inst,
58 quantLen[1]=iLBCenc_inst->state_short_len-SUBL;
60 quantLen[0]=iLBCenc_inst->state_short_len-SUBL;
29 WebRtcIlbcfix_AbsQuant( IlbcEncoder *iLBCenc_inst, iLBC_bits *iLBC_encbits, int16_t *in, int16_t *weightDenum ) argument
H A Dframe_classify.c28 IlbcEncoder *iLBCenc_inst,
48 max = WebRtcSpl_MaxAbsValueW16(residualFIX, iLBCenc_inst->blockl);
58 for (n=(iLBCenc_inst->nsub-1); n>0; n--) {
65 maxW32 = WebRtcSpl_MaxValueW32(ssqEn, iLBCenc_inst->nsub - 1);
73 if (iLBCenc_inst->mode==20) {
78 for (n=(iLBCenc_inst->nsub-1); n>0; n--) {
85 pos = WebRtcSpl_MaxIndexW32(ssqEn, iLBCenc_inst->nsub - 1) + 1;
26 WebRtcIlbcfix_FrameClassify( IlbcEncoder *iLBCenc_inst, int16_t *residualFIX ) argument
H A Dstate_search.c28 IlbcEncoder *iLBCenc_inst,
51 max = WebRtcSpl_MaxAbsValueW16(residual, iLBCenc_inst->state_short_len);
62 WEBRTC_SPL_MEMCPY_W16(residualLong, residual, iLBCenc_inst->state_short_len);
63 WebRtcSpl_MemSetW16(residualLong + iLBCenc_inst->state_short_len, 0, iLBCenc_inst->state_short_len);
69 iLBCenc_inst->state_short_len + LPC_FILTERORDER);
70 WebRtcSpl_MemSetW16(&sampleMa[iLBCenc_inst->state_short_len + LPC_FILTERORDER], 0, iLBCenc_inst->state_short_len - LPC_FILTERORDER);
74 syntDenum, LPC_FILTERORDER+1, 2 * iLBCenc_inst->state_short_len);
76 for(k=0;k<iLBCenc_inst
27 WebRtcIlbcfix_StateSearch( IlbcEncoder *iLBCenc_inst, iLBC_bits *iLBC_encbits, int16_t *residual, int16_t *syntDenum, int16_t *weightDenum ) argument
[all...]
H A Dilbc.c81 int16_t WebRtcIlbcfix_EncoderInit(IlbcEncoderInstance* iLBCenc_inst, argument
84 WebRtcIlbcfix_InitEncode((IlbcEncoder*) iLBCenc_inst, mode);
91 int WebRtcIlbcfix_Encode(IlbcEncoderInstance* iLBCenc_inst, argument
98 if ((len != ((IlbcEncoder*)iLBCenc_inst)->blockl) &&
102 (len != 2*((IlbcEncoder*)iLBCenc_inst)->blockl) &&
103 (len != 3*((IlbcEncoder*)iLBCenc_inst)->blockl))
112 (IlbcEncoder*)iLBCenc_inst);
115 if(((IlbcEncoder*)iLBCenc_inst)->section == 0)
117 pos += ((IlbcEncoder*)iLBCenc_inst)->blockl;
119 encpos += ((IlbcEncoder*)iLBCenc_inst)
[all...]
H A Dcb_search.c37 IlbcEncoder *iLBCenc_inst,
297 if(lTarget==(STATE_LEN-iLBCenc_inst->state_short_len)) {
36 WebRtcIlbcfix_CbSearch( IlbcEncoder *iLBCenc_inst, int16_t *index, int16_t *gain_index, int16_t *intarget, int16_t *decResidual, size_t lMem, size_t lTarget, int16_t *weightDenum, size_t block ) argument
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/test/
H A DiLBC_testprogram.c43 IlbcEncoder *iLBCenc_inst, /* (i/o) Encoder instance */
49 WebRtcIlbcfix_Encode((uint16_t *)encoded_data, data, iLBCenc_inst);
51 return (iLBCenc_inst->no_of_bytes);
42 encode( IlbcEncoder *iLBCenc_inst, int16_t *encoded_data, int16_t *data ) argument
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
H A DRTPencode.cc252 IlbcEncoderInstance* iLBCenc_inst[2]; variable
1296 ok = WebRtcIlbcfix_EncoderCreate(&iLBCenc_inst[k]);
1311 WebRtcIlbcfix_EncoderInit(iLBCenc_inst[k], 20);
1314 WebRtcIlbcfix_EncoderInit(iLBCenc_inst[k], 30);
1554 WebRtcIlbcfix_EncoderFree(iLBCenc_inst[k]);
1692 WebRtcIlbcfix_Encode(iLBCenc_inst[k], indata, frameLen, encoded), 0));

Completed in 1547 milliseconds