diff --git a/vp9/encoder/vp9_onyx_if.c b/vp9/encoder/vp9_onyx_if.c index 83e51cbb7..e35e5e13f 100644 --- a/vp9/encoder/vp9_onyx_if.c +++ b/vp9/encoder/vp9_onyx_if.c @@ -773,9 +773,10 @@ void vp9_set_speed_features(VP9_COMP *cpi) { if (speed == 1) { sf->use_square_partition_only = !(cpi->common.frame_type == KEY_FRAME || cpi->common.intra_only); - sf->tx_size_search_method = ((cpi->common.frame_type == KEY_FRAME || - cpi->common.intra_only) - ? USE_FULL_RD : USE_LARGESTALL); + sf->less_rectangular_check = 1; + sf->tx_size_search_method = (cpi->common.frame_type == KEY_FRAME || + cpi->common.intra_only) + ? USE_FULL_RD : USE_LARGESTALL; if (MIN(cpi->common.width, cpi->common.height) >= 720) sf->disable_split_mask = DISABLE_ALL_SPLIT; @@ -790,6 +791,7 @@ void vp9_set_speed_features(VP9_COMP *cpi) { if (speed == 2) { sf->use_square_partition_only = !(cpi->common.frame_type == KEY_FRAME || cpi->common.intra_only); + sf->less_rectangular_check = 1; sf->tx_size_search_method = ((cpi->common.frame_type == KEY_FRAME || cpi->common.intra_only) ? USE_FULL_RD : USE_LARGESTALL); @@ -897,11 +899,9 @@ void vp9_set_speed_features(VP9_COMP *cpi) { sf->comp_inter_joint_search_thresh = BLOCK_SIZES; sf->use_one_partition_size_always = 1; sf->always_this_block_size = BLOCK_16X16; - sf->tx_size_search_method = ((cpi->common.frame_type == KEY_FRAME || - cpi->common.intra_only || - cpi->common.show_frame == 0) ? - USE_FULL_RD : - USE_LARGESTALL); + sf->tx_size_search_method = (cpi->common.frame_type == KEY_FRAME || + cpi->common.intra_only) ? + USE_FULL_RD : USE_LARGESTALL; sf->mode_search_skip_flags = FLAG_SKIP_INTRA_DIRMISMATCH | FLAG_SKIP_INTRA_BESTINTER | FLAG_SKIP_COMP_BESTINTRA |