Buffer<int16_t> test_input_block =
Buffer<int16_t>(size_, size_, 8, size_ == 4 ? 0 : 16);
ASSERT_TRUE(test_input_block.Init());
+ ASSERT_TRUE(test_input_block.TopLeftPixel() != NULL);
Buffer<tran_low_t> test_temp_block =
Buffer<tran_low_t>(size_, size_, 0, 16);
ASSERT_TRUE(test_temp_block.Init());
} else if (i == 1) {
input_extreme_block.Set(-max_pixel_value_);
} else {
+ ASSERT_TRUE(input_extreme_block.TopLeftPixel() != NULL);
for (int h = 0; h < size_; ++h) {
for (int w = 0; w < size_; ++w) {
input_extreme_block
// The minimum quant value is 4.
EXPECT_TRUE(output_block.CheckValues(output_ref_block));
+ ASSERT_TRUE(output_block.TopLeftPixel() != NULL);
for (int h = 0; h < size_; ++h) {
for (int w = 0; w < size_; ++w) {
EXPECT_GE(
for (int i = 0; i < count_test_block; ++i) {
InitMem();
+ ASSERT_TRUE(in.TopLeftPixel() != NULL);
// Initialize a test block with input range [-max_pixel_value_,
// max_pixel_value_].
for (int h = 0; h < size_; ++h) {