Home
last modified time | relevance | path

Searched refs:bandfactor (Results 1 – 2 of 2) sorted by relevance

/external/aac/libSBRdec/src/
Dsbrdec_freq_sca.cpp488 FIXP_DBL bandfactor = FL2FXCONST_DBL(0.25f); /* Start value */ in calcFactorPerBand() local
509 temp = fMultDiv2(temp, bandfactor) << 2; in calcFactorPerBand()
517 bandfactor = bandfactor + step; in calcFactorPerBand()
521 bandfactor = bandfactor - step; in calcFactorPerBand()
528 return (bandfactor >= FL2FXCONST_DBL(0.5)) ? (FIXP_SGL)MAXVAL_SGL in calcFactorPerBand()
529 : FX_DBL2FX_SGL(bandfactor << 1); in calcFactorPerBand()
587 FIXP_SGL bandfactor = calcFactorPerBand(start, stop, num_bands); in CalcBands() local
595 exact = FX_DBL2FX_SGL(fMult(exact, bandfactor)); in CalcBands()
/external/libxaac/decoder/
Dixheaacd_freq_sca.c506 WORD32 bandfactor; in ixheaacd_calc_freq_ratio() local
514 bandfactor = 0x3f000000L; in ixheaacd_calc_freq_ratio()
528 ixheaacd_extract16h(bandfactor)); in ixheaacd_calc_freq_ratio()
533 bandfactor = ixheaacd_add32_sat(bandfactor, step); in ixheaacd_calc_freq_ratio()
537 bandfactor = ixheaacd_sub32_sat(bandfactor, step); in ixheaacd_calc_freq_ratio()
545 return ixheaacd_extract16h(bandfactor); in ixheaacd_calc_freq_ratio()
554 WORD16 bandfactor = ixheaacd_calc_freq_ratio(start, stop, num_bands); in ixheaacd_calc_bands() local
560 exact = ixheaacd_mult16x16in32(ixheaacd_extract16h(exact), bandfactor); in ixheaacd_calc_bands()