Home
last modified time | relevance | path

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

/external/aac/libSBRdec/src/
Denv_dec.cpp304 tempR_m = (FIXP_SGL)((LONG)h_data_right->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
309 tempL_m = (FIXP_SGL)((LONG)h_data_left->iEnvelope[i] & MASK_M); in sbr_envelope_unmapping()
330 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newR_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
333 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newL_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
364 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newR_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
367 ((FIXP_SGL)((SHORT)(FIXP_SGL)(newL_m + ROUNDING) & MASK_M)) + in sbr_envelope_unmapping()
759 ((FIXP_SGL)((SHORT)(FIXP_SGL)mantissa & MASK_M)) + in requantizeEnvelopeData()
Denv_extr.h137 #define MASK_M \ macro
Denv_calc.cpp1186 FX_SGL2FX_DBL((FIXP_SGL)((LONG)(*pNoiseLevels) & MASK_M)); in calculateSbrEnvelope()
1209 FX_SGL2FX_DBL((FIXP_SGL)((LONG)(*pNoiseLevels) & MASK_M)); in calculateSbrEnvelope()
1231 FIXP_DBL refNrg = FX_SGL2FX_DBL((FIXP_SGL)((LONG)(*pIenv) & MASK_M)); in calculateSbrEnvelope()
1246 FX_SGL2FX_DBL((FIXP_SGL)((LONG)(*pNoiseLevels) & MASK_M)); in calculateSbrEnvelope()
/external/libxaac/decoder/
Dixheaacd_env_dec.c487 temp_right_mant = (WORD16)(*r_data & MASK_M); in ixheaacd_sbr_env_dequant_coup_fix()
491 temp_left_mant = (WORD16)(*l_data & MASK_M); in ixheaacd_sbr_env_dequant_coup_fix()
508 *r_data++ = (WORD16)(((new_right_mant + ROUNDING) & MASK_M) + in ixheaacd_sbr_env_dequant_coup_fix()
510 *l_data++ = (WORD16)(((new_left_mant + ROUNDING) & MASK_M) + in ixheaacd_sbr_env_dequant_coup_fix()
534 *r_data++ = (WORD16)(((new_right_mant + ROUNDING) & MASK_M) + in ixheaacd_sbr_env_dequant_coup_fix()
536 *l_data++ = (WORD16)(((new_left_mant + ROUNDING) & MASK_M) + in ixheaacd_sbr_env_dequant_coup_fix()
Dixheaacd_env_extr.h27 #define MASK_M (((1 << (SHORT_BITS - EXP_BITS)) - 1) << EXP_BITS) macro
Dixheaacd_env_calc.c616 tmp_noise_mant = (WORD16)(ptr_noise_floor[nb_idx] & MASK_M); in ixheaacd_calc_subband_gains()
629 tmp_nrg_ref_mant = (WORD16)(env_sf_val & MASK_M); in ixheaacd_calc_subband_gains()
641 tmp_noise_mant = (WORD16)(ptr_noise_floor[nb_idx] & MASK_M); in ixheaacd_calc_subband_gains()