From e232dc86e561cc03a0b576381c156c26b1ee7015 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 16 Apr 2019 14:59:22 -0700 Subject: Revert "Refactor tile boundary condition for intra prediction" This reverts commit 14208ab41e114f5779d106ae54a7cc8fd9d43820. This causes test vectors failures with --row-mt=1. BUG=webm:1617 Change-Id: Icb14bbbb6f38608a73dde0370ad874c0b1b0af8a --- vp9/common/vp9_reconintra.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vp9/common/vp9_reconintra.c') diff --git a/vp9/common/vp9_reconintra.c b/vp9/common/vp9_reconintra.c index 7d3eec1c5..3e5ed616d 100644 --- a/vp9/common/vp9_reconintra.c +++ b/vp9/common/vp9_reconintra.c @@ -408,8 +408,8 @@ void vp9_predict_intra_block(const MACROBLOCKD *xd, int bwl_in, TX_SIZE tx_size, int aoff, int loff, int plane) { const int bw = (1 << bwl_in); const int txw = (1 << tx_size); - const int have_top = loff || xd->mi_row > 0; - const int have_left = aoff || xd->mi_col > xd->tile.mi_col_start; + const int have_top = loff || (xd->above_mi != NULL); + const int have_left = aoff || (xd->left_mi != NULL); const int have_right = (aoff + txw) < bw; const int x = aoff * 4; const int y = loff * 4; -- cgit v1.2.3