Commit 6a3cf099 authored by Marco's avatar Marco

vp9: Adjust threshold for scene-change detection.

For 1 pass vbr.

Change-Id: I10b7eefc36d65c30844d205e139515bec7fed6af
parent 48b81a1a
......@@ -2074,8 +2074,8 @@ void vp9_avg_source_sad(VP9_COMP *cpi) {
// for cases where there is small change from content that is completely
// static.
if (cpi->oxcf.rc_mode == VPX_VBR) {
min_thresh = 40000;
thresh = 2.0f;
min_thresh = 60000;
thresh = 2.1f;
}
if (avg_sad >
VPXMAX(min_thresh, (unsigned int)(rc->avg_source_sad * thresh)) &&
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment