diff options
author | Marco <marpan@google.com> | 2017-07-13 16:09:11 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2017-07-13 21:19:37 -0700 |
commit | 666e394d41c68e9a57866fc3bd70e54b36d43ab4 (patch) | |
tree | 981dc61196b35a69c7a55c8442b9d7890d94548e /vp9 | |
parent | e3fa4ae8e329f07a3d9133e09c93c22de3612921 (diff) | |
download | libvpx-666e394d41c68e9a57866fc3bd70e54b36d43ab4.tar libvpx-666e394d41c68e9a57866fc3bd70e54b36d43ab4.tar.gz libvpx-666e394d41c68e9a57866fc3bd70e54b36d43ab4.tar.bz2 libvpx-666e394d41c68e9a57866fc3bd70e54b36d43ab4.zip |
vp9: Adjust minmax threshold for variance partitioning.
Only affects speed 7. Improvement on high motion clips.
Change-Id: Ibddb68fed9c63207df29ffd790f9205b1cecf687
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_encodeframe.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c index c22bf85e3..948d01bc3 100644 --- a/vp9/encoder/vp9_encodeframe.c +++ b/vp9/encoder/vp9_encodeframe.c @@ -1285,7 +1285,10 @@ static int choose_partitioning(VP9_COMP *cpi, const TileInfo *const tile, 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; |