Searched refs:b_e (Results 1 – 3 of 3) sorted by relevance
/external/aac/libSBRdec/src/ |
D | transcendent.h | 123 SCHAR b_e, /*!< Exponent of 2nd operand b */ in FDK_add_MantExp() argument 138 shift = (int)(a_e - b_e); in FDK_add_MantExp() 144 *ptrSum_e = (shift>0)? a_e : b_e; in FDK_add_MantExp() 161 SCHAR b_e, /*!< Exponent of 2nd operand b */ in FDK_add_MantExp() argument 176 shift = (int)(a_e - b_e); in FDK_add_MantExp() 182 *ptrSum_e = (shift>0)? a_e : b_e; in FDK_add_MantExp() 210 SCHAR b_e, /*!< Exponent of divisor b */ in FDK_divide_MantExp() argument 260 *ptrResult_e = a_e - b_e + 1 + preShift - postShift; in FDK_divide_MantExp() 266 SCHAR b_e, /*!< Exponent of divisor b */ in FDK_divide_MantExp() argument 316 *ptrResult_e = a_e - b_e + 1 + preShift - postShift; in FDK_divide_MantExp()
|
D | env_calc.cpp | 1628 SCHAR a_e, b_e, c_e; in calcSubbandGain() local 1635 b_e = (int)(nrgEst_e - 1); in calcSubbandGain() 1636 if (b_e>=0) { in calcSubbandGain() 1637 nrgEst = (FL2FXCONST_DBL(0.5f) >> (INT)fixMin(b_e+1,DFRACT_BITS-1)) + (nrgEst >> 1); in calcSubbandGain() 1641 nrgEst = (nrgEst >> (INT)(fixMin(-b_e+1,DFRACT_BITS-1))) + (FL2FXCONST_DBL(0.5f) >> 1); in calcSubbandGain() 1650 b_e = (int)(tmpNoise_e - 1); in calcSubbandGain() 1651 if (b_e>=0) { in calcSubbandGain() 1652 b = (FL2FXCONST_DBL(0.5f) >> (INT)fixMin(b_e+1,DFRACT_BITS-1)) + (tmpNoise >> 1); in calcSubbandGain() 1653 b_e = tmpNoise_e + 1; /* shift by 1 bit to avoid overflow */ in calcSubbandGain() 1655 b = (tmpNoise >> (INT)(fixMin(-b_e+1,DFRACT_BITS-1))) + (FL2FXCONST_DBL(0.5f) >> 1); in calcSubbandGain() [all …]
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 106 FDK_INLINE INT fIsLessThan(FIXP_DBL a_m, INT a_e, FIXP_DBL b_m, INT b_e) in fIsLessThan() argument 108 if (a_e > b_e) { in fIsLessThan() 109 return (b_m >> fMin(a_e-b_e, DFRACT_BITS-1) > a_m); in fIsLessThan() 111 return (a_m >> fMin(b_e-a_e, DFRACT_BITS-1) < b_m); in fIsLessThan() 115 FDK_INLINE INT fIsLessThan(FIXP_SGL a_m, INT a_e, FIXP_SGL b_m, INT b_e) in fIsLessThan() argument 117 if (a_e > b_e) { in fIsLessThan() 118 return (b_m >> fMin(a_e-b_e, FRACT_BITS-1) > a_m); in fIsLessThan() 120 return (a_m >> fMin(b_e-a_e, FRACT_BITS-1) < b_m); in fIsLessThan()
|