From: Yaowu Xu Date: Tue, 4 Feb 2014 01:47:29 +0000 (-0800) Subject: Adjust speed feature for --rt X-Git-Tag: v1.4.0~2499^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=084c49ac7968379e63494e94a53345ac991ee6f9;p=libvpx Adjust speed feature for --rt Moved a few features with low impact on compression form -5 to -4 and increased adaptive_rd_thresh for -5. Change-Id: Ib1b748168cc6ed7684ae4818499f3a536ae76253 --- diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index a9b0718c8..da5096fd5 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -838,10 +838,12 @@ static void set_rt_speed_feature(VP9_COMMON *cm, } if (speed >= 4) { sf->optimize_coefficients = 0; + sf->disable_split_mask = DISABLE_ALL_SPLIT; + sf->use_fast_lpf_pick = 2; } if (speed >= 5) { int i; - sf->disable_split_mask = DISABLE_ALL_SPLIT; + sf->adaptive_rd_thresh = 5; sf->auto_min_max_partition_size = frame_is_intra_only(cm) ? RELAXED_NEIGHBORING_MIN_MAX : STRICT_NEIGHBORING_MIN_MAX; sf->subpel_force_stop = 1; @@ -849,7 +851,6 @@ static void set_rt_speed_feature(VP9_COMMON *cm, sf->intra_y_mode_mask[i] = INTRA_DC_H_V; sf->intra_uv_mode_mask[i] = INTRA_DC_ONLY; } - sf->use_fast_lpf_pick = 2; sf->RD = 0; } if (speed >= 6) {