Lines Matching defs:iLBCenc_inst
79 int16_t WebRtcIlbcfix_EncoderInit(iLBC_encinst_t *iLBCenc_inst, int16_t mode)
82 WebRtcIlbcfix_InitEncode((iLBC_Enc_Inst_t*) iLBCenc_inst, mode);
89 int16_t WebRtcIlbcfix_Encode(iLBC_encinst_t *iLBCenc_inst, const int16_t *speechIn, int16_t len, int16_t *encoded) {
94 if ((len != ((iLBC_Enc_Inst_t*)iLBCenc_inst)->blockl) &&
98 (len != 2*((iLBC_Enc_Inst_t*)iLBCenc_inst)->blockl) &&
99 (len != 3*((iLBC_Enc_Inst_t*)iLBCenc_inst)->blockl))
107 WebRtcIlbcfix_EncodeImpl((uint16_t*) &encoded[encpos], &speechIn[pos], (iLBC_Enc_Inst_t*) iLBCenc_inst);
110 if(((iLBC_Enc_Inst_t*)iLBCenc_inst)->section == 0)
112 pos += ((iLBC_Enc_Inst_t*)iLBCenc_inst)->blockl;
114 encpos += ((iLBC_Enc_Inst_t*)iLBCenc_inst)->no_of_words;