Commit 34e48d61 authored by Marco Paniconi's avatar Marco Paniconi Committed by Gerrit Code Review
Browse files

Merge "vp9: Adjust 16x16 splot threshold for variance partition"

parents ccae8da7 d1477715
...@@ -555,6 +555,8 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q, ...@@ -555,6 +555,8 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q,
#endif #endif
thresholds[0] = threshold_base; thresholds[0] = threshold_base;
thresholds[2] = threshold_base << cpi->oxcf.speed; thresholds[2] = threshold_base << cpi->oxcf.speed;
if (cm->width >= 1280 && cm->height >= 720 && cpi->oxcf.speed < 7)
thresholds[2] = thresholds[2] << 1;
if (cm->width <= 352 && cm->height <= 288) { if (cm->width <= 352 && cm->height <= 288) {
thresholds[0] = threshold_base >> 3; thresholds[0] = threshold_base >> 3;
thresholds[1] = threshold_base >> 1; thresholds[1] = threshold_base >> 1;
......
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