shithub: libvpx

Download patch

ref: de4e2662d774c14d2168b7885044ac8252e6592f
parent: 69df584416512c95e74790c49a3abbf0435390a6
parent: 3d908191497d524c6eb1d06b766cc93b9d96c9fe
author: Ronald S. Bultje <[email protected]>
date: Thu Oct 22 17:12:25 EDT 2015

Merge "vp10: don't make right edge available across tile boundaries."

--- a/vp10/common/reconintra.c
+++ b/vp10/common/reconintra.c
@@ -708,8 +708,10 @@
   const int mi_col = -xd->mb_to_left_edge >> 6;
   const BLOCK_SIZE bsize = xd->mi[0]->mbmi.sb_type;
   const struct macroblockd_plane *const pd = &xd->plane[plane];
+  const int right_available =
+      mi_col + (bw >> !pd->subsampling_x) < xd->tile.mi_col_end;
   const int have_right = vp10_has_right(bsize, mi_row, mi_col,
-                                        xd->mb_to_right_edge > 0,
+                                        right_available,
                                         tx_size, loff, aoff,
                                         pd->subsampling_x);
   const int have_bottom = vp10_has_bottom(bsize, mi_row, mi_col,