Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_acelp_decode.c351 FLOAT32 gain_smooth, gain_code0, cpe; in ixheaacd_acelp_alias_cnx() local
545 gain_code0 = gain_code; in ixheaacd_acelp_alias_cnx()
546 if (gain_code0 < st->gain_threshold) { in ixheaacd_acelp_alias_cnx()
547 gain_code0 = (FLOAT32)(gain_code0 * 1.19); in ixheaacd_acelp_alias_cnx()
548 if (gain_code0 > st->gain_threshold) gain_code0 = st->gain_threshold; in ixheaacd_acelp_alias_cnx()
550 gain_code0 = (FLOAT32)(gain_code0 / 1.19); in ixheaacd_acelp_alias_cnx()
551 if (gain_code0 < st->gain_threshold) gain_code0 = st->gain_threshold; in ixheaacd_acelp_alias_cnx()
553 st->gain_threshold = gain_code0; in ixheaacd_acelp_alias_cnx()
554 gain_smooth = (FLOAT32)((gain_smooth_factor * gain_code0) + in ixheaacd_acelp_alias_cnx()