For low resolutions: increase the partition threshold
to split to 8x8 blocks for high Q.
Some improvement in quality for low bitrates at low resoln.
On rtc_derf speed 7: ~1.7 bdrate gain for low bitrates.
Change-Id: I1900c32497b75da4e8b882fedc8f4b440b017480
thresholds[0] = threshold_base >> 3;
thresholds[1] = threshold_base >> 1;
thresholds[2] = threshold_base << 3;
+ if (cpi->rc.avg_frame_qindex[INTER_FRAME] > 220)
+ thresholds[2] = thresholds[2] << 2;
+ else if (cpi->rc.avg_frame_qindex[INTER_FRAME] > 200)
+ thresholds[2] = thresholds[2] << 1;
} else if (cm->width < 1280 && cm->height < 720) {
thresholds[1] = (5 * threshold_base) >> 2;
} else if (cm->width < 1920 && cm->height < 1080) {