]> granicus.if.org Git - libvpx/commitdiff
make one_shot_q an experiment
authorYaowu Xu <yaowu@google.com>
Wed, 27 Mar 2013 21:58:37 +0000 (14:58 -0700)
committerYaowu Xu <yaowu@google.com>
Thu, 4 Apr 2013 21:14:51 +0000 (14:14 -0700)
so it is configurable to faciliate testings

Change-Id: I247b62736c3a08ec2934793959d1ae605a05efa3

configure
vp9/encoder/vp9_onyx_int.h

index 5f2c39183c27f6979c33b44fd36fcd724aea0435..83c4c3796d667ca222720e98e101cb9c011c0b8a 100755 (executable)
--- a/configure
+++ b/configure
@@ -251,6 +251,7 @@ EXPERIMENT_LIST="
     loop_dering
     implicit_compoundinter_weight
     scatterscan
+    oneshotq
 "
 CONFIG_LIST="
     external_build
index 9f9cb0e1cbee8bd51108c9de0023214507695f99..e0675b6cc23f9f6513aad4c28246b29ec6acf9b3 100644 (file)
 #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