From 7c69136494b02709acbf96f017d3dec4f37564c4 Mon Sep 17 00:00:00 2001 From: Marco Date: Tue, 23 Jan 2018 20:03:19 -0800 Subject: [PATCH] vp9-svc: Re-adjust some aq-mode=3 control parameters. Remove an adjustment to two cyclic refresh (aq-mode= 3) parameters for SVC. The adjustment was to reduce the delta-qp on second segment, and reduce the motion threshold. This was done early on in the SVC encoder development, in the latest codebase removing this adjustment yields some improvements in metrics. The avgPSNR/SSIM metrics increase on average by ~1% (most clip positive gain), for 3 and 2 layer SVC. Change-Id: I7a4d5114f16b2a1df383dbe6b3fe02940e29e6cc --- vp9/encoder/vp9_aq_cyclicrefresh.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.c b/vp9/encoder/vp9_aq_cyclicrefresh.c index 2f2f0055a..ed43de701 100644 --- a/vp9/encoder/vp9_aq_cyclicrefresh.c +++ b/vp9/encoder/vp9_aq_cyclicrefresh.c @@ -464,10 +464,6 @@ void vp9_cyclic_refresh_update_parameters(VP9_COMP *const cpi) { cr->rate_ratio_qdelta = VPXMAX(cr->rate_ratio_qdelta, 2.5); } } - if (cpi->svc.spatial_layer_id > 0) { - cr->motion_thresh = 4; - cr->rate_boost_fac = 12; - } if (cpi->oxcf.rc_mode == VPX_VBR) { // To be adjusted for VBR mode, e.g., based on gf period and boost. // For now use smaller qp-delta (than CBR), no second boosted seg, and -- 2.40.0