]> granicus.if.org Git - libvpx/commitdiff
vp9: Increase min_thresh for slide change detection
authorMarco Paniconi <marpan@google.com>
Thu, 2 Aug 2018 22:58:12 +0000 (15:58 -0700)
committerMarco Paniconi <marpan@google.com>
Fri, 3 Aug 2018 00:29:04 +0000 (17:29 -0700)
For real-time screen-content mode: increase min_thresh
to avoid some false detection.

Change-Id: I3e93dea63cbd65e3ad5d0af7eabf0d3686fe9943

vp9/encoder/vp9_ratectrl.c

index ec969e0cc32afc718356810b70bfa140b018cf74..75a29e601c62d95b4eead229cf8901c404a26ca6 100644 (file)
@@ -2641,7 +2641,7 @@ void vp9_scene_detection_onepass(VP9_COMP *cpi) {
     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;