Lines Matching refs:acelp_mem
713 static void ConcealPitchLag(CAcelpStaticMem *acelp_mem, const int PIT_MAX, in ConcealPitchLag() argument
715 USHORT *pold_T0 = &acelp_mem->old_T0; in ConcealPitchLag()
716 UCHAR *pold_T0_frac = &acelp_mem->old_T0_frac; in ConcealPitchLag()
731 void CLpd_AcelpDecode(CAcelpStaticMem *acelp_mem, INT i_offset, in CLpd_AcelpDecode() argument
778 FDKmemcpy(syn_buf, acelp_mem->old_syn_mem, in CLpd_AcelpDecode()
780 FDKmemcpy(exc_buf, acelp_mem->old_exc_mem, in CLpd_AcelpDecode()
794 ConcealPitchLag(acelp_mem, PIT_MAX, &T0, &T0_frac); in CLpd_AcelpDecode()
819 FX_SGL2FX_COD((FIXP_SGL)E_UTIL_random(&acelp_mem->seed_ace)) >> 4; in CLpd_AcelpDecode()
847 bfi, &acelp_mem->past_gpit, &acelp_mem->past_gcode, in CLpd_AcelpDecode()
878 &acelp_mem->gc_threshold); in CLpd_AcelpDecode()
903 acelp_mem->old_T0_frac = T0_frac; in CLpd_AcelpDecode()
904 acelp_mem->old_T0 = T0; in CLpd_AcelpDecode()
907 FDKmemcpy(acelp_mem->old_exc_mem, exc + l_div - (PIT_MAX_MAX + L_INTERPOL), in CLpd_AcelpDecode()
909 FDKmemcpy(acelp_mem->old_syn_mem, syn_buf + l_div, in CLpd_AcelpDecode()
913 &acelp_mem->de_emph_mem); /* ref soft: mem = synth[-1] */ in CLpd_AcelpDecode()
916 acelp_mem->deemph_mem_wsyn = acelp_mem->de_emph_mem; in CLpd_AcelpDecode()
938 void CLpd_TcxTDConceal(CAcelpStaticMem *acelp_mem, SHORT *pitch, in CLpd_TcxTDConceal() argument
959 FDKmemcpy(syn_buf, acelp_mem->old_syn_mem, in CLpd_TcxTDConceal()
961 FDKmemcpy(exc_buf, acelp_mem->old_exc_mem, in CLpd_TcxTDConceal()
983 tmp = fMult(fact_exc, acelp_mem->wsyn_rms); in CLpd_TcxTDConceal()
984 acelp_mem->wsyn_rms = tmp; in CLpd_TcxTDConceal()
987 acelp_mem->deemph_mem_wsyn = exc[-1]; in CLpd_TcxTDConceal()
989 ns[-1] = acelp_mem->deemph_mem_wsyn; in CLpd_TcxTDConceal()
1012 Deemph(tRes, &ns[i_subfr], L_SUBFR, &acelp_mem->deemph_mem_wsyn); in CLpd_TcxTDConceal()
1037 FDKmemcpy(acelp_mem->old_exc_mem, exc + lDiv - (PIT_MAX_MAX + L_INTERPOL), in CLpd_TcxTDConceal()
1039 FDKmemcpy(acelp_mem->old_syn_mem, syn_buf + lDiv, in CLpd_TcxTDConceal()
1041 acelp_mem->de_emph_mem = acelp_mem->deemph_mem_wsyn; in CLpd_TcxTDConceal()
1092 CAcelpStaticMem *acelp_mem, const INT length, in CLpd_Acelp_Zir() argument
1097 FDKmemcpy(tmp_buf, acelp_mem->old_syn_mem, in CLpd_Acelp_Zir()
1108 &acelp_mem->de_emph_mem); in CLpd_Acelp_Zir()
1118 CAcelpStaticMem *acelp_mem, in CLpd_AcelpPrepareInternalMem() argument
1131 old_exc_mem = acelp_mem->old_exc_mem; in CLpd_AcelpPrepareInternalMem()
1140 acelp_mem->deemph_mem_wsyn = scaleValueSaturate(synth[-1], ACELP_OUTSCALE); in CLpd_AcelpPrepareInternalMem()
1151 acelp_mem->de_emph_mem = scaleValueSaturate(synth[-1], ACELP_OUTSCALE); in CLpd_AcelpPrepareInternalMem()
1154 FDKmemcpy(acelp_mem->old_syn_mem, in CLpd_AcelpPrepareInternalMem()
1192 FIXP_DBL *CLpd_ACELP_GetFreeExcMem(CAcelpStaticMem *acelp_mem, INT length) { in CLpd_ACELP_GetFreeExcMem() argument
1194 return acelp_mem->old_exc_mem; in CLpd_ACELP_GetFreeExcMem()