Remove deprecated AdjustStaticQp() function
Change-Id: Id53b4e7021bbf36e5ca542297bf75f8b8e17c5aa
diff --git a/av1/qmode_rc/ratectrl_qmode.cc b/av1/qmode_rc/ratectrl_qmode.cc
index 302c796..4bfe07e 100644
--- a/av1/qmode_rc/ratectrl_qmode.cc
+++ b/av1/qmode_rc/ratectrl_qmode.cc
@@ -1907,13 +1907,6 @@
return score;
}
-int AdjustStaticQp(double avg_correlation, double score, int q_index) {
- if (avg_correlation < 0.99) return q_index;
- const double factor = q_index * score / 400 + 1.0;
-
- return static_cast<int>(q_index / factor);
-}
-
StatusOr<GopEncodeInfo> AV1RateControlQMode::GetGopEncodeInfoWithFp(
const GopStruct &gop_struct, const FirstpassInfo &firstpass_info,
const std::vector<LookaheadStats> &lookahead_stats,