• Home
  • Raw
  • Download

Lines Matching refs:fac_length

208 void CFac_ApplyGains(FIXP_DBL fac_data[LFAC], const INT fac_length,  in CFac_ApplyGains()  argument
214 FDK_ASSERT((fac_length == 128) || (fac_length == 96)); in CFac_ApplyGains()
218 for (i = 0; i < fac_length; i++) { in CFac_ApplyGains()
223 for (i = 0; i < fac_length / 4; i++) { in CFac_ApplyGains()
233 const int fac_scale, const int fac_length, in CFac_CalcFacSignal() argument
243 imdct_gain(&tf_gain, &scale, isFdFac ? 0 : fac_length); in CFac_CalcFacSignal()
247 dct_IV(pFac, fac_length, &scale); in CFac_CalcFacSignal()
252 for (i = 0; i < fac_length; i++) { in CFac_CalcFacSignal()
256 scaleValuesSaturate(pOut, pFac, fac_length, in CFac_CalcFacSignal()
264 FDKmemclear(pOut + fac_length, fac_length * sizeof(FIXP_DBL)); in CFac_CalcFacSignal()
265 wlength = 2 * fac_length; in CFac_CalcFacSignal()
274 INT nrOutSamples, const INT fac_length, in CLpd_FAC_Mdct2Acelp() argument
281 FDK_ASSERT(fac_length <= 1024 / (4 * 2)); in CLpd_FAC_Mdct2Acelp()
283 fl = fac_length * 2; in CLpd_FAC_Mdct2Acelp()
290 imdct_adapt_parameters(hMdct, &fl, &nl, fac_length, pWindow, nrOutSamples); in CLpd_FAC_Mdct2Acelp()
330 CFac_CalcFacSignal(pOut0, pFac, fac_scale, fac_length, A, A_exp, 0, in CLpd_FAC_Mdct2Acelp()
334 FDKmemclear(pOut0, fac_length * sizeof(FIXP_DBL)); in CLpd_FAC_Mdct2Acelp()
381 const INT fac_length, INT noOutSamples, const INT tl, in CLpd_FAC_Acelp2Mdct() argument
398 FDK_ASSERT(fac_length <= 1024 / (4 * 2)); in CLpd_FAC_Acelp2Mdct()
399 switch (fac_length) { in CLpd_FAC_Acelp2Mdct()
434 fl = fac_length * 2; in CLpd_FAC_Acelp2Mdct()
447 if (hMdct->ov_offset < fac_length) { in CLpd_FAC_Acelp2Mdct()
452 hMdct->ov_offset += fac_length + nl; in CLpd_FAC_Acelp2Mdct()
459 pFAC_and_FAC_ZIR = CLpd_ACELP_GetFreeExcMem(acelp_mem, 2 * fac_length); in CLpd_FAC_Acelp2Mdct()
470 FDKmemclear(pFAC_and_FAC_ZIR, 2 * fac_length * sizeof(FIXP_DBL)); in CLpd_FAC_Acelp2Mdct()
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()
491 for (i = 0, w = 0; i < fac_length; i++) { in CLpd_FAC_Acelp2Mdct()
503 scaleValues(pOut1, fac_length, 1); in CLpd_FAC_Acelp2Mdct()
509 nrSamples += fac_length + nl; in CLpd_FAC_Acelp2Mdct()
560 pFAC_and_FAC_ZIR += fac_length; /* set pointer to beginning of FAC ZIR */ in CLpd_FAC_Acelp2Mdct()
566 FDK_ASSERT(nl >= fac_length); in CLpd_FAC_Acelp2Mdct()
572 f_len = fac_length; in CLpd_FAC_Acelp2Mdct()