From 384fc5e38181b750354c39807a41f21f2f30b172 Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 11 Nov 2015 18:21:20 -0800 Subject: [PATCH] Adjust motion threshold to limit cyclic refresh. Change-Id: Icfca27a567eb8929c312c6315856ee130d982a04 --- vp9/encoder/vp9_aq_cyclicrefresh.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.c b/vp9/encoder/vp9_aq_cyclicrefresh.c index f221cb3cb..0def2cf1f 100644 --- a/vp9/encoder/vp9_aq_cyclicrefresh.c +++ b/vp9/encoder/vp9_aq_cyclicrefresh.c @@ -412,8 +412,11 @@ static void cyclic_refresh_update_map(VP9_COMP *const cpi) { assert(cr->sb_index < sbs_in_frame); i = cr->sb_index; cr->target_num_seg_blocks = 0; - if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) + if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) { consec_zero_mv_thresh = 100; + if (cpi->noise_estimate.enabled && cpi->noise_estimate.level >= kMedium) + consec_zero_mv_thresh = 80; + } qindex_thresh = cpi->oxcf.content == VP9E_CONTENT_SCREEN ? vp9_get_qindex(&cm->seg, CR_SEGMENT_ID_BOOST2, cm->base_qindex) -- 2.40.0