Searched refs:gain_ratio (Results 1 – 2 of 2) sorted by relevance
/external/libxaac/decoder/drc_src/ |
D | impd_drc_gain_dec.c | 45 FLOAT32 gain_ratio = 1.0; in impd_gain_db_to_lin() local 52 gain_ratio = 1.0f; in impd_gain_db_to_lin() 56 gain_ratio *= interp_params_str->compress; in impd_gain_db_to_lin() 58 gain_ratio *= interp_params_str->boost; in impd_gain_db_to_lin() 63 gain_ratio *= pstr_gain_modifiers->attn_scaling[drc_band]; in impd_gain_db_to_lin() 65 gain_ratio *= pstr_gain_modifiers->ampl_scaling[drc_band]; in impd_gain_db_to_lin() 70 gain_ratio *= interp_params_str->pstr_ducking_modifiers->ducking_scaling; in impd_gain_db_to_lin() 75 (FLOAT32)pow(2.0, (FLOAT64)(gain_ratio * loc_db_gain / 6.0f)); in impd_gain_db_to_lin() 76 *out_param_lin_slope = SLOPE_FACTOR_DB_TO_LINEAR * gain_ratio * in impd_gain_db_to_lin() 302 FLOAT32 gain_ratio = 1.0; in impd_conv_to_linear_domain() local [all …]
|
/external/speex/libspeexdsp/ |
D | preprocess.c | 323 spx_word16_t noise_gain, gain_ratio; in compute_gain_floor() local 325 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),effective_echo… in compute_gain_floor() 330 …_sqrt(SHL32(EXTEND32(DIV32_16_Q15(PSHR32(noise[i],NOISE_SHIFT) + MULT16_32_Q15(gain_ratio,echo[i]), in compute_gain_floor() 333 spx_word16_t echo_gain, gain_ratio; in compute_gain_floor() local 335 …gain_ratio = EXTRACT16(MIN32(Q15_ONE,SHR32(spx_exp(MULT16_16(QCONST16(.2302585f,11),noise_suppress… in compute_gain_floor() 340 …spx_sqrt(SHL32(EXTEND32(DIV32_16_Q15(MULT16_32_Q15(gain_ratio,PSHR32(noise[i],NOISE_SHIFT)) + echo… in compute_gain_floor()
|