shithub: libvpx

Download patch

ref: 2b30f33e2dcbc2eea37201f69e05ab6445359bd1
parent: 2713dba538406c10dd9684f2df877aef014583d8
author: Hui Su <huisu@google.com>
date: Wed Sep 5 09:00:56 EDT 2018

Initialize the best partition before partition RDO

This fixes the multi-thread encoder test failure.

Change-Id: I0c1845922068e71097a387db0969ca419accb3ed

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -4448,6 +4448,8 @@
   }
 #endif
 
+  pc_tree->partitioning = PARTITION_NONE;
+
   // PARTITION_NONE
   if (partition_none_allowed) {
     rd_pick_sb_modes(cpi, tile_data, x, mi_row, mi_col, &this_rdc, bsize, ctx,