ref: 43b9e785bad9cc39c9bab84fe22fd5afb9efb58b
parent: 3e069846b996bb9821bff8ad5d30554ef64bf531
parent: a74593b30c1472cf8e9c61d5a0d39fa3b9cdf4df
author: Marco Paniconi <marpan@google.com>
date: Fri Aug 25 17:46:35 EDT 2017
Merge "vp9: SVC: Modify mv search condition in speed features."
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -560,8 +560,12 @@
sf->adaptive_rd_thresh = 3;
sf->mv.search_method = FAST_DIAMOND;
sf->mv.fullpel_search_step_param = 10;
+ // For SVC: use better mv search on base temporal layer, and only
+ // on base spatial layer if highest resolution is above 640x360.
if (cpi->svc.number_temporal_layers > 2 &&
- cpi->svc.temporal_layer_id == 0) {
+ cpi->svc.temporal_layer_id == 0 &&
+ (cpi->svc.spatial_layer_id == 0 ||
+ cpi->oxcf.width * cpi->oxcf.height <= 640 * 360)) {
sf->mv.search_method = NSTEP;
sf->mv.fullpel_search_step_param = 6;
}