ref: 1243d2fc27b1cad8863ac2d688b4fde71a80a74d
parent: b9fa9ef693d60254f82426cf5c02223783336223
author: Marco Paniconi <[email protected]>
date: Wed May 13 11:08:15 EDT 2020
vp9-rtc: Increase thresh for scene detection For CBR screen content mode. Makes it more robust to false detections. Change-Id: Icad89adb6f79b530b589bba2c71ba88ee5088d37
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -2960,7 +2960,7 @@
int scene_cut_force_key_frame = 0;
int num_zero_temp_sad = 0;
uint64_t avg_sad_current = 0;
- uint32_t min_thresh = 10000;
+ uint32_t min_thresh = 20000; // ~5 * 64 * 64
float thresh = 8.0f;
uint32_t thresh_key = 140000;
if (cpi->oxcf.speed <= 5) thresh_key = 240000;