Lines Matching refs:pmax
632 static void calc_sum_top(int pmax, int kmax, const uint32_t *data, int n, int pred_order,
640 parts = (1 << pmax);
644 res_end = &data[n >> pmax];
657 res_end += n >> pmax;
675 int pmin, int pmax,
685 av_assert1(pmax >= 0 && pmax <= MAX_PARTITION_ORDER);
686 av_assert1(pmin <= pmax);
693 calc_sum_top(pmax, exact ? kmax : 0, udata, n, pred_order, sums);
697 for (i = pmax; ; ) {
699 if (bits[i] < bits[opt_porder] || pmax == pmin) {
726 int pmax = get_max_p_order(s->options.max_partition_order,
732 bits += calc_rice_params(&sub->rc, sub->rc_udata, sub->rc_sums, pmin, pmax, sub->residual,