summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2021-12-09 18:03:55 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2021-12-09 18:03:55 +0000
commitfc4650011595bf7556318ada58c2a420f103372b (patch)
tree0b41711c8921769805e4b6df6ddfaf64875592c3 /test
parent69146697b51d3344e8dfe7608cd141699e1f6a59 (diff)
parent093a8c4824729be62e582b7d3f00e18830aee3b8 (diff)
downloadlibvpx-fc4650011595bf7556318ada58c2a420f103372b.tar
libvpx-fc4650011595bf7556318ada58c2a420f103372b.tar.gz
libvpx-fc4650011595bf7556318ada58c2a420f103372b.tar.bz2
libvpx-fc4650011595bf7556318ada58c2a420f103372b.zip
Merge "test_intra_pred_speed: match above ext w/reconintra" into main
Diffstat (limited to 'test')
-rw-r--r--test/test_intra_pred_speed.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/test_intra_pred_speed.cc b/test/test_intra_pred_speed.cc
index 08100a146..28b3484a0 100644
--- a/test/test_intra_pred_speed.cc
+++ b/test/test_intra_pred_speed.cc
@@ -48,11 +48,9 @@ struct IntraPredTestMem {
for (int i = 0; i < kBPS; ++i) left[i] = rnd.Rand16() & mask;
for (int i = -1; i < kBPS; ++i) above[i] = rnd.Rand16() & mask;
- // some code assumes the top row has been extended:
- // d45/d63 C-code, for instance, but not the assembly.
- // TODO(jzern): this style of extension isn't strictly necessary.
+ // d45/d63 require the top row to be extended.
ASSERT_LE(block_size, kBPS);
- for (int i = block_size; i < 2 * kBPS; ++i) {
+ for (int i = block_size; i < 2 * block_size; ++i) {
above[i] = above[block_size - 1];
}
}