Home
last modified time | relevance | path

Searched refs:MASK_FOR_EXP (Results 1 – 3 of 3) sorted by relevance

/external/libxaac/decoder/
Dixheaacd_env_dec.c340 *ptr_env_sf++ = (WORD16)(mantissa | (exponent & MASK_FOR_EXP)); in ixheaacd_dequant_env_data()
447 *ptr_noise_floor++ = (WORD16)(0x4000 + (noise_floor_exp & MASK_FOR_EXP)); in ixheaacd_calc_noise_floor()
488 temp_right_exp = (WORD16)(*r_data & MASK_FOR_EXP); in ixheaacd_sbr_env_dequant_coup_fix()
492 temp_left_exp = (WORD16)(*l_data & MASK_FOR_EXP); 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()
521 sub16_m((WORD16)(*l_data & (WORD16)MASK_FOR_EXP), NOISE_EXP_OFFSET); in ixheaacd_sbr_env_dequant_coup_fix()
535 ((new_right_exp + NOISE_EXP_OFFSET) & MASK_FOR_EXP)); in ixheaacd_sbr_env_dequant_coup_fix()
537 ((new_left_exp + NOISE_EXP_OFFSET) & MASK_FOR_EXP)); in ixheaacd_sbr_env_dequant_coup_fix()
Dixheaacd_env_extr.h28 #define MASK_FOR_EXP ((1 << EXP_BITS) - 1) macro
30 #define SIGN_EXT (((WORD8)-1) ^ MASK_FOR_EXP)
Dixheaacd_env_calc.c618 (WORD16)(ptr_noise_floor[nb_idx] & MASK_FOR_EXP) - NOISE_EXP_OFFSET; in ixheaacd_calc_subband_gains()
628 (WORD16)((env_sf_val & (WORD16)MASK_FOR_EXP) - NRG_EXP_OFFSET); in ixheaacd_calc_subband_gains()
643 (WORD16)(ptr_noise_floor[nb_idx] & MASK_FOR_EXP) - NOISE_EXP_OFFSET; in ixheaacd_calc_subband_gains()
775 temp_val = ((*ptr_env_sf_buf++ & MASK_FOR_EXP)); in ixheaacd_calc_sbrenvelope()