Home
last modified time | relevance | path

Searched refs:NRG_EXP_OFFSET (Results 1 – 6 of 6) sorted by relevance

/external/aac/libSBRdec/src/
Denv_dec.cpp307 tempR_e -= (18 + NRG_EXP_OFFSET); /* -18 = ld(UNMAPPING_SCALE / in sbr_envelope_unmapping()
312 tempL_e -= NRG_EXP_OFFSET; in sbr_envelope_unmapping()
331 (FIXP_SGL)((SHORT)(FIXP_SGL)(newR_e + NRG_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
334 (FIXP_SGL)((SHORT)(FIXP_SGL)(newL_e + NRG_EXP_OFFSET) & MASK_E); in sbr_envelope_unmapping()
755 exponent += 7 + NRG_EXP_OFFSET; in requantizeEnvelopeData()
Denv_extr.h152 #define NRG_EXP_OFFSET \ macro
Denv_calc.cpp1015 -FRACT_BITS + NRG_EXP_OFFSET; /* start value for maximum search */ in calculateSbrEnvelope()
1021 maxSfbNrg_e -= NRG_EXP_OFFSET; in calculateSbrEnvelope()
1232 SCHAR refNrg_e = (SCHAR)((LONG)(*pIenv) & MASK_E) - NRG_EXP_OFFSET; in calculateSbrEnvelope()
/external/libxaac/decoder/
Dixheaacd_env_dec.c329 WORD32 exp_add = (7 + NRG_EXP_OFFSET); in ixheaacd_dequant_env_data()
490 temp_right_exp = sub16_m(temp_right_exp, add16_m(18, NRG_EXP_OFFSET)); in ixheaacd_sbr_env_dequant_coup_fix()
494 temp_left_exp = sub16_m(temp_left_exp, NRG_EXP_OFFSET); in ixheaacd_sbr_env_dequant_coup_fix()
509 ((new_right_exp + NRG_EXP_OFFSET) & MASK_FOR_EXP)); in ixheaacd_sbr_env_dequant_coup_fix()
511 ((new_left_exp + NRG_EXP_OFFSET) & MASK_FOR_EXP)); in ixheaacd_sbr_env_dequant_coup_fix()
Dixheaacd_env_extr.h32 #define NRG_EXP_OFFSET 16 macro
Dixheaacd_env_calc.c628 (WORD16)((env_sf_val & (WORD16)MASK_FOR_EXP) - NRG_EXP_OFFSET); in ixheaacd_calc_subband_gains()
770 max_sfb_nrg_exp = NRG_EXP_OFFSET - SHORT_BITS; in ixheaacd_calc_sbrenvelope()
782 max_sfb_nrg_exp = (max_sfb_nrg_exp - NRG_EXP_OFFSET); in ixheaacd_calc_sbrenvelope()