ref: d547aced6cfed3c315a55d7071b8ef8cb57532f1
parent: 5464395948a84f358f41568304e0c45b248acdf1
author: Marco Paniconi <[email protected]>
date: Wed Apr 18 15:59:45 EDT 2018
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
--- a/vp9/encoder/vp9_aq_cyclicrefresh.c
+++ b/vp9/encoder/vp9_aq_cyclicrefresh.c
@@ -413,7 +413,8 @@
} 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.