shithub: libvpx

Download patch

ref: 069e2458a639ed696bfc277c83188df6c2da4757
parent: aa7ec14c9a24076412e107bad8a6080a8b770fe7
parent: d548de69cb86ad4e3f79dae58341d64bd48536c6
author: Dmitry Kovalev <dkovalev@google.com>
date: Thu Mar 13 09:45:45 EDT 2014

Merge "Removing unused select_cq_level() function."

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -62,22 +62,6 @@
   *b = temp;
 }
 
-static int select_cq_level(int qindex) {
-  int ret_val = QINDEX_RANGE - 1;
-  int i;
-
-  double target_q = (vp9_convert_qindex_to_q(qindex) * 0.5847) + 1.0;
-
-  for (i = 0; i < QINDEX_RANGE; ++i) {
-    if (target_q <= vp9_convert_qindex_to_q(i)) {
-      ret_val = i;
-      break;
-    }
-  }
-
-  return ret_val;
-}
-
 static int gfboost_qadjust(int qindex) {
   const double q = vp9_convert_qindex_to_q(qindex);
   return (int)((0.00000828 * q * q * q) +
--