Make the use of tpl model controlled by the encoder params
authorJingning Han <jingning@google.com>
Thu, 13 Dec 2018 17:21:28 +0000 (09:21 -0800)
committerJingning Han <jingning@google.com>
Thu, 13 Dec 2018 17:21:28 +0000 (09:21 -0800)
The control has been exposed to the vpxenc input parameter. Remove
the internal hard coded control that disables it at speed 1 and
above settings.

Change-Id: Ib17772cb895f24da5a7d0487e748cc1a9c6740b3

vp9/encoder/vp9_speed_features.c

index 9b6c69a..b098328 100644 (file)
@@ -237,7 +237,6 @@ static void set_good_speed_feature_framesize_independent(VP9_COMP *cpi,
   }
 
   if (speed >= 1) {
-    sf->enable_tpl_model = 0;
     sf->ml_var_partition_pruning = !boosted;
     sf->ml_prune_rect_partition_threhold[1] = 200;
     sf->ml_prune_rect_partition_threhold[2] = 200;