Home
last modified time | relevance | path

Searched refs:UpdateFactor (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/intelligibility/
Dintelligibility_utils_unittest.cc44 EXPECT_EQ(0, intelligibility::UpdateFactor(0, 0, 0)); in TEST()
45 EXPECT_EQ(4, intelligibility::UpdateFactor(4, 2, 3)); in TEST()
46 EXPECT_EQ(3, intelligibility::UpdateFactor(4, 2, 1)); in TEST()
47 EXPECT_EQ(2, intelligibility::UpdateFactor(2, 4, 3)); in TEST()
48 EXPECT_EQ(3, intelligibility::UpdateFactor(2, 4, 1)); in TEST()
Dintelligibility_utils.h28 float UpdateFactor(float target, float current, float limit);
Dintelligibility_utils.cc29 float UpdateFactor(float target, float current, float limit) { in UpdateFactor() function
308 current_[i] = UpdateFactor(target_[i], current_[i], change_limit_); in Apply()