shithub: libvpx

Download patch

ref: d0ad2e25d156cf538888f9b2389361d660a0421e
parent: 6a908db22a174f2852aa7a84d2b4a1eee93cc1d6
parent: 9775236ca1ca5046027da1ca031c911898b0eb4a
author: Hui Su <[email protected]>
date: Thu Jul 26 22:19:58 EDT 2018

Merge "Fix multi-thread encoder result test"

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -4008,6 +4008,8 @@
         if (cpi->sf.adaptive_motion_search) load_pred_mv(x, ctx);
 
         pc_tree->split[i]->index = i;
+        if (cpi->sf.prune_ref_frame_for_rect_partitions)
+          pc_tree->split[i]->none.rate = INT_MAX;
         rd_pick_partition(cpi, td, tile_data, tp, mi_row + y_idx,
                           mi_col + x_idx, subsize, &this_rdc,
                           // A must split test here increases the number of sub