shithub: libvpx

Download patch

ref: 014976c251f2411f0887774d36e10b8532b6636e
parent: 6a42bdd25fde520af6322ef6b59419d30ff13951
parent: 4bc1fc58b6c8b456750b7c57ce654b36565cfec0
author: Marco Paniconi <marpan@google.com>
date: Wed Oct 4 19:36:27 EDT 2017

Merge "Avoid nonrd_pick_partition for speed >= 6."

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -4216,7 +4216,7 @@
         // nonrd_pick_partition does not support 4x4 partition, so avoid it
         // on key frame for now.
         if ((cpi->oxcf.rc_mode == VPX_VBR && cpi->rc.high_source_sad &&
-             cm->frame_type != KEY_FRAME)) {
+             cpi->oxcf.speed < 6 && cm->frame_type != KEY_FRAME)) {
           // Use lower max_partition_size for low resoultions.
           if (cm->width <= 352 && cm->height <= 288)
             x->max_partition_size = BLOCK_32X32;