Adjust threshold in gf_boost for 1 pass vbr
authorMarco <marpan@google.com>
Fri, 13 Oct 2017 22:31:02 +0000 (15:31 -0700)
committerMarco <marpan@google.com>
Fri, 13 Oct 2017 22:33:51 +0000 (15:33 -0700)
Small inncrease the sad_thresh1, avoids some false
detection of possible scene changes within lag.

Small improvement in few clips on ytlive, otherwise neutral change.

Change-Id: Ia79b53bb657bbce65a7aac7d20666b6373d5af8b

vp9/encoder/vp9_ratectrl.c

index 8d75684..73d78a3 100644 (file)
@@ -2121,7 +2121,7 @@ static void adjust_gf_boost_lag_one_pass_vbr(VP9_COMP *cpi,
   uint64_t avg_source_sad_lag = avg_sad_current;
   int high_source_sad_lagindex = -1;
   int steady_sad_lagindex = -1;
-  uint32_t sad_thresh1 = 60000;
+  uint32_t sad_thresh1 = 70000;
   uint32_t sad_thresh2 = 120000;
   int low_content = 0;
   int high_content = 0;