]> granicus.if.org Git - libvpx/commitdiff
Make feature based motion estimation the default
authorSarah Parker <sarahparker@google.com>
Wed, 20 Apr 2016 23:15:31 +0000 (16:15 -0700)
committerSarah Parker <sarahparker@google.com>
Thu, 21 Apr 2016 18:50:05 +0000 (11:50 -0700)
Optical flow parameters still need to be tweaked and is much slower
so feature based should be the default for now.

Change-Id: Id6cafb5a245e329f728e9c66c89c0ed1018c347c

vp9/encoder/vp9_encodeframe.c

index 814eced6f8f73794b43f47e3c1672007d723ad5f..748c51ef5f583de47edd4702c8308538ada1b445 100644 (file)
@@ -4228,7 +4228,7 @@ static int input_fpmb_stats(FIRSTPASS_MB_STATS *firstpass_mb_stats,
 #define GLOBAL_MOTION_ADVANTAGE_THRESH_RZ 0.60
 #define GLOBAL_MOTION_ADVANTAGE_THRESH_TR 0.75
 // #define USE_BLOCK_BASED_GLOBAL_MOTION_COMPUTATION
-// #define USE_FEATURE_BASED_GLOBAL_MOTION_COMPUTATION
+#define USE_FEATURE_BASED_GLOBAL_MOTION_COMPUTATION
 
 static void convert_translation_to_params(
     double *H, Global_Motion_Params *model) {