summaryrefslogtreecommitdiff
path: root/vp9/encoder
diff options
context:
space:
mode:
authorMarco Paniconi <marpan@google.com>2018-08-03 10:45:41 -0700
committerMarco Paniconi <marpan@google.com>2018-08-03 11:00:08 -0700
commit6fd9d0244c7d8941ce0004bcd2efce5d6676bef5 (patch)
tree0e02046afbb8b11ced1b1e58a3f2f05bc885be9e /vp9/encoder
parente802f3a87dc5f12ce087324e221dd46dd8f4f22d (diff)
downloadlibvpx-6fd9d0244c7d8941ce0004bcd2efce5d6676bef5.tar
libvpx-6fd9d0244c7d8941ce0004bcd2efce5d6676bef5.tar.gz
libvpx-6fd9d0244c7d8941ce0004bcd2efce5d6676bef5.tar.bz2
libvpx-6fd9d0244c7d8941ce0004bcd2efce5d6676bef5.zip
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
Diffstat (limited to 'vp9/encoder')
-rw-r--r--vp9/encoder/vp9_encoder.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_encoder.c b/vp9/encoder/vp9_encoder.c
index fa4571cea..3db11fcb0 100644
--- a/vp9/encoder/vp9_encoder.c
+++ b/vp9/encoder/vp9_encoder.c
@@ -4053,6 +4053,7 @@ static int encode_without_recode_loop(VP9_COMP *cpi, size_t *size,
}
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