From d547aced6cfed3c315a55d7071b8ef8cb57532f1 Mon Sep 17 00:00:00 2001 From: Marco Paniconi Date: Wed, 18 Apr 2018 19:59:45 -0700 Subject: [PATCH] vp9:aq-mode=3: Keep perc_refresh fixed for screen content mode. Don't allow for changing the perc_refresh with screen-content mode, as this helps reduce some overshoot for static content. Change-Id: Idbe1849e7a14ef18fda20bee6dced809f134b7f7 --- vp9/encoder/vp9_aq_cyclicrefresh.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_aq_cyclicrefresh.c b/vp9/encoder/vp9_aq_cyclicrefresh.c index ef8484f98..b47840795 100644 --- a/vp9/encoder/vp9_aq_cyclicrefresh.c +++ b/vp9/encoder/vp9_aq_cyclicrefresh.c @@ -413,7 +413,8 @@ static void cyclic_refresh_update_map(VP9_COMP *const cpi) { } while (cr->target_num_seg_blocks < block_count && i != cr->sb_index); cr->sb_index = i; cr->reduce_refresh = 0; - if (count_sel<(3 * count_tot)>> 2) cr->reduce_refresh = 1; + if (cpi->oxcf.content != VP9E_CONTENT_SCREEN) + if (count_sel<(3 * count_tot)>> 2) cr->reduce_refresh = 1; } // Set cyclic refresh parameters. -- 2.40.0