shithub: libvpx

Download patch

ref: ad1aad69fbed8ccb23d7eeb1e642766f2cdf9a28
parent: d0495132aa64b2c868cb20db8d5384d4180b2604
parent: b16c77cdc4de7a3245d35fe87f1d5d87779ef238
author: Marco Paniconi <marpan@google.com>
date: Fri Jan 27 10:15:36 EST 2017

Merge "vp9: Modify bsize condition for using model_rd_large."

--- a/vp9/encoder/vp9_pickmode.c
+++ b/vp9/encoder/vp9_pickmode.c
@@ -1793,15 +1793,9 @@
         pd->dst.stride = this_mode_pred->stride;
       }
     } else {
-// TODO(jackychen): the low-bitdepth condition causes a segfault in
-// high-bitdepth builds.
-// https://bugs.chromium.org/p/webm/issues/detail?id=1250
-#if CONFIG_VP9_HIGHBITDEPTH
-      const int large_block = bsize > BLOCK_32X32;
-#else
-      const int large_block =
-          x->sb_is_skin ? bsize > BLOCK_32X32 : bsize >= BLOCK_32X32;
-#endif
+      const int large_block = (x->sb_is_skin || cpi->oxcf.speed < 8)
+                                  ? bsize > BLOCK_32X32
+                                  : bsize >= BLOCK_32X32;
       mi->interp_filter = (filter_ref == SWITCHABLE) ? EIGHTTAP : filter_ref;
       vp9_build_inter_predictors_sby(xd, mi_row, mi_col, bsize);