Convert simple_model_rd_from_var from a speed check to a speed feature.
Change-Id: I8877025e172fff29bc4e270790211463b676b4d7
This commit is contained in:
@@ -193,6 +193,7 @@ static void set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm,
|
||||
sf->use_fast_coef_costing = 1;
|
||||
sf->motion_field_mode_search = !boosted;
|
||||
sf->partition_search_breakout_rate_thr = 300;
|
||||
sf->simple_model_rd_from_var = 1;
|
||||
}
|
||||
|
||||
if (speed >= 5) {
|
||||
@@ -335,6 +336,7 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf,
|
||||
sf->inter_mode_mask[BLOCK_64X64] = INTER_NEAREST;
|
||||
sf->max_intra_bsize = BLOCK_32X32;
|
||||
sf->allow_skip_recode = 1;
|
||||
sf->simple_model_rd_from_var = 1;
|
||||
}
|
||||
|
||||
if (speed >= 5) {
|
||||
@@ -507,6 +509,7 @@ void vp9_set_speed_features_framesize_independent(VP9_COMP *cpi) {
|
||||
sf->tx_size_search_breakout = 0;
|
||||
sf->partition_search_breakout_dist_thr = 0;
|
||||
sf->partition_search_breakout_rate_thr = 0;
|
||||
sf->simple_model_rd_from_var = 0;
|
||||
|
||||
if (oxcf->mode == REALTIME)
|
||||
set_rt_speed_feature(cpi, sf, oxcf->speed, oxcf->content);
|
||||
|
||||
Reference in New Issue
Block a user