Add missing initializations of HBD buffers

BUG=aomedia:530

Change-Id: I6889a9b7ba05785ea6d4c684e0e12dcc85fdca7c
This commit is contained in:
Yaowu Xu 2017-05-11 09:39:31 -07:00
Родитель 56bc7ef633
Коммит 5ab58722c6
1 изменённых файлов: 9 добавлений и 2 удалений

Просмотреть файл

@ -368,10 +368,17 @@ class ConvolveTest : public ::testing::TestWithParam<ConvolveParam> {
#endif
/* Set up guard blocks for an inner block centered in the outer block */
for (int i = 0; i < kOutputBufferSize; ++i) {
if (IsIndexInBorder(i))
if (IsIndexInBorder(i)) {
output_[i] = 255;
else
#if CONFIG_HIGHBITDEPTH
output16_[i] = mask_;
#endif
} else {
output_[i] = 0;
#if CONFIG_HIGHBITDEPTH
output16_[i] = 0;
#endif
}
}
::libaom_test::ACMRandom prng;