ref: 6fd9d0244c7d8941ce0004bcd2efce5d6676bef5
parent: e802f3a87dc5f12ce087324e221dd46dd8f4f22d
author: Marco Paniconi <[email protected]>
date: Fri Aug 3 06:45:41 EDT 2018
vp9: Add screen-content mode to overshoot detection. For real-time 1 pass mode: overshoot detection and max_Q reset should only be for screen-content mode. This fixes some failures in the 1 pass VBR tests, from the commit: 2fae9991 Change-Id: I70cbe4e6fd83cfe0c7662f13b779551bf4f319cb
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4053,6 +4053,7 @@
}
if (!cpi->sf.re_encode_overshoot_rt &&
+ cpi->oxcf.content == VP9E_CONTENT_SCREEN &&
(cpi->rc.high_source_sad ||
(cpi->use_svc && cpi->svc.high_source_sad_superframe))) {
// Check if this high_source_sad (scene/slide change) frame should be