Commit ec8c25ca authored by James Zern's avatar James Zern Committed by Gerrit Code Review
Browse files

Merge "sad_test: fix vp8-only build"

parents 54ba65a6 16d26969
......@@ -234,7 +234,7 @@ class SADTestBase : public ::testing::Test {
#else
const int tmp = second_pred[h * width_ + w] +
reference[h * reference_stride_ + w];
const uint8_t comp_pred = ROUND_POWER_OF_TWO(tmp, 1);
const uint8_t comp_pred = (tmp + 1) >> 1;
sad += abs(source[h * source_stride_ + w] - comp_pred);
#endif
}
......
Supports Markdown
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