Searched refs:loudness (Results 1 – 6 of 6) sorted by relevance
28 double loudness; member85 abs_err = std::min(fabs(current_loudness), fabs(io.loudness)) * in RunTest()87 ASSERT_NEAR(current_loudness, io.loudness, abs_err); in RunTest()
19 double Loudness2Db(double loudness) { in Loudness2Db() argument20 return loudness * kLinear2DbScale / kLinear2LoudnessScale; in Loudness2Db()
80 double loudness = Linear2Loudness(histogram_->CurrentRms()); in GetRmsErrorDb() local81 *error = std::floor(Loudness2Db(target_level_loudness_ - loudness) + 0.5); in GetRmsErrorDb()
15 double Loudness2Db(double loudness);
237 float loudness; /**< Loudness estimate */ member516 st->loudness = 1e-15; in speex_preprocess_state_init()574 float loudness=1.f; in speex_compute_agc() local579 loudness += 2.f*N*st->ps[i]* st->loudness_weight[i]; in speex_compute_agc()581 loudness=sqrt(loudness); in speex_compute_agc()588 st->loudness = (1-rate)*st->loudness + (rate)*pow(AMP_SCALE*loudness, LOUDNESS_EXP); in speex_compute_agc()595 …target_gain = AMP_SCALE*st->agc_level*pow(st->loudness/(1e-4+st->loudness_accum), -1.0f/LOUDNESS_E… in speex_compute_agc()601 if (target_gain < st->max_decrease_step*st->agc_gain && loudness < 10*st->prev_loudness) in speex_compute_agc()614 st->prev_loudness = loudness; in speex_compute_agc()1177 (*(spx_int32_t*)ptr) = pow(st->loudness, 1.0/LOUDNESS_EXP); in speex_preprocess_ctl()