Searched refs:kMaxQuality (Results 1 – 2 of 2) sorted by relevance
151 mPenalty = std::min(mPenalty * 2, kMaxQuality); in updatePenalty()163 int quality = std::clamp(avgRtt + mPenalty - mSkippedCount, -1, kMaxQuality); in score()166 return static_cast<double>(kMaxQuality - quality) * 100 / kMaxQuality; in score()170 mSkippedCount = std::min(mSkippedCount + 1, kMaxQuality); in incrementSkippedCount()
106 static constexpr int kMaxQuality = 10000; variable