• Home
  • Raw
  • Download

Lines Matching refs:ac

212   (2 * (DFRACT_BITS + sbrScaleFactor->lb_scale + 10 - ac.det_scale))
293 ACORR_COEFS ac; in lppTransposer() local
486 acDetScale += autoCorr2nd_cplx(&ac, lowBandReal + LPC_ORDER, in lppTransposer()
490 autoCorr2nd_real(&ac, lowBandReal + LPC_ORDER, autoCorrLength); in lppTransposer()
496 acDetScale += ac.det_scale; /* ac scaling of determinant */ in lppTransposer()
506 if (ac.det != FL2FXCONST_DBL(0.0f)) { in lppTransposer()
509 absDet = fixp_abs(ac.det); in lppTransposer()
512 tmp = (fMultDiv2(ac.r01r, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) - in lppTransposer()
513 ((fMultDiv2(ac.r01i, ac.r12i) + fMultDiv2(ac.r02r, ac.r11r)) >> in lppTransposer()
516 tmp = (fMultDiv2(ac.r01r, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) - in lppTransposer()
517 (fMultDiv2(ac.r02r, ac.r11r) >> (LPC_SCALE_FACTOR - 1)); in lppTransposer()
527 scale = scale + ac.det_scale; in lppTransposer()
533 if ((tmp < FL2FX_DBL(0.0f)) ^ (ac.det < FL2FX_DBL(0.0f))) { in lppTransposer()
540 tmp = (fMultDiv2(ac.r01i, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) + in lppTransposer()
541 ((fMultDiv2(ac.r01r, ac.r12i) - in lppTransposer()
542 (FIXP_DBL)fMultDiv2(ac.r02i, ac.r11r)) >> in lppTransposer()
553 scale = scale + ac.det_scale; in lppTransposer()
561 if ((tmp < FL2FX_DBL(0.0f)) ^ (ac.det < FL2FX_DBL(0.0f))) { in lppTransposer()
572 if (ac.r11r != FL2FXCONST_DBL(0.0f)) { in lppTransposer()
577 tmp = (ac.r01r >> (LPC_SCALE_FACTOR + 1)) + in lppTransposer()
578 (fMultDiv2(alphar[1], ac.r12r) + fMultDiv2(alphai[1], ac.r12i)); in lppTransposer()
580 if (ac.r01r >= FL2FXCONST_DBL(0.0f)) in lppTransposer()
581 tmp = (ac.r01r >> (LPC_SCALE_FACTOR + 1)) + in lppTransposer()
582 fMultDiv2(alphar[1], ac.r12r); in lppTransposer()
584 tmp = -((-ac.r01r) >> (LPC_SCALE_FACTOR + 1)) + in lppTransposer()
585 fMultDiv2(alphar[1], ac.r12r); in lppTransposer()
594 if (absTmp >= (ac.r11r >> 1)) { in lppTransposer()
598 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
601 if ((tmp > FL2FX_DBL(0.0f)) ^ (ac.r11r < FL2FX_DBL(0.0f))) in lppTransposer()
606 tmp = (ac.r01i >> (LPC_SCALE_FACTOR + 1)) + in lppTransposer()
607 (fMultDiv2(alphai[1], ac.r12r) - fMultDiv2(alphar[1], ac.r12i)); in lppTransposer()
614 if (absTmp >= (ac.r11r >> 1)) { in lppTransposer()
618 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposer()
620 if ((tmp > FL2FX_DBL(0.0f)) ^ (ac.r11r < FL2FX_DBL(0.0f))) in lppTransposer()
647 if (ac.r11r == FL2FXCONST_DBL(0.0f)) { in lppTransposer()
650 if (fixp_abs(ac.r01r) >= fixp_abs(ac.r11r)) { in lppTransposer()
651 if (fMultDiv2(ac.r01r, ac.r11r) < FL2FX_DBL(0.0f)) { in lppTransposer()
661 fDivNorm(fixp_abs(ac.r01r), fixp_abs(ac.r11r), &scale); in lppTransposer()
664 if (!((ac.r01r < FL2FX_DBL(0.0f)) ^ (ac.r11r < FL2FX_DBL(0.0f)))) { in lppTransposer()
898 ACORR_COEFS ac; in lppTransposerHBE() local
1032 acDetScale += autoCorr2nd_cplx(&ac, lowBandReal + LPC_ORDER, in lppTransposerHBE()
1038 acDetScale += ac.det_scale; /* ac scaling of determinant */ in lppTransposerHBE()
1048 if (ac.det != FL2FXCONST_DBL(0.0f)) { in lppTransposerHBE()
1051 absDet = fixp_abs(ac.det); in lppTransposerHBE()
1053 tmp = (fMultDiv2(ac.r01r, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) - in lppTransposerHBE()
1054 ((fMultDiv2(ac.r01i, ac.r12i) + fMultDiv2(ac.r02r, ac.r11r)) >> in lppTransposerHBE()
1064 scale = scale + ac.det_scale; in lppTransposerHBE()
1070 if ((tmp < FL2FX_DBL(0.0f)) ^ (ac.det < FL2FX_DBL(0.0f))) { in lppTransposerHBE()
1076 tmp = (fMultDiv2(ac.r01i, ac.r12r) >> (LPC_SCALE_FACTOR - 1)) + in lppTransposerHBE()
1077 ((fMultDiv2(ac.r01r, ac.r12i) - in lppTransposerHBE()
1078 (FIXP_DBL)fMultDiv2(ac.r02i, ac.r11r)) >> in lppTransposerHBE()
1089 scale = scale + ac.det_scale; in lppTransposerHBE()
1096 if ((tmp < FL2FX_DBL(0.0f)) ^ (ac.det < FL2FX_DBL(0.0f))) { in lppTransposerHBE()
1106 if (ac.r11r != FL2FXCONST_DBL(0.0f)) { in lppTransposerHBE()
1110 tmp = (ac.r01r >> (LPC_SCALE_FACTOR + 1)) + in lppTransposerHBE()
1111 (fMultDiv2(alphar[1], ac.r12r) + fMultDiv2(alphai[1], ac.r12i)); in lppTransposerHBE()
1119 if (absTmp >= (ac.r11r >> 1)) { in lppTransposerHBE()
1123 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposerHBE()
1126 if ((tmp > FL2FX_DBL(0.0f)) ^ (ac.r11r < FL2FX_DBL(0.0f))) in lppTransposerHBE()
1130 tmp = (ac.r01i >> (LPC_SCALE_FACTOR + 1)) + in lppTransposerHBE()
1131 (fMultDiv2(alphai[1], ac.r12r) - fMultDiv2(alphar[1], ac.r12i)); in lppTransposerHBE()
1138 if (absTmp >= (ac.r11r >> 1)) { in lppTransposerHBE()
1142 FIXP_DBL result = fDivNorm(absTmp, fixp_abs(ac.r11r), &scale); in lppTransposerHBE()
1144 if ((tmp > FL2FX_DBL(0.0f)) ^ (ac.r11r < FL2FX_DBL(0.0f))) { in lppTransposerHBE()