Lines Matching refs:sc1
698 INT sc1, sc2; in calculateICC() local
701 sc1 = CountLeadingBits( fixMax(fixp_abs(pwrCr[env][i]),fixp_abs(pwrCi[env][i])) ) ; in calculateICC()
702 cNrgR = fPow2Div2((pwrCr[env][i]<<sc1)); /* squared nrg's expect explicit scaling */ in calculateICC()
703 cNrgI = fPow2Div2((pwrCi[env][i]<<sc1)); in calculateICC()
705 …ICC = CalcInvLdData( (CalcLdData((cNrgR + cNrgI)>>1)>>1) - (FIXP_DBL)((sc1-1)<<(DFRACT_BITS-1-LD_D… in calculateICC()
708 sc1 = CountLeadingBits(invNrg); in calculateICC()
709 invNrg <<= sc1; in calculateICC()
714 sc1 = ( (DFRACT_BITS-1) - sc1 - sc2 ); in calculateICC()
715 if (sc1 < 0) { in calculateICC()
716 ICC >>= -sc1; in calculateICC()
719 if (ICC >= ((FIXP_DBL)MAXVAL_DBL>>sc1) ) in calculateICC()
722 ICC <<= sc1; in calculateICC()