• Home
  • Raw
  • Download

Lines Matching refs:FIXP_DBL

116 void CLpc_SynthesisLattice(FIXP_DBL *signal, const int signal_size,  in CLpc_SynthesisLattice()
119 const int order, FIXP_DBL *state) { in CLpc_SynthesisLattice()
121 FIXP_DBL *pSignal; in CLpc_SynthesisLattice()
146 FIXP_DBL *pState = state + order - 1; in CLpc_SynthesisLattice()
148 FIXP_DBL tmp; in CLpc_SynthesisLattice()
168 void CLpc_SynthesisLattice(FIXP_DBL *signal, const int signal_size, in CLpc_SynthesisLattice()
170 const int inc, const FIXP_DBL *coeff, in CLpc_SynthesisLattice()
171 const int order, FIXP_DBL *state) { in CLpc_SynthesisLattice()
173 FIXP_DBL *pSignal; in CLpc_SynthesisLattice()
185 FIXP_DBL *pState = state + order - 1; in CLpc_SynthesisLattice()
186 const FIXP_DBL *pCoeff = coeff + order - 1; in CLpc_SynthesisLattice()
187 FIXP_DBL tmp, accu; in CLpc_SynthesisLattice()
214 void CLpc_Synthesis(FIXP_DBL *signal, const int signal_size, const int signal_e, in CLpc_Synthesis()
216 const int lpcCoeff_e, const int order, FIXP_DBL *state, in CLpc_Synthesis()
219 FIXP_DBL *pSignal; in CLpc_Synthesis()
237 FIXP_DBL x; in CLpc_Synthesis()
257 void CLpc_Synthesis(FIXP_DBL *signal, const int signal_size, const int signal_e, in CLpc_Synthesis()
259 const int lpcCoeff_e, const int order, FIXP_DBL *state, in CLpc_Synthesis()
262 FIXP_DBL *pSignal; in CLpc_Synthesis()
280 FIXP_DBL x; in CLpc_Synthesis()
301 void CLpc_Analysis(FIXP_DBL *RESTRICT signal, const int signal_size, in CLpc_Analysis()
303 const int order, FIXP_DBL *RESTRICT filtState, in CLpc_Analysis()
307 FIXP_DBL tmp; in CLpc_Analysis()
356 INT numOfCoeff, FIXP_DBL workBuffer[]) { in CLpc_ParcorToLpc()
360 FIXP_DBL maxVal = (FIXP_DBL)0; in CLpc_ParcorToLpc()
365 FIXP_DBL tmp1, tmp2; in CLpc_ParcorToLpc()
394 INT numOfCoeff, FIXP_DBL workBuffer[]) { in CLpc_ParcorToLpc()
398 FIXP_DBL maxVal = (FIXP_DBL)0; in CLpc_ParcorToLpc()
403 FIXP_DBL tmp1, tmp2; in CLpc_ParcorToLpc()
431 void CLpc_AutoToParcor(FIXP_DBL acorr[], const int acorr_e, in CLpc_AutoToParcor()
433 FIXP_DBL *pPredictionGain_m, INT *pPredictionGain_e) { in CLpc_AutoToParcor()
435 FIXP_DBL parcorWorkBuffer[LPC_MAX_ORDER]; in CLpc_AutoToParcor()
437 FIXP_DBL *workBuffer = parcorWorkBuffer; in CLpc_AutoToParcor()
438 FIXP_DBL autoCorr_0 = acorr[0]; in CLpc_AutoToParcor()
450 FDKmemcpy(workBuffer, acorr + 1, numOfCoeff * sizeof(FIXP_DBL)); in CLpc_AutoToParcor()
453 FIXP_DBL tmp = (FIXP_DBL)((LONG)workBuffer[0] ^ sign); in CLpc_AutoToParcor()
461 tmp = (FIXP_DBL)((LONG)schur_div(tmp, acorr[0], FRACT_BITS) ^ (~sign)); in CLpc_AutoToParcor()
466 FIXP_DBL accu1 = fMult(tmp, acorr[j]); in CLpc_AutoToParcor()
467 FIXP_DBL accu2 = fMult(tmp, workBuffer[j]); in CLpc_AutoToParcor()
472 if (acorr[0] == (FIXP_DBL)0) break; in CLpc_AutoToParcor()
478 if (acorr[0] > (FIXP_DBL)0) { in CLpc_AutoToParcor()
483 *pPredictionGain_m = (FIXP_DBL)0; in CLpc_AutoToParcor()