]> granicus.if.org Git - libvpx/commitdiff
Disable zero bin mode boost.
authorPaul Wilkins <paulwilkins@google.com>
Fri, 22 Mar 2013 15:47:17 +0000 (15:47 +0000)
committerPaul Wilkins <paulwilkins@google.com>
Fri, 22 Mar 2013 17:43:43 +0000 (17:43 +0000)
As things stand the zero bin mode boost is hurting somewhat.
In part this seems to be because the boost applied as is
interferes with the rd mode selection loop.

Average gains (derf 0.072, yt 0.243, ythd 0.179 std-hd 0.212%)

Change-Id: Icaecea3908d9a7352370e49b8fa822f2c2c49dc1

vp9/encoder/vp9_onyx_if.c
vp9/encoder/vp9_onyx_int.h

index 7a169e4f378da886773188e70c02c16dea8e3404..72cfd9d1b1cfc3e15299ecbb94d39da232e59ff7 100644 (file)
@@ -2698,10 +2698,10 @@ static void encode_frame_to_data_rate(VP9_COMP *cpi,
   // is above a threshold
   cpi->zbin_mode_boost = 0;
 
-  if (cpi->oxcf.lossless)
+  // if (cpi->oxcf.lossless)
     cpi->zbin_mode_boost_enabled = FALSE;
-  else
-    cpi->zbin_mode_boost_enabled = TRUE;
+  // else
+  //   cpi->zbin_mode_boost_enabled = TRUE;
 
   // Current default encoder behaviour for the altref sign bias
   if (cpi->source_alt_ref_active)
index 4a1c3c0ec65fe6a10029104eda759327f79f5352..891cc3f5223fb748e340c7b91f0a7494c72618fd 100644 (file)
@@ -51,9 +51,9 @@
 #define MIN_THRESHMULT  32
 #define MAX_THRESHMULT  512
 
-#define GF_ZEROMV_ZBIN_BOOST 12
-#define LF_ZEROMV_ZBIN_BOOST 6
-#define MV_ZBIN_BOOST        4
+#define GF_ZEROMV_ZBIN_BOOST 0
+#define LF_ZEROMV_ZBIN_BOOST 0
+#define MV_ZBIN_BOOST        0
 #define SPLIT_MV_ZBIN_BOOST  0
 #define INTRA_ZBIN_BOOST     0