diff options
author | Marco Paniconi <marpan@google.com> | 2018-04-18 19:59:45 -0700 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2018-04-18 20:03:54 -0700 |
commit | d547aced6cfed3c315a55d7071b8ef8cb57532f1 (patch) | |
tree | 5910cbc5c3df13e78b90bff3d08112ebfc942fa1 /vp9/encoder | |
parent | 5464395948a84f358f41568304e0c45b248acdf1 (diff) | |
download | libvpx-d547aced6cfed3c315a55d7071b8ef8cb57532f1.tar libvpx-d547aced6cfed3c315a55d7071b8ef8cb57532f1.tar.gz libvpx-d547aced6cfed3c315a55d7071b8ef8cb57532f1.tar.bz2 libvpx-d547aced6cfed3c315a55d7071b8ef8cb57532f1.zip |
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
Diffstat (limited to 'vp9/encoder')
-rw-r--r-- | vp9/encoder/vp9_aq_cyclicrefresh.c | 3 |
1 files changed, 2 insertions, 1 deletions
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. |