Home
last modified time | relevance | path

Searched refs:result_e (Results 1 – 10 of 10) sorted by relevance

/external/aac/libFDK/src/
Dfixpoint_math.cpp427 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/
Dfixpoint_math_x86.h132 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/
Dfixpoint_math.h430 FIXP_DBL fMultNorm(FIXP_DBL f1, FIXP_DBL f2, INT *result_e);
461 INT result_e) { in fMultNorm() argument
467 m = scaleValueSaturate(m, e + f1_e + f2_e - result_e); in fMultNorm()
576 FIXP_DBL fDivNorm(FIXP_DBL num, FIXP_DBL denom, INT *result_e);
594 FIXP_DBL fDivNormSigned(FIXP_DBL L_num, FIXP_DBL L_denum, INT *result_e);
633 INT result_e; in fAddNorm() local
652 result_e = a_e; in fAddNorm()
655 result_e = b_e; in fAddNorm()
658 *pResult_e = result_e; in fAddNorm()
663 INT result_e) { in fAddNorm() argument
[all …]
/external/libxaac/decoder/
Dixheaacd_basic_funcs.c102 WORD32 result_e; in ixheaacd_fix_mant_exp_sqrt() local
114 result_e = (op_exp >> 1); in ixheaacd_fix_mant_exp_sqrt()
118 result_e = -SHORT_BITS; in ixheaacd_fix_mant_exp_sqrt()
122 *ptr_in_out = (WORD16)result_e; in ixheaacd_fix_mant_exp_sqrt()
/external/aac/libSBRdec/src/
Dtranscendent.h354 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/
Dsacenc_dmx_tdom_enh.cpp166 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/
Dps_encode.cpp702 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()
Dtran_det.cpp134 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/
Dusacdec_lpd.cpp290 int result_e = 0; in bass_pf_1sf_delay() local
291 tmp1 = fDivNorm(tmp, ener, &result_e); in bass_pf_1sf_delay()
292 if (result_e & 1) { in bass_pf_1sf_delay()
294 result_e += 1; in bass_pf_1sf_delay()
297 result_e >>= 1; in bass_pf_1sf_delay()
301 diff = result_e - gain_exp; in bass_pf_1sf_delay()
309 result_e += (-diff); in bass_pf_1sf_delay()
316 gain_exp = result_e; in bass_pf_1sf_delay()
/external/aac/libAACenc/src/
Dadj_thr.cpp1973 int redVal_e, avgThrExp_e, result_e; in FDKaacEnc_adaptThresholdsToPe() local
1980 result_e = fMax(redVal_e, avgThrExp_e) + 1; in FDKaacEnc_adaptThresholdsToPe()
1983 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe()
1984 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe()
1985 reductionValue_e = result_e; in FDKaacEnc_adaptThresholdsToPe()
2062 result_e = fMax(reductionValue_e, fMax(redVal_e, avgThrExp_e) + 1) + 1; in FDKaacEnc_adaptThresholdsToPe()
2066 scaleValue(reductionValue_m, reductionValue_e - result_e) + in FDKaacEnc_adaptThresholdsToPe()
2067 scaleValue(redVal_m, redVal_e - result_e) - in FDKaacEnc_adaptThresholdsToPe()
2068 scaleValue(avgThrExp_m, avgThrExp_e - result_e)); in FDKaacEnc_adaptThresholdsToPe()
2069 reductionValue_e = result_e; in FDKaacEnc_adaptThresholdsToPe()