From: Yaowu Xu Date: Mon, 20 Oct 2014 21:41:20 +0000 (-0700) Subject: Change speed features for good quality(cpu-used=5) X-Git-Tag: v1.4.0~578^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c30f7e6cc56f73bbfce0b3b0df7322cff2f0b246;p=libvpx Change speed features for good quality(cpu-used=5) 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 --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 9e3ee2c94..8b577bf02 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -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; } }