Lines Matching defs:sum
1605 u32 sum = 0, s2;
1607 sum = c[1] + c[2] + c[3] + c[4] + c[5] + c[6] + c[7] + c[8] + c[9];
1609 p[0] = noncoef_merge_prob(p[0], c[0], sum);
1610 sum -= c[9];
1611 p[1] = noncoef_merge_prob(p[1], c[9], sum);
1612 sum -= c[1];
1613 p[2] = noncoef_merge_prob(p[2], c[1], sum);
1615 sum -= s2;
1616 p[3] = noncoef_merge_prob(p[3], s2, sum);
1620 sum -= c[3];
1621 p[6] = noncoef_merge_prob(p[6], c[3], sum);
1622 sum -= c[8];
1623 p[7] = noncoef_merge_prob(p[7], c[8], sum);
1642 u32 sum;
1644 sum = c[1] + c[2] + c[3] + c[4] + c[5] + c[6] + c[7] + c[8] + c[9] + c[10];
1645 p[0] = noncoef_merge_prob(p[0], c[0], sum);
1646 sum -= c[1];
1647 p[1] = noncoef_merge_prob(p[1], c[1], sum);
1648 sum -= c[2] + c[3];
1649 p[2] = noncoef_merge_prob(p[2], c[2] + c[3], sum);
1651 sum -= c[4] + c[5];
1652 p[4] = noncoef_merge_prob(p[4], c[4] + c[5], sum);
1654 sum -= c[6];
1655 p[6] = noncoef_merge_prob(p[6], c[6], sum);