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