From f43c3199bdc8c1f81b661b21b2cce5f2a389c5e9 Mon Sep 17 00:00:00 2001 From: Deb Mukherjee Date: Sat, 5 Oct 2013 13:49:21 -0700 Subject: [PATCH] Rate control parameter adjustment Adjusts the bits per mb parameter about 10% smaller. Results at speed 0: fullderfraw: +0.255% fullstdhdraw: +0.262% stdhdraw250: +0.291% Change-Id: I2b7317ac3f61737bc77eb5470aad870cade83fa5 --- vp9/encoder/vp9_ratectrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index bbcad172d..9c18af1f7 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -61,7 +61,7 @@ int vp9_bits_per_mb(FRAME_TYPE frame_type, int qindex, double correction_factor) { const double q = vp9_convert_qindex_to_q(qindex); - int enumerator = frame_type == KEY_FRAME ? 4000000 : 2500000; + int enumerator = frame_type == KEY_FRAME ? 3300000 : 2250000; // q based adjustment to baseline enumerator enumerator += (int)(enumerator * q) >> 12;