Home
last modified time | relevance | path

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

/external/libxaac/decoder/drc_src/
Dimpd_drc_peak_limiter.c59 peak_limiter->pre_smoothed_gain = 1.0f; in impd_peak_limiter_init()
68 peak_limiter->pre_smoothed_gain = 1.0f; in impd_peak_limiter_reinit()
96 FLOAT64 pre_smoothed_gain = peak_limiter->pre_smoothed_gain; in impd_limiter_process() local
98 if (peak_limiter->limiter_on || (FLOAT32)pre_smoothed_gain < 1.0f) { in impd_limiter_process()
121 if (gain < pre_smoothed_gain) { in impd_limiter_process()
124 (gain - 0.1f * (FLOAT32)pre_smoothed_gain) * 1.11111111f); in impd_limiter_process()
129 if (gain_modified < pre_smoothed_gain) { in impd_limiter_process()
130 pre_smoothed_gain = in impd_limiter_process()
131 attack_constant * (pre_smoothed_gain - gain_modified) + in impd_limiter_process()
133 pre_smoothed_gain = max(pre_smoothed_gain, gain); in impd_limiter_process()
[all …]
Dimpd_drc_parametric_dec.c1052 FLOAT64 pre_smoothed_gain = in impd_parametric_lim_type_drc_process() local
1080 if (gain < pre_smoothed_gain) { in impd_parametric_lim_type_drc_process()
1083 (gain - 0.1f * (FLOAT32)pre_smoothed_gain) * 1.11111111f); in impd_parametric_lim_type_drc_process()
1088 if (gain_modified < pre_smoothed_gain) { in impd_parametric_lim_type_drc_process()
1089 pre_smoothed_gain = in impd_parametric_lim_type_drc_process()
1090 attack_constant * (pre_smoothed_gain - gain_modified) + gain_modified; in impd_parametric_lim_type_drc_process()
1091 pre_smoothed_gain = max(pre_smoothed_gain, gain); in impd_parametric_lim_type_drc_process()
1093 pre_smoothed_gain = in impd_parametric_lim_type_drc_process()
1094 release_constant * (pre_smoothed_gain - gain_modified) + in impd_parametric_lim_type_drc_process()
1098 gain = (FLOAT32)pre_smoothed_gain; in impd_parametric_lim_type_drc_process()
[all …]
Dimpd_drc_peak_limiter_struct.h37 FLOAT64 pre_smoothed_gain; member
Dimpd_drc_peak_limiter.h37 FLOAT64 pre_smoothed_gain; member