From: Marco Date: Thu, 9 Mar 2017 00:10:45 +0000 (-0800) Subject: vp9: Enable two speed features for SVC real-time mode. X-Git-Tag: v1.7.0~647^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea3c817ac23d5075df2905e6549cd2dadb4750f6;p=libvpx vp9: Enable two speed features for SVC real-time mode. Enable short_circuit_low_temp_var and limit_newmv_early_exit for SVC, 1 pass CBR mode. Change-Id: I77df2b2c6cc40657bb8ea76e19dfc2fdaad6389e --- diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index dfe132cbd..417c19fd9 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -472,9 +472,9 @@ static void set_rt_speed_feature_framesize_independent( sf->short_circuit_flat_blocks = 1; } if (cpi->oxcf.rc_mode == VPX_CBR && - cpi->oxcf.content != VP9E_CONTENT_SCREEN && !cpi->use_svc) { + cpi->oxcf.content != VP9E_CONTENT_SCREEN) { sf->limit_newmv_early_exit = 1; - sf->bias_golden = 1; + if (!cpi->use_svc) sf->bias_golden = 1; } } @@ -485,8 +485,7 @@ static void set_rt_speed_feature_framesize_independent( sf->mv.search_method = NSTEP; sf->mv.reduce_first_step_size = 1; sf->skip_encode_sb = 0; - if (!cpi->use_svc && cpi->oxcf.rc_mode == VPX_CBR && - content != VP9E_CONTENT_SCREEN) { + if (cpi->oxcf.rc_mode == VPX_CBR && content != VP9E_CONTENT_SCREEN) { // Enable short circuit for low temporal variance. sf->short_circuit_low_temp_var = 1; }