Set max_intra_bsize to 32x32
At --good and speed 3 or above for resolution less than 720p. This disables the tests for 64x64 intra prediction modes. Encoding time reduction is about 1%. Change-Id: Ib396e3d1417fece416e3f0fee929b128acbb130f
This commit is contained in:
Родитель
d4a47a6cc0
Коммит
4d6d061316
|
@ -110,16 +110,16 @@ static void set_good_speed_feature(VP9_COMP *cpi, VP9_COMMON *cm,
|
|||
if (speed >= 3) {
|
||||
sf->tx_size_search_method = frame_is_intra_only(cm) ? USE_FULL_RD
|
||||
: USE_LARGESTALL;
|
||||
if (MIN(cm->width, cm->height) >= 720)
|
||||
if (MIN(cm->width, cm->height) >= 720) {
|
||||
sf->disable_split_mask = DISABLE_ALL_SPLIT;
|
||||
else
|
||||
} else {
|
||||
sf->max_intra_bsize = BLOCK_32X32;
|
||||
sf->disable_split_mask = DISABLE_ALL_INTER_SPLIT;
|
||||
|
||||
}
|
||||
sf->adaptive_pred_interp_filter = 0;
|
||||
sf->cb_partition_search = frame_is_boosted(cpi) ? 0 : 1;
|
||||
sf->cb_pred_filter_search = 1;
|
||||
sf->motion_field_mode_search = frame_is_boosted(cpi) ? 0 : 1;
|
||||
|
||||
sf->lf_motion_threshold = LOW_MOTION_THRESHOLD;
|
||||
sf->last_partitioning_redo_frequency = 3;
|
||||
sf->recode_loop = ALLOW_RECODE_KFMAXBW;
|
||||
|
@ -181,6 +181,7 @@ static void set_rt_speed_feature(VP9_COMP *cpi, SPEED_FEATURES *sf,
|
|||
sf->disable_split_mask = DISABLE_COMPOUND_SPLIT;
|
||||
|
||||
sf->use_rd_breakout = 1;
|
||||
|
||||
sf->adaptive_motion_search = 1;
|
||||
sf->adaptive_pred_interp_filter = 1;
|
||||
sf->mv.auto_mv_step_size = 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче