shithub: libvpx

Download patch

ref: 8bd4377ba67f8e07c2616e598016f6d5790aaeb2
parent: fdfec4c7be6a0cf61806a099ce7df4ec16dd1a01
author: Jingning Han <jingning@google.com>
date: Tue Jul 10 11:29:28 EDT 2018

Relax multiplier adjustment limit

Relax the Lagrangian multiplier adjustment limit from 1/4 to 1/2
fluctuation. This allows the temporal dependency model takes more
effect on changing the rate allocation across blocks.

Change-Id: Ida59ad628d35f196a1299d96e21bb684c20b0143

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -3652,8 +3652,8 @@
   beta = r0 / rk;
   dr = vp9_get_adaptive_rdmult(cpi, beta);
 
-  dr = VPXMIN(dr, orig_rdmult * 5 / 4);
-  dr = VPXMAX(dr, orig_rdmult * 3 / 4);
+  dr = VPXMIN(dr, orig_rdmult * 3 / 2);
+  dr = VPXMAX(dr, orig_rdmult * 1 / 2);
 
   dr = VPXMAX(1, dr);
   return dr;