Lines Matching refs:quant

150     uint8_t quant[MAX_DWT_LEVELS][4];
451 s->quant[level][0] = ff_dirac_default_qmat[s->wavelet_idx][level][0];
452 s->quant[level][1] = ff_dirac_default_qmat[s->wavelet_idx][level][1];
453 s->quant[level][2] = ff_dirac_default_qmat[s->wavelet_idx][level][2];
454 s->quant[level][3] = ff_dirac_default_qmat[s->wavelet_idx][level][3];
465 s->quant[level][orientation] = ff_dirac_default_qmat[s->wavelet_idx][level][orientation];
467 s->quant[level][orientation] = vc2_qm_col_tab[level][orientation];
473 s->quant[level][orientation] = vc2_qm_col_tab[level][orientation];
479 s->quant[level][orientation] = vc2_qm_flat_tab[level][orientation];
491 put_vc2_ue_uint(&s->pb, s->quant[0][0]);
493 put_vc2_ue_uint(&s->pb, s->quant[level][1]);
494 put_vc2_ue_uint(&s->pb, s->quant[level][2]);
495 put_vc2_ue_uint(&s->pb, s->quant[level][3]);
530 SubBand *b, int quant)
540 const uint64_t q_m = ((uint64_t)(s->qmagic_lut[quant][0])) << 2;
541 const uint64_t q_a = s->qmagic_lut[quant][1];
542 const int q_s = av_log2(ff_dirac_qscale_tab[quant]) + 32;
570 quants[level][orientation] = FFMAX(quant_idx - s->quant[level][orientation], 0);
624 int quant = slice_dat->quant_idx, step = 1;
625 int bits_last, bits = count_hq_slice(slice_dat, quant);
628 quant = av_clip(quant + signed_step, 0, s->q_ceil-1);
629 bits = count_hq_slice(slice_dat, quant);
630 if (quant_buf[1] == quant) {
631 quant = FFMAX(quant_buf[0], quant);
632 bits = quant == quant_buf[0] ? bits_last : bits;
637 quant_buf[0] = quant;
640 slice_dat->quant_idx = av_clip(quant, 0, s->q_ceil-1);
744 quants[level][orientation] = FFMAX(quant_idx - s->quant[level][orientation], 0);