Lines Matching defs:sums
579 uint32_t *sums, int n, int pred_order)
590 k = find_optimal_param(sums[i], cnt);
592 all_bits += rice_encode_count(sums[i], cnt, k);
603 uint32_t sums[][MAX_PARTITIONS])
609 /* sums for highest level */
617 sums[pmax][i] = sum;
620 /* sums for lower levels */
624 sums[i][j] = sums[i+1][2*j] + sums[i+1][2*j+1];
637 uint32_t sums[MAX_PARTITION_ORDER+1][MAX_PARTITIONS];
647 calc_sums(pmin, pmax, udata, n, pred_order, sums);
652 bits[i] = calc_optimal_rice_params(&tmp_rc, i, sums[i], n, pred_order);