From: Marco Paniconi Date: Thu, 19 Apr 2018 02:59:45 +0000 (-0700) Subject: vp9:aq-mode=3: Keep perc_refresh fixed for screen content mode. X-Git-Tag: v1.8.0~730 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d547aced6cfed3c315a55d7071b8ef8cb57532f1;p=libvpx 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 --- 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.