/external/aac/libFDK/src/ |
D | fixpoint_math.cpp | 427 FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2, INT *result_e) { in fMultNorm() argument 432 *result_e = 0; in fMultNorm() 442 *result_e = -(norm_f1 + norm_f2 - 1); in fMultNorm() 445 *result_e = -(norm_f1 + norm_f2); in fMultNorm() 453 FIXP_DBL fDivNorm(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) { in fDivNorm() argument 461 *result_e = 0; in fDivNorm() 468 *result_e = -norm_num + 1; in fDivNorm() 472 *result_e -= -norm_den; in fDivNorm() 527 FIXP_DBL fDivNormSigned(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e) { in fDivNormSigned() argument 535 *result_e = 0; in fDivNormSigned() [all …]
|
/external/aac/libFDK/include/x86/ |
D | fixpoint_math_x86.h | 132 inline FIXP_DBL invSqrtNorm2(FIXP_DBL op_m, INT *result_e) { in invSqrtNorm2() argument 135 *result_e = 16; in invSqrtNorm2() 139 result = (float)ldexp(frexpf(result, result_e), DFRACT_BITS - 1); in invSqrtNorm2() 140 *result_e += 15; in invSqrtNorm2() 156 INT result_e; in invFixp() local 161 result = frexpf(result, &result_e); in invFixp() 162 result = ldexpf(result, 31 + result_e); in invFixp() 176 INT result_e; in invFixp() local 182 result = ldexpf(frexpf(result, &result_e), DFRACT_BITS - 1); in invFixp() 183 *op_e = result_e - *op_e + 31; in invFixp()
|
/external/aac/libFDK/include/ |
D | fixpoint_math.h | 456 FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2, INT *result_e); 487 INT result_e) { in fMultNorm() argument 493 m = scaleValueSaturate(m, e + f1_e + f2_e - result_e); in fMultNorm() 607 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom, INT *result_e); 625 FIXP_DBL fDivNormSigned(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e); 664 INT result_e; in fAddNorm() local 683 result_e = a_e; in fAddNorm() 686 result_e = b_e; in fAddNorm() 689 *pResult_e = result_e; in fAddNorm() 694 INT result_e) { in fAddNorm() argument [all …]
|
/external/libxaac/decoder/ |
D | ixheaacd_basic_funcs.c | 101 WORD32 result_e; in ixheaacd_fix_mant_exp_sqrt() local 113 result_e = (op_exp >> 1); in ixheaacd_fix_mant_exp_sqrt() 117 result_e = -SHORT_BITS; in ixheaacd_fix_mant_exp_sqrt() 121 *ptr_in_out = (WORD16)result_e; in ixheaacd_fix_mant_exp_sqrt()
|
/external/aac/libSBRdec/src/ |
D | transcendent.h | 354 int result_e = -FRACT_BITS; in FDK_sqrt_MantExp() local 358 result_e = input_e; in FDK_sqrt_MantExp() 363 *exponent = result_e; in FDK_sqrt_MantExp() 365 int shift = result_e - *destScale; in FDK_sqrt_MantExp()
|
/external/aac/libSACenc/src/ |
D | sacenc_dmx_tdom_enh.cpp | 166 INT *const result_e) { in invSqrtNorm2() argument 175 src_m = invSqrtNorm2(src_m, result_e); in invSqrtNorm2() 176 *result_e = (*result_e) - (src_e >> 1); in invSqrtNorm2() 182 INT *const result_e) { in sqrtFixp() argument 191 *result_e = (src_e >> 1); in sqrtFixp()
|
/external/aac/libSBRenc/src/ |
D | ps_encode.cpp | 702 int num_e, result_e; in calculateICC() local 710 result_m = fDivNorm(num_m, denom_m, &result_e); in calculateICC() 711 result_e += (-2 * num_e + 1) - denom_e; in calculateICC() 712 icc[env][i] = scaleValueSaturate(sqrtFixp(result_m >> (result_e & 1)), in calculateICC() 713 (result_e + (result_e & 1)) >> 1); in calculateICC()
|
D | tran_det.cpp | 134 INT YBufferWriteOffset, INT stop, INT *result_e) { in spectralChange() argument 145 *result_e = 0; in spectralChange() 236 *result_e = ((accu_e >> 1) + LD_DATA_SHIFT); in spectralChange() 246 *result_e = *result_e + (tmp_e - (energyTotal_e >> 1)); in spectralChange()
|
/external/aac/libAACdec/src/ |
D | usacdec_lpd.cpp | 296 int result_e = 0; in bass_pf_1sf_delay() local 297 tmp1 = fDivNorm(tmp, ener, &result_e); in bass_pf_1sf_delay() 298 if (result_e & 1) { in bass_pf_1sf_delay() 300 result_e += 1; in bass_pf_1sf_delay() 303 result_e >>= 1; in bass_pf_1sf_delay() 307 diff = result_e - gain_exp; in bass_pf_1sf_delay() 315 result_e += (-diff); in bass_pf_1sf_delay() 322 gain_exp = result_e; in bass_pf_1sf_delay()
|
/external/aac/libAACenc/src/ |
D | adj_thr.cpp | 1965 int redVal_e, avgThrExp_e, result_e; in FDKaacEnc_adaptThresholdsToPe() local 1972 result_e = fMax(redVal_e, avgThrExp_e) + 1; in FDKaacEnc_adaptThresholdsToPe() 1975 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe() 1976 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe() 1977 reductionValue_e = result_e; in FDKaacEnc_adaptThresholdsToPe() 2054 result_e = fMax(reductionValue_e, fMax(redVal_e, avgThrExp_e) + 1) + 1; in FDKaacEnc_adaptThresholdsToPe() 2058 scaleValue(reductionValue_m, reductionValue_e - result_e) + in FDKaacEnc_adaptThresholdsToPe() 2059 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe() 2060 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe() 2061 reductionValue_e = result_e; in FDKaacEnc_adaptThresholdsToPe()
|