Lines Matching refs:pmax
612 static void calc_sums(int pmin, int pmax, uint32_t *data, int n, int pred_order,
620 parts = (1 << pmax);
622 res_end = &data[n >> pmax];
627 sums[pmax][i] = sum;
628 res_end += n >> pmax;
631 for (i = pmax - 1; i >= pmin; i--) {
639 static uint64_t calc_rice_params(RiceContext *rc, int pmin, int pmax,
650 av_assert1(pmax >= 0 && pmax <= MAX_PARTITION_ORDER);
651 av_assert1(pmin <= pmax);
659 calc_sums(pmin, pmax, udata, n, pred_order, sums);
663 for (i = pmin; i <= pmax; i++) {
690 int pmax = get_max_p_order(s->options.max_partition_order,
696 bits += calc_rice_params(&sub->rc, pmin, pmax, sub->residual,