Lines Matching refs:pmax
602 static void calc_sums(int pmin, int pmax, uint32_t *data, int n, int pred_order,
610 parts = (1 << pmax);
612 res_end = &data[n >> pmax];
617 sums[pmax][i] = sum;
618 res_end += n >> pmax;
621 for (i = pmax - 1; i >= pmin; i--) {
629 static uint32_t calc_rice_params(RiceContext *rc, int pmin, int pmax,
640 assert(pmax >= 0 && pmax <= MAX_PARTITION_ORDER);
641 assert(pmin <= pmax);
647 calc_sums(pmin, pmax, udata, n, pred_order, sums);
651 for (i = pmin; i <= pmax; i++) {
678 int pmax = get_max_p_order(s->options.max_partition_order,
684 bits += calc_rice_params(&sub->rc, pmin, pmax, sub->residual,