shithub: libvpx

Download patch

ref: e85607410e7c3ddf50b52944972ed8a48607117b
parent: 046226376533b610ddc700f14409f195aa6abd51
parent: 5fc2d6cb9fb1262880e237bfd6873f7c3c4dd8c9
author: Jacky Chen <[email protected]>
date: Thu Jun 30 01:59:46 EDT 2016

Merge "vp9: Change the scheme for modeling rd for 32x32 on newmv_last mode."

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1744,7 +1744,8 @@
 #if CONFIG_VP9_HIGHBITDEPTH
       const int large_block = bsize > BLOCK_32X32;
 #else
-      const int large_block = bsize >= BLOCK_32X32;
+      const int large_block = (this_mode == NEWMV && ref_frame == LAST_FRAME) ?
+          bsize > BLOCK_32X32 : bsize >= BLOCK_32X32;
 #endif
       mi->interp_filter = (filter_ref == SWITCHABLE) ? EIGHTTAP : filter_ref;
       vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize);