Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_processing/agc/
Dhistogram_unittest.cc28 double loudness; member
85 abs_err = std::min(fabs(current_loudness), fabs(io.loudness)) * in RunTest()
87 ASSERT_NEAR(current_loudness, io.loudness, abs_err); in RunTest()
Dutility.cc19 double Loudness2Db(double loudness) { in Loudness2Db() argument
20 return loudness * kLinear2DbScale / kLinear2LoudnessScale; in Loudness2Db()
Dagc.cc80 double loudness = Linear2Loudness(histogram_->CurrentRms()); in GetRmsErrorDb() local
81 *error = std::floor(Loudness2Db(target_level_loudness_ - loudness) + 0.5); in GetRmsErrorDb()
Dutility.h15 double Loudness2Db(double loudness);
/external/speex/libspeex/
Dpreprocess.c237 float loudness; /**< Loudness estimate */ member
516 st->loudness = 1e-15; in speex_preprocess_state_init()
574 float loudness=1.f; in speex_compute_agc() local
579 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()
/external/jline/src/src/test/resources/jline/example/
Denglish.gz