ref: 198b834c977c335621e502b2a8b0621093577b61
parent: 35c4a13eb7d9c3c8c4c85974f39a0042a9930b88
author: Jerome Jiang <[email protected]>
date: Mon Jan 9 10:04:13 EST 2017
vp9: Set less aggresive short_circuit_low_temp_var for HD at speed 8. Quality improved by 1.866 and 0.386 for two noisy clips (dark720p and marcooffice720p), respectively. Change-Id: Ib33a7672ae9ca53da156208f7cd13f07b5543e44
--- a/vp9/encoder/vp9_speed_features.c
+++ b/vp9/encoder/vp9_speed_features.c
@@ -521,6 +521,14 @@
content != VP9E_CONTENT_SCREEN) {
// More aggressive short circuit for speed 8.
sf->short_circuit_low_temp_var = 3;
+ // Use level 2 for noisey cases as there is a regression in some
+ // noisy clips with level 3.
+ if (cpi->noise_estimate.enabled && cm->width >= 1280 &&
+ cm->height >= 720) {
+ NOISE_LEVEL noise_level =
+ vp9_noise_estimate_extract_level(&cpi->noise_estimate);
+ if (noise_level >= kMedium) sf->short_circuit_low_temp_var = 2;
+ }
}
sf->limit_newmv_early_exit = 0;
}