From 10e83b07170d52cdb66ef740b67addcc38f7ef0c Mon Sep 17 00:00:00 2001 From: Yunqing Wang <yunqingwang@google.com> Date: Wed, 17 Jul 2013 09:37:14 -0700 Subject: [PATCH] Enable disable_splitmv feature for other speeds Added disable_splitmv feature at other speed levels. For speed 3 or above, always turn it on. Change-Id: Ibb36f0a7ef12a34b4f8d0f9cb6193eab43b34360 --- vp9/encoder/vp9_onyx_if.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 9042111f8d..500bdfe0a1 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -796,6 +796,8 @@ void vp9_set_speed_features(VP9_COMP *cpi) { sf->skip_encode_sb = 1; sf->use_uv_intra_rd_estimate = 1; sf->using_small_partition_info = 1; + sf->disable_splitmv = + (MIN(cpi->common.width, cpi->common.height) >= 720)? 1 : 0; } if (speed == 3) { sf->comp_inter_joint_search_thresh = BLOCK_SIZE_TYPES; @@ -811,6 +813,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) { FLAG_SKIP_COMP_REFMISMATCH; sf->use_rd_breakout = 1; sf->skip_encode_sb = 1; + sf->disable_splitmv = 1; } if (speed == 4) { sf->comp_inter_joint_search_thresh = BLOCK_SIZE_TYPES; @@ -829,6 +832,8 @@ void vp9_set_speed_features(VP9_COMP *cpi) { sf->optimize_coefficients = 0; // sf->reduce_first_step_size = 1; // sf->reference_masking = 1; + + sf->disable_splitmv = 1; } /* if (speed == 2) { -- GitLab