ref: 57fefd5f9a336f907d9ca2246e2d3437ec40b936
parent: 7b0f24fc216eb864fddd7a48eee3c24f4844e017
parent: a257e469e170db485faf870472a1f31b3aa06413
author: Yunqing Wang <yunqingwang@google.com>
date: Fri May 1 14:29:24 EDT 2015
Merge "Adjust the vbp early termination threshold slightly"
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -499,7 +499,8 @@
cpi->vbp_thresholds[0] = threshold_base;
cpi->vbp_thresholds[1] = (5 * threshold_base) >> 2;
cpi->vbp_thresholds[2] = threshold_base << cpi->oxcf.speed;
- cpi->vbp_threshold_sad = 1000;
+ cpi->vbp_threshold_sad = (cpi->y_dequant[q][1] << 1) > 1000 ?
+ (cpi->y_dequant[q][1] << 1) : 1000;
}
cpi->vbp_bsize_min = BLOCK_16X16;
}