Lines Matching refs:pFac
145 int CLpd_FAC_Read(HANDLE_FDK_BITSTREAM hBs, FIXP_DBL *pFac, SCHAR *pFacScale, in CLpd_FAC_Read() argument
154 if (CLpc_DecodeAVQ(hBs, pFac, 1, 1, length) != 0) { in CLpd_FAC_Read()
161 scale = getScalefactor(pFac, length); in CLpd_FAC_Read()
162 scaleValues(pFac, length, scale); in CLpd_FAC_Read()
172 pFac[i] = fMult(pFac[i], fac_gain); in CLpd_FAC_Read()
232 static void CFac_CalcFacSignal(FIXP_DBL *pOut, FIXP_DBL *pFac, in CFac_CalcFacSignal() argument
247 dct_IV(pFac, fac_length, &scale); in CFac_CalcFacSignal()
253 pFac[i] = fMult(tf_gain, pFac[i]); in CFac_CalcFacSignal()
256 scaleValuesSaturate(pOut, pFac, fac_length, in CFac_CalcFacSignal()
272 INT CLpd_FAC_Mdct2Acelp(H_MDCT hMdct, FIXP_DBL *output, FIXP_DBL *pFac, in CLpd_FAC_Mdct2Acelp() argument
327 if (pFac != NULL) { in CLpd_FAC_Mdct2Acelp()
330 CFac_CalcFacSignal(pOut0, pFac, fac_scale, fac_length, A, A_exp, 0, in CLpd_FAC_Mdct2Acelp()
380 FIXP_DBL *pFac, const int fac_scale, in CLpd_FAC_Acelp2Mdct() argument
474 CFac_CalcFacSignal(pFAC_and_FAC_ZIR, pFac, fac_scale + s, fac_length, A, in CLpd_FAC_Acelp2Mdct()
485 CLpd_Acelp_Zir(A, A_exp, acelp_mem, fac_length, pFac, doDeemph); in CLpd_FAC_Acelp2Mdct()
488 pTmp2 = pFac; in CLpd_FAC_Acelp2Mdct()