Commit 95428a59 authored by Hui Su's avatar Hui Su Committed by Gerrit Code Review

Merge "Fix compiler warnings" into nextgenv2

parents 0fc0c1a3 4aeabf1b
......@@ -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