ref: 666e394d41c68e9a57866fc3bd70e54b36d43ab4
parent: e3fa4ae8e329f07a3d9133e09c93c22de3612921
author: Marco <marpan@google.com>
date: Thu Jul 13 12:09:11 EDT 2017
vp9: Adjust minmax threshold for variance partitioning. Only affects speed 7. Improvement on high motion clips. Change-Id: Ibddb68fed9c63207df29ffd790f9205b1cecf687
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -1285,7 +1285,10 @@
xd->cur_buf->flags,
#endif
pixels_wide, pixels_high);
- if (minmax > cpi->vbp_threshold_minmax) {
+ int thresh_minmax = (int)cpi->vbp_threshold_minmax;
+ if (x->content_state_sb == kVeryHighSad)
+ thresh_minmax = thresh_minmax << 1;
+ if (minmax > thresh_minmax) {
force_split[split_index] = 1;
force_split[i + 1] = 1;
force_split[0] = 1;