Commit 4aeabf1b authored by hui su's avatar hui su

Fix compiler warnings

Change-Id: Id7240260cec471a3f8d0986b9c8df06efda925f9
parent 3287f551
......@@ -88,6 +88,9 @@ static double similarity(uint32_t sum_s, uint32_t sum_r,
} else if (bd == 12) {
c1 = (cc1_12 * count * count) >> 12;
c2 = (cc2_12 * count * count) >> 12;
} else {
c1 = c2 = 0;
assert(0);
}
ssim_n = (2 * sum_s * sum_r + c1) * ((int64_t) 2 * count * sum_sxr -
......
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