From: Yaowu Xu Date: Sat, 1 Nov 2014 00:27:54 +0000 (-0700) Subject: Fix speed 7 and speed 12 for rt X-Git-Tag: v1.4.0~544^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0271ff7775c78c51a2ea68c9eb129bbad9651dca;p=libvpx Fix speed 7 and speed 12 for rt A recent change has introduced big quality drops for speed 7 and 12 for --rt mode. The change reverted the big drop and improved quality by 9.5% for speed 7 and 13.4% for speed 12. Change-Id: I07b82e3bb6002a73af486a083458c88877bdad01 --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 3315aa6a1..7a1b0cc1f 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -295,16 +295,16 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf, } if (speed >= 7) { + sf->adaptive_rd_thresh = 3; sf->mv.search_method = FAST_DIAMOND; sf->mv.fullpel_search_step_param = 10; sf->lpf_pick = LPF_PICK_MINIMAL_LPF; sf->encode_breakout_thresh = (MIN(cm->width, cm->height) >= 720) ? 800 : 300; - sf->elevate_newmv_thresh = 2500; } if (speed >= 12) { - sf->elevate_newmv_thresh = 4000; + sf->adaptive_rd_thresh = 4; sf->mv.subpel_force_stop = 2; } @@ -386,7 +386,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) { sf->search_type_check_frequency = 50; sf->encode_breakout_thresh = 0; sf->elevate_newmv_thresh = 0; - // Recode loop tolerence %. + // Recode loop tolerance %. sf->recode_tolerance = 25; sf->default_interp_filter = SWITCHABLE; sf->tx_size_search_breakout = 0;