Searched refs:UpdateFactor (Results 1 – 3 of 3) sorted by relevance
/external/webrtc/webrtc/modules/audio_processing/intelligibility/ |
D | intelligibility_utils_unittest.cc | 44 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()
|
D | intelligibility_utils.h | 28 float UpdateFactor(float target, float current, float limit);
|
D | intelligibility_utils.cc | 29 float UpdateFactor(float target, float current, float limit) { in UpdateFactor() function 308 current_[i] = UpdateFactor(target_[i], current_[i], change_limit_); in Apply()
|