Lines Matching refs:ATH
211 ATH, that is shaped for the threshold). A flexible realization might
212 simply bend the existing ATH curve to achieve the desired shape.
751 * compute loudness approximation (used for ATH auto-level adjustment)
760 psv->loudness_sq_save[chn] = psycho_loudness_approx(fftenergy, gfc->ATH->eql_w);
1436 (cfg->msfix > 0.f) ? (cfg->ATH_offset_factor * gfc->ATH->adjust_factor) : 1.f;
1470 vbrpsy_compute_MS_thresholds(const_eb, thr, gdl->mld_cb, gfc->ATH->cb_l,
1474 /* TODO: apply adaptive ATH masking here ?? */
1499 vbrpsy_compute_MS_thresholds(const_eb, thr, gds->mld_cb, gfc->ATH->cb_s,
1503 /* TODO: apply adaptive ATH masking here ?? */
1957 /* compute long block specific values, ATH and MINVAL */
1962 /* ATH */
1967 /* freq = Min(.1,freq); *//* ATH below 100 Hz constant, not further climbing */
1974 gfc->ATH->cb_l[i] = x;
2015 /* ATH */
2020 /* freq = Min(.1,freq); *//* ATH below 100 Hz constant, not further climbing */
2027 gfc->ATH->cb_s[i] = x;
2080 /* prepare for ATH auto adjustment:
2081 * we want to decrease the ATH by 12 dB per second
2084 gfc->ATH->decay = pow(10., -12. / 10. * frame_duration);
2085 gfc->ATH->adjust_factor = 0.01; /* minimum, for leading low loudness */
2086 gfc->ATH->adjust_limit = 1.0; /* on lead, allow adjust up to maximum */
2099 /* convert ATH dB to relative power (not dB) */
2102 gfc->ATH->eql_w[i] = 1. / pow(10, ATHformula(cfg, freq) / 10);
2103 eql_balance += gfc->ATH->eql_w[i];
2107 gfc->ATH->eql_w[i] *= eql_balance;