Searched refs:last_ms (Results 1 – 2 of 2) sorted by relevance
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | aimd_rate_control.cc | 230 int64_t now_ms, int64_t last_ms, uint32_t current_bitrate_bps) const { in MultiplicativeRateIncrease() argument 232 if (last_ms > -1) { in MultiplicativeRateIncrease() 233 int time_since_last_update_ms = std::min(static_cast<int>(now_ms - last_ms), in MultiplicativeRateIncrease() 243 int64_t now_ms, int64_t last_ms, int64_t response_time_ms) const { in AdditiveRateIncrease() argument 246 if (last_ms > 0) { in AdditiveRateIncrease() 247 beta = std::min((now_ms - last_ms) / static_cast<double>(response_time_ms), in AdditiveRateIncrease()
|
D | aimd_rate_control.h | 57 uint32_t MultiplicativeRateIncrease(int64_t now_ms, int64_t last_ms, 59 uint32_t AdditiveRateIncrease(int64_t now_ms, int64_t last_ms,
|