From: Marco Date: Wed, 27 May 2015 19:30:35 +0000 (-0700) Subject: Non-rd variance partition: Adjust thresholds for 1080p. X-Git-Tag: v1.5.0~647 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a49fff632c591548d2bc3a98b00082ec19de238e;p=libvpx Non-rd variance partition: Adjust thresholds for 1080p. Increase the 32x32 split threshold, to allow for more 32x32 at expense of 16x16. Visually looks somewhat better. Change-Id: Ia1439c3a0dc2d7933468b88bd59266fcd9f03505 --- diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index 0c8bab95f..a8adca9ec 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -487,6 +487,8 @@ static void set_vbp_thresholds(VP9_COMP *cpi, int64_t thresholds[], int q) { } else { thresholds[0] = threshold_base; thresholds[1] = (5 * threshold_base) >> 2; + if (cm->width >= 1920 && cm->height >= 1080) + thresholds[1] = (7 * threshold_base) >> 2; thresholds[2] = threshold_base << cpi->oxcf.speed; } }