shithub: libvpx

Download patch

ref: 9780d58e9413407017788f7aaf5523f51d1b7ab0
parent: ffc92da4c229a007c2553e95e7bb0b07e863e95e
author: Yaowu Xu <yaowu@google.com>
date: Wed Mar 27 10:58:37 EDT 2013

make one_shot_q an experiment

so it is configurable to faciliate testings

Change-Id: I247b62736c3a08ec2934793959d1ae605a05efa3

--- a/configure
+++ b/configure
@@ -251,6 +251,7 @@
     loop_dering
     implicit_compoundinter_weight
     scatterscan
+    oneshotq
 "
 CONFIG_LIST="
     external_build
--- a/vp9/encoder/vp9_onyx_int.h
+++ b/vp9/encoder/vp9_onyx_int.h
@@ -30,10 +30,11 @@
 #include "vp9/encoder/vp9_lookahead.h"
 
 // Experimental rate control switches
-// #define ONE_SHOT_Q_ESTIMATE 1
-// #define STRICT_ONE_SHOT_Q 1
-// #define DISABLE_RC_LONG_TERM_MEM 1
-
+#if CONFIG_ONESHOTQ
+#define ONE_SHOT_Q_ESTIMATE 1
+#define STRICT_ONE_SHOT_Q 1
+#define DISABLE_RC_LONG_TERM_MEM 1
+#endif
 // #define SPEEDSTATS 1
 #define MIN_GF_INTERVAL             4
 #define DEFAULT_GF_INTERVAL         7
--