]> granicus.if.org Git - libvpx/commitdiff
Change speed features for good quality(cpu-used=5)
authorYaowu Xu <yaowu@google.com>
Mon, 20 Oct 2014 21:41:20 +0000 (14:41 -0700)
committerYaowu Xu <yaowu@google.com>
Tue, 21 Oct 2014 18:59:12 +0000 (11:59 -0700)
The existing speed features produce horrible encoding results, almost
30% worse than cpu-used=4, this commit adjust the speed features to
produce relatively resonable results to be within 3%-5% of cpu-used=4.

Change-Id: I0ca6ebafb33024d4a0cbcf04c78a4a00b8dd1ecf

vp9/encoder/vp9_speed_features.c

index 9e3ee2c94bdadabfd3ef890a1c77bd4a07a27c8e..8b577bf02139c37a14a65ab825d5bff280cfc617 100644 (file)
@@ -142,8 +142,6 @@ static void set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm,
 
   if (speed >= 5) {
     int i;
-
-    sf->partition_search_type = FIXED_PARTITION;
     sf->optimize_coefficients = 0;
     sf->mv.search_method = HEX;
     sf->disable_filter_search_var_thresh = 500;
@@ -151,8 +149,7 @@ static void set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm,
       sf->intra_y_mode_mask[i] = INTRA_DC;
       sf->intra_uv_mode_mask[i] = INTRA_DC;
     }
-  }
-  if (speed >= 6) {
+    sf->partition_search_breakout_rate_thr = 500;
     sf->mv.reduce_first_step_size = 1;
   }
 }