shithub: libvpx

Download patch

ref: 1ca82d2ead80a5095aa3966a460b60403c99f990
parent: 1842f17e78291142930e0cde00e1956e69163654
parent: 59bbb331345ff1e98e3d7a35e51add1d3458abd9
author: Paul Wilkins <paulwilkins@google.com>
date: Mon Jul 23 09:50:57 EDT 2018

Merge "Fixed "MAX" boost for static kf sections."

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -3433,7 +3433,7 @@
   // Special case for static / slide show content but dont apply
   // if the kf group is very short.
   if ((zero_motion_accumulator > 0.99) && (rc->frames_to_key > 8)) {
-    rc->kf_boost = VPXMAX((rc->frames_to_key * 100), MAX_KF_TOT_BOOST);
+    rc->kf_boost = MAX_KF_TOT_BOOST;
   } else {
     // Apply various clamps for min and max boost
     rc->kf_boost = VPXMAX((int)boost_score, (rc->frames_to_key * 3));