Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc43 double OptimizePacketLossRate(double new_loss_rate, double old_loss_rate) { in OptimizePacketLossRate() argument
46 RTC_DCHECK_GE(old_loss_rate, 0.0); in OptimizePacketLossRate()
47 RTC_DCHECK_LE(old_loss_rate, 1.0); in OptimizePacketLossRate()
58 (kPacketLossRate20 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()
63 (kPacketLossRate10 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()
68 (kPacketLossRate5 - old_loss_rate > 0 ? 1 : -1)) { in OptimizePacketLossRate()