summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2019-01-11 16:36:45 -0800
committerJames Zern <jzern@google.com>2019-01-11 16:36:45 -0800
commit495282774eb033896044cabfb1f05ce59e66831d (patch)
tree6fec5712e076c5c04f645443adfc095d0f16d16b /test
parent6b02a123bc0025c85d5ba110848f65f1e9fb2442 (diff)
downloadlibvpx-495282774eb033896044cabfb1f05ce59e66831d.tar
libvpx-495282774eb033896044cabfb1f05ce59e66831d.tar.gz
libvpx-495282774eb033896044cabfb1f05ce59e66831d.tar.bz2
libvpx-495282774eb033896044cabfb1f05ce59e66831d.zip
convolve_test: Add missing init of HBD buffers
this resolves some msan errors. the same change was done in libaom: 5ab58722c Add missing initializations of HBD buffers Change-Id: I8882af45b95c90ba43bf138c7d305a6c3b99e61c
Diffstat (limited to 'test')
-rw-r--r--test/convolve_test.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/convolve_test.cc b/test/convolve_test.cc
index 02cc7ff5c..cef602eec 100644
--- a/test/convolve_test.cc
+++ b/test/convolve_test.cc
@@ -416,8 +416,14 @@ class ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
for (int i = 0; i < kOutputBufferSize; ++i) {
if (IsIndexInBorder(i)) {
output_[i] = 255;
+#if CONFIG_VP9_HIGHBITDEPTH
+ output16_[i] = mask_;
+#endif
} else {
output_[i] = 0;
+#if CONFIG_VP9_HIGHBITDEPTH
+ output16_[i] = 0;
+#endif
}
}