From: Marco Paniconi Date: Thu, 2 Aug 2018 22:58:12 +0000 (-0700) Subject: vp9: Increase min_thresh for slide change detection X-Git-Tag: v1.8.0~457 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bea5c7e48ea5976f5807feb2ae27c3f0b3794f67;p=libvpx 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 --- diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index ec969e0cc..75a29e601 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -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;