diff options
author | James Zern <jzern@google.com> | 2019-04-17 14:52:59 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2019-04-17 14:52:59 +0000 |
commit | e718cade1dc7179daede6b695166702dbf6ab8b4 (patch) | |
tree | aa107a32e358e33062675bc9cd5dc6f070c8937c /vp9/common/vp9_reconintra.c | |
parent | 7ef20bf0519ef12d653fb70304970419cf4cdda1 (diff) | |
parent | e232dc86e561cc03a0b576381c156c26b1ee7015 (diff) | |
download | libvpx-e718cade1dc7179daede6b695166702dbf6ab8b4.tar libvpx-e718cade1dc7179daede6b695166702dbf6ab8b4.tar.gz libvpx-e718cade1dc7179daede6b695166702dbf6ab8b4.tar.bz2 libvpx-e718cade1dc7179daede6b695166702dbf6ab8b4.zip |
Merge "Revert "Refactor tile boundary condition for intra prediction""
Diffstat (limited to 'vp9/common/vp9_reconintra.c')
-rw-r--r-- | vp9/common/vp9_reconintra.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |