Fix a comment on padding in reconintra
According to AV1 spec section 7.11.2.1, the default padding for top left
corner is defined as 1 << (BitDepth - 1), not (1 << (BitDepth - 1)) - 1
as the comment indicates.
Change-Id: I84c636744b81b3aed4ffc5ef42dbe4d5731062b9
diff --git a/av1/common/reconintra.c b/av1/common/reconintra.c
index 67e0650..45974c4 100644
--- a/av1/common/reconintra.c
+++ b/av1/common/reconintra.c
@@ -1160,7 +1160,7 @@
int base = 128 << (xd->bd - 8);
// The default values if ref pixels are not available:
- // base-1 base-1 base-1 .. base-1 base-1 base-1 base-1 base-1 base-1
+ // base base-1 base-1 .. base-1 base-1 base-1 base-1 base-1 base-1
// base+1 A B .. Y Z
// base+1 C D .. W X
// base+1 E F .. U V
@@ -1345,7 +1345,7 @@
const int use_filter_intra = filter_intra_mode != FILTER_INTRA_MODES;
// The default values if ref pixels are not available:
- // 127 127 127 .. 127 127 127 127 127 127
+ // 128 127 127 .. 127 127 127 127 127 127
// 129 A B .. Y Z
// 129 C D .. W X
// 129 E F .. U V