Commit 5ab58722 authored by Yaowu Xu's avatar Yaowu Xu
Browse files

Add missing initializations of HBD buffers

BUG=aomedia:530

Change-Id: I6889a9b7ba05785ea6d4c684e0e12dcc85fdca7c
parent 56bc7ef6
...@@ -368,10 +368,17 @@ class ConvolveTest : public ::testing::TestWithParam<ConvolveParam> { ...@@ -368,10 +368,17 @@ class ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
#endif #endif
/* Set up guard blocks for an inner block centered in the outer block */ /* Set up guard blocks for an inner block centered in the outer block */
for (int i = 0; i < kOutputBufferSize; ++i) { for (int i = 0; i < kOutputBufferSize; ++i) {
if (IsIndexInBorder(i)) if (IsIndexInBorder(i)) {
output_[i] = 255; output_[i] = 255;
else #if CONFIG_HIGHBITDEPTH
output16_[i] = mask_;
#endif
} else {
output_[i] = 0; output_[i] = 0;
#if CONFIG_HIGHBITDEPTH
output16_[i] = 0;
#endif
}
} }
::libaom_test::ACMRandom prng; ::libaom_test::ACMRandom prng;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment