From 9b5ab487b505e289ceef40bc9e71b944503b91a4 Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 21 Nov 2018 11:12:28 -0800 Subject: [PATCH] vp9 screen-content: Adjust seach step param Increase to 4 (from 2) on slide/scroll changes, as there is an issue/failure with the current setting with offline encode for high resolns. Change-Id: I8f06c6bdcd59013ab000d75bd75770c667bf70d2 --- vp9/encoder/vp9_speed_features.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index bf0a6bf5a..9ea84f365 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -796,14 +796,16 @@ static void set_rt_speed_feature_framesize_independent( sf->partition_search_type = FIXED_PARTITION; sf->always_this_block_size = BLOCK_64X64; } - // Special case for screen content: increase motion search on baase spatial + // Special case for screen content: increase motion search on base spatial // layer when high motion is detected or previous SL0 frame was dropped. // Avoid speed 5 for as there is an issue with SVC datarate test. + // TODO(marpan/jianj): Investigate issue at speed 5. if (cpi->oxcf.content == VP9E_CONTENT_SCREEN && cpi->oxcf.speed > 5 && cpi->svc.spatial_layer_id == 0 && (cpi->rc.high_num_blocks_with_motion || cpi->svc.last_layer_dropped[0])) { sf->mv.search_method = NSTEP; - sf->mv.fullpel_search_step_param = 2; + // TODO(marpan/jianj): Investigate issue for lower setting of step_param. + sf->mv.fullpel_search_step_param = 4; } } -- 2.40.0