Home
last modified time | relevance | path

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

/external/libxaac/decoder/
Dixheaacd_peak_limiter.c71 peak_limiter->pre_smoothed_gain = 1.0f; in ixheaacd_peak_limiter_init()
91 FLOAT64 pre_smoothed_gain = peak_limiter->pre_smoothed_gain; in ixheaacd_peak_limiter_process_float() local
94 if (peak_limiter->limiter_on || (FLOAT32)pre_smoothed_gain) { in ixheaacd_peak_limiter_process_float()
123 if (gain < pre_smoothed_gain) { in ixheaacd_peak_limiter_process_float()
125 MIN(gain_modified, (gain - 0.1f * (FLOAT32)pre_smoothed_gain) * 1.11111111f); in ixheaacd_peak_limiter_process_float()
130 if (gain_modified < pre_smoothed_gain) { in ixheaacd_peak_limiter_process_float()
131 pre_smoothed_gain = attack_constant * (pre_smoothed_gain - gain_modified) + gain_modified; in ixheaacd_peak_limiter_process_float()
132 pre_smoothed_gain = MAX(pre_smoothed_gain, gain); in ixheaacd_peak_limiter_process_float()
134 pre_smoothed_gain = in ixheaacd_peak_limiter_process_float()
135 release_constant * (pre_smoothed_gain - gain_modified) + gain_modified; in ixheaacd_peak_limiter_process_float()
[all …]
Dixheaacd_peak_limiter_struct_def.h40 FLOAT64 pre_smoothed_gain; member
/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