shithub: libvpx

Download patch

ref: bea5c7e48ea5976f5807feb2ae27c3f0b3794f67
parent: a3ff9370aeac48f9cafe8b6a21bc1af28618ce5e
author: Marco Paniconi <[email protected]>
date: Thu Aug 2 11:58:12 EDT 2018

vp9: Increase min_thresh for slide change detection

For real-time screen-content mode: increase min_thresh
to avoid some false detection.

Change-Id: I3e93dea63cbd65e3ad5d0af7eabf0d3686fe9943

--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2641,7 +2641,7 @@
     int frame = 0;
     int scene_cut_force_key_frame = 0;
     uint64_t avg_sad_current = 0;
-    uint32_t min_thresh = 4000;
+    uint32_t min_thresh = 10000;
     float thresh = 8.0f;
     uint32_t thresh_key = 140000;
     if (cpi->oxcf.speed <= 5) thresh_key = 240000;