ref: 37169c0bd41ff110d004a0bf27cb218cc68a6ea8
parent: 149d082377569c0330f8ed87327a837d25525f6a
parent: fe488ccefff1730e2b9d0cc16650fc512e5d61b6
author: Yunqing Wang <yunqingwang@google.com>
date: Fri Aug 19 19:11:05 EDT 2016
Merge "Adjust speed features for 4k video encoding"
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -91,6 +91,16 @@
sf->partition_search_breakout_rate_thr = 100;
}
sf->rd_auto_partition_min_limit = set_partition_min_limit(cm);
+
+ // Use a set of speed features for 4k videos.
+ if (VPXMIN(cm->width, cm->height) >= 2160) {
+ sf->use_square_partition_only = 1;
+ sf->intra_y_mode_mask[TX_32X32] = INTRA_DC;
+ sf->intra_uv_mode_mask[TX_32X32] = INTRA_DC;
+ sf->alt_ref_search_fp = 1;
+ sf->cb_pred_filter_search = 1;
+ sf->adaptive_interp_filter_search = 1;
+ }
}
if (speed >= 3) {