quant             164 libavcodec/aaccoder.c                         int c = av_clip_uintp2(quant(t, Q), 13);
quant             194 libavcodec/aaccoder.c                         int coef = av_clip_uintp2(quant(fabsf(in[i+j]), Q), 13);
quant             972 libavcodec/aaccoder.c                 quant_max = quant(maxq[w*16+g], ff_aac_pow2sf_tab[POW_SF2_ZERO - scf + SCALE_ONE_POS - SCALE_DIV_512]);
quant             148 libavcodec/aic.c     int            quant;
quant             185 libavcodec/aic.c     ctx->quant      = src[15];
quant             340 libavcodec/aic.c             unquant_block(ctx->block, ctx->quant, ctx->quant_matrix);
quant             357 libavcodec/aic.c             unquant_block(ctx->block, ctx->quant, ctx->quant_matrix);
quant             614 libavcodec/bink.c     const int32_t *quant;
quant             693 libavcodec/bink.c     quant = quant_matrices[quant_idx];
quant             695 libavcodec/bink.c     block[0] = (block[0] * quant[0]) >> 11;
quant             698 libavcodec/bink.c         block[scan[idx]] = (block[scan[idx]] * quant[idx]) >> 11;
quant             166 libavcodec/binkaudio.c     float q, quant[25];
quant             192 libavcodec/binkaudio.c             quant[i]  = quant_table[FFMIN(value, 95)];
quant             196 libavcodec/binkaudio.c         q = quant[0];
quant             220 libavcodec/binkaudio.c                     q = quant[k++];
quant             224 libavcodec/binkaudio.c                         q = quant[k++];
quant              70 libavcodec/dcaenc.c     softfloat quant[DCAENC_SUBBANDS][MAX_CHANNELS];
quant             639 libavcodec/dcaenc.c static int32_t quantize_value(int32_t value, softfloat quant)
quant             641 libavcodec/dcaenc.c     int32_t offset = 1 << (quant.e - 1);
quant             643 libavcodec/dcaenc.c     value = mul32(value, quant.m) + offset;
quant             644 libavcodec/dcaenc.c     value = value >> quant.e;
quant             648 libavcodec/dcaenc.c static int calc_one_scale(int32_t peak_cb, int abits, softfloat *quant)
quant             673 libavcodec/dcaenc.c     quant->m = mul32(scalefactor_inv[our_nscale].m, stepsize_inv[abits].m);
quant             674 libavcodec/dcaenc.c     quant->e = scalefactor_inv[our_nscale].e + stepsize_inv[abits].e - 17;
quant             675 libavcodec/dcaenc.c     av_assert0((quant_levels[abits] - 1) / 2 >= quantize_value(peak, *quant));
quant             688 libavcodec/dcaenc.c                                                        &c->quant[band][ch]);
quant             701 libavcodec/dcaenc.c                 c->quantized[sample][band][ch] = quantize_value(c->subband[sample][band][ch], c->quant[band][ch]);
quant             102 libavcodec/diracdec.c     int quant;
quant             175 libavcodec/diracdec.c         uint8_t quant[MAX_DWT_LEVELS][4]; /* [DIRAC_STD] E.1 */
quant             534 libavcodec/diracdec.c         int quant = b->quant;
quant             536 libavcodec/diracdec.c             quant += dirac_get_arith_int(c, CTX_DELTA_Q_F, CTX_DELTA_Q_DATA);
quant             538 libavcodec/diracdec.c             quant += dirac_get_se_golomb(gb);
quant             539 libavcodec/diracdec.c         if (quant < 0) {
quant             543 libavcodec/diracdec.c         b->quant = quant;
quant             546 libavcodec/diracdec.c     b->quant = FFMIN(b->quant, MAX_QUANT);
quant             548 libavcodec/diracdec.c     qfactor = qscale_tab[b->quant];
quant             551 libavcodec/diracdec.c         qoffset = qoffset_intra_tab[b->quant];
quant             553 libavcodec/diracdec.c         qoffset = qoffset_inter_tab[b->quant];
quant             665 libavcodec/diracdec.c                 b->quant = svq3_get_ue_golomb(&s->gb);
quant             684 libavcodec/diracdec.c static void lowdelay_subband(DiracContext *s, GetBitContext *gb, int quant,
quant             693 libavcodec/diracdec.c     int qfactor = qscale_tab[FFMIN(quant, MAX_QUANT)];
quant             694 libavcodec/diracdec.c     int qoffset = qoffset_intra_tab[FFMIN(quant, MAX_QUANT)];
quant             739 libavcodec/diracdec.c     int level, quant, chroma_bits, chroma_end;
quant             749 libavcodec/diracdec.c             quant = FFMAX(quant_base - s->lowdelay.quant[level][orientation], 0);
quant             750 libavcodec/diracdec.c             lowdelay_subband(s, gb, quant, slice->slice_x, slice->slice_y, luma_end,
quant             762 libavcodec/diracdec.c             quant = FFMAX(quant_base - s->lowdelay.quant[level][orientation], 0);
quant             763 libavcodec/diracdec.c             lowdelay_subband(s, gb, quant, slice->slice_x, slice->slice_y, chroma_end,
quant            1035 libavcodec/diracdec.c             s->lowdelay.quant[0][0] = svq3_get_ue_golomb(gb);
quant            1037 libavcodec/diracdec.c                 s->lowdelay.quant[level][1] = svq3_get_ue_golomb(gb);
quant            1038 libavcodec/diracdec.c                 s->lowdelay.quant[level][2] = svq3_get_ue_golomb(gb);
quant            1039 libavcodec/diracdec.c                 s->lowdelay.quant[level][3] = svq3_get_ue_golomb(gb);
quant            1049 libavcodec/diracdec.c                     s->lowdelay.quant[level][i] = default_qmat[s->wavelet_idx][level][i];
quant            1052 libavcodec/diracdec.c                         s->lowdelay.quant[level][i] += 4*(s->wavelet_depth-1 - level);
quant             279 libavcodec/dvdec.c     int quant, dc, dct_mode, class1, j;
quant             307 libavcodec/dvdec.c         quant    = buf_ptr[3] & 0x0f;
quant             326 libavcodec/dvdec.c                                                    quant             * 64];
quant             334 libavcodec/dvdec.c                                     (quant + ff_dv_quant_offset[class1]) * 64];
quant             186 libavcodec/eatgq.c static void tgq_calculate_qtable(TgqContext *s, int quant)
quant             189 libavcodec/eatgq.c     const int a = (14 * (100 - quant)) / 100 + 1;
quant             190 libavcodec/eatgq.c     const int b = (11 * (100 - quant)) / 100 + 4;
quant              94 libavcodec/eatqi.c static void tqi_calculate_qtable(MpegEncContext *s, int quant)
quant              96 libavcodec/eatqi.c     const int qscale = (215 - 2*quant)*5;
quant              72 libavcodec/g726.c     const int* quant;         /**< quantization table */
quant             170 libavcodec/g726.c     while (c->tbls.quant[i] < INT_MAX && c->tbls.quant[i] < dln)
quant             301 libavcodec/g726.c     i = quant(c, sig/4 - c->se) & ((1<<c->code_size) - 1);
quant              84 libavcodec/hqx.c static inline void idct_col(int16_t *blk, const uint8_t *quant)
quant              90 libavcodec/hqx.c     s0 = (int) blk[0 * 8] * quant[0 * 8];
quant              91 libavcodec/hqx.c     s1 = (int) blk[1 * 8] * quant[1 * 8];
quant              92 libavcodec/hqx.c     s2 = (int) blk[2 * 8] * quant[2 * 8];
quant              93 libavcodec/hqx.c     s3 = (int) blk[3 * 8] * quant[3 * 8];
quant              94 libavcodec/hqx.c     s4 = (int) blk[4 * 8] * quant[4 * 8];
quant              95 libavcodec/hqx.c     s5 = (int) blk[5 * 8] * quant[5 * 8];
quant              96 libavcodec/hqx.c     s6 = (int) blk[6 * 8] * quant[6 * 8];
quant              97 libavcodec/hqx.c     s7 = (int) blk[7 * 8] * quant[7 * 8];
quant             166 libavcodec/hqx.c static void hqx_idct(int16_t *block, const uint8_t *quant)
quant             171 libavcodec/hqx.c         idct_col(block + i, quant + i);
quant             177 libavcodec/hqx.c                          int16_t *block, const uint8_t *quant)
quant             181 libavcodec/hqx.c     hqx_idct(block, quant);
quant             195 libavcodec/hqx.c                               const uint8_t *quant)
quant             201 libavcodec/hqx.c     hqx_idct_put((uint16_t *)(p + y * lsize), lsize * fields, block0, quant);
quant             203 libavcodec/hqx.c                  lsize * fields, block1, quant);
quant             136 libavcodec/intrax8.c     w->j_ac_vlc[mode] = &j_ac_vlc[w->quant<13][mode>>1][table_index];//2 modes use same tables
quant             145 libavcodec/intrax8.c         table_index = get_bits(&s->gb, 1+(w->quant<13) );
quant             146 libavcodec/intrax8.c         w->j_orient_vlc = &j_orient_vlc[w->quant<13][table_index];
quant             274 libavcodec/intrax8.c         w->j_dc_vlc[mode]= &j_dc_vlc[w->quant<13][table_index];
quant             304 libavcodec/intrax8.c     int quant;
quant             311 libavcodec/intrax8.c         quant=w->quant_dc_chroma;
quant             313 libavcodec/intrax8.c         quant=w->quant;
quant             317 libavcodec/intrax8.c     if(range < quant || range < 3){
quant             329 libavcodec/intrax8.c     if(range < 2*w->quant){
quant             420 libavcodec/intrax8.c     else     w->orient=( 0xFFEAD8>>(2*c+8*(w->quant>12)) )&3;
quant             609 libavcodec/intrax8.c             int32_t dc_quant    = !chroma ? w->quant:
quant             623 libavcodec/intrax8.c         s->block[0][0] = dc_level*w->quant;
quant             662 libavcodec/intrax8.c             w->dsp.h_loop_filter(ptr, linesize, w->quant);
quant             665 libavcodec/intrax8.c             w->dsp.v_loop_filter(ptr, linesize, w->quant);
quant             736 libavcodec/intrax8.c     w->quant  = dquant >> 1;
quant             739 libavcodec/intrax8.c     w->divide_quant_dc_luma = ((1<<16) + (w->quant>>1)) / w->quant;
quant             740 libavcodec/intrax8.c     if(w->quant < 5){
quant             741 libavcodec/intrax8.c         w->quant_dc_chroma =  w->quant;
quant             744 libavcodec/intrax8.c         w->quant_dc_chroma =  w->quant+((w->quant+3)>>3);
quant             778 libavcodec/intrax8.c                 s->current_picture.qscale_table[mb_xy] = w->quant;
quant              41 libavcodec/intrax8.h     int quant;
quant              60 libavcodec/intrax8.h int  ff_intrax8_decode_picture(IntraX8Context * w, int quant, int halfpq);
quant             323 libavcodec/intrax8dsp.c static void x8_loop_filter(uint8_t * ptr, const int a_stride, const int b_stride, int quant){
quant             326 libavcodec/intrax8dsp.c     int ql=(quant+10)>>3;
quant             359 libavcodec/intrax8dsp.c                 if(max-min<2*quant){//early stop
quant             364 libavcodec/intrax8dsp.c                     if(max-min<2*quant){
quant             379 libavcodec/intrax8dsp.c             if(FFABS(x0) < quant){
quant             507 libavcodec/ivi_common.c                                    uint32_t quant, int offs,
quant             567 libavcodec/ivi_common.c         q = (base_tab[pos] * quant) >> 9;
quant             619 libavcodec/ivi_common.c     uint32_t cbp, quant, buf_offs;
quant             647 libavcodec/ivi_common.c         quant = band->glob_quant + mb->q_delta;
quant             649 libavcodec/ivi_common.c             quant = av_clip_uintp2(quant, 5);
quant             651 libavcodec/ivi_common.c             quant = av_clip(quant, 0, 23);
quant             655 libavcodec/ivi_common.c             quant = scale_tab[quant];
quant             720 libavcodec/ivi_common.c                                               mc_type, mc_type2, quant,
quant             169 libavcodec/libxvid.c     param->quant = 2;
quant             220 libavcodec/libxvid.c              frame_type, param->stats.quant, param->stats.kblks,
quant             766 libavcodec/libxvid.c         xvid_enc_frame.quant = picture->quality / FF_QP2LAMBDA;
quant             768 libavcodec/libxvid.c         xvid_enc_frame.quant = 0;
quant             793 libavcodec/libxvid.c         p->quality = xvid_enc_stats.quant * FF_QP2LAMBDA;
quant             126 libavcodec/libxvid_rc.c             xvid_plg_data.quant         = s->qscale;
quant             137 libavcodec/libxvid_rc.c         xvid_plg_data.quant               = 0;
quant             144 libavcodec/libxvid_rc.c         s->rc_context.dry_run_qscale = xvid_plg_data.quant;
quant             146 libavcodec/libxvid_rc.c     xvid_plg_data.quant = s->rc_context.dry_run_qscale;
quant             152 libavcodec/libxvid_rc.c         return xvid_plg_data.quant * FF_QP2LAMBDA * s->avctx->b_quant_factor +
quant             155 libavcodec/libxvid_rc.c         return xvid_plg_data.quant * FF_QP2LAMBDA;
quant             126 libavcodec/proresenc_kostya.c     int         quant;
quant             134 libavcodec/proresenc_kostya.c         .quant     = QUANT_MAT_PROXY,
quant             142 libavcodec/proresenc_kostya.c         .quant     = QUANT_MAT_LT,
quant             150 libavcodec/proresenc_kostya.c         .quant     = QUANT_MAT_STANDARD,
quant             158 libavcodec/proresenc_kostya.c         .quant     = QUANT_MAT_HQ,
quant             166 libavcodec/proresenc_kostya.c         .quant     = QUANT_MAT_HQ,
quant             175 libavcodec/proresenc_kostya.c     int quant;
quant             477 libavcodec/proresenc_kostya.c                               int quant)
quant             509 libavcodec/proresenc_kostya.c                         int sizes[4], int x, int y, int quant,
quant             528 libavcodec/proresenc_kostya.c     } else if (quant < MAX_STORED_Q) {
quant             529 libavcodec/proresenc_kostya.c         qmat = ctx->quants[quant];
quant             533 libavcodec/proresenc_kostya.c             qmat[i] = ctx->quant_mat[i] * quant;
quant             571 libavcodec/proresenc_kostya.c                                           ctx->blocks[0], quant);
quant             708 libavcodec/proresenc_kostya.c                                 int mbs_per_slice, int quant,
quant             810 libavcodec/proresenc_kostya.c         td->nodes[trellis_node + q].quant     = q;
quant             866 libavcodec/proresenc_kostya.c     td->nodes[trellis_node + max_quant + 1].quant = overquant;
quant             923 libavcodec/proresenc_kostya.c         ctx->slice_q[x + y * ctx->slices_width] = td->nodes[q].quant;
quant            1191 libavcodec/proresenc_kostya.c         ctx->quant_mat = prores_quant_matrices[ctx->profile_info->quant];
quant              27 libavcodec/rtjpeg.c     block[i] = (c) * quant[i];
quant              47 libavcodec/rtjpeg.c                             const uint32_t *quant) {
quant             119 libavcodec/rtjpeg.c #define BLOCK(quant, dst, stride) do { \
quant             120 libavcodec/rtjpeg.c     int res = get_block(&gb, block, c->scan, quant); \
quant              51 libavcodec/rv30.c     si->quant = get_bits(gb, 5);
quant             342 libavcodec/rv34.c static inline RV34VLC* choose_vlc_set(int quant, int mod, int type)
quant             344 libavcodec/rv34.c     if(mod == 2 && quant < 19) quant += 10;
quant             345 libavcodec/rv34.c     else if(mod && quant < 26) quant += 5;
quant             346 libavcodec/rv34.c     return type ? &inter_vlcs[rv34_quant_to_vlc_set[1][av_clip(quant, 0, 30)]]
quant             347 libavcodec/rv34.c                 : &intra_vlcs[rv34_quant_to_vlc_set[0][av_clip(quant, 0, 30)]];
quant             380 libavcodec/rv34.c     r->cur_vlcs   = choose_vlc_set(r->si.quant, r->si.vlc_set, 0);
quant             426 libavcodec/rv34.c         r->cur_vlcs = choose_vlc_set(r->si.quant, r->si.vlc_set, 0);
quant             430 libavcodec/rv34.c         r->cur_vlcs = choose_vlc_set(r->si.quant, r->si.vlc_set, 1);
quant             435 libavcodec/rv34.c             r->cur_vlcs = choose_vlc_set(r->si.quant, r->si.vlc_set, 0);
quant            1221 libavcodec/rv34.c     s->qscale = r->si.quant;
quant            1269 libavcodec/rv34.c         r->cur_vlcs = choose_vlc_set(r->si.quant, r->si.vlc_set, 1);
quant            1323 libavcodec/rv34.c     s->qscale = r->si.quant;
quant            1429 libavcodec/rv34.c     s->qscale = r->si.quant;
quant              75 libavcodec/rv34.h     int quant;             ///< quantizer used for this slice
quant             140 libavcodec/rv40.c     si->quant = get_bits(gb, 5);
quant             718 libavcodec/sonic.c     int i, j, ch, quant = 0, x = 0;
quant             812 libavcodec/sonic.c         quant = (int)(BASE_QUANT*s->quantization*energy2/SAMPLE_FACTOR);
quant             815 libavcodec/sonic.c         quant = av_clip(quant, 1, 65534);
quant             817 libavcodec/sonic.c         put_symbol(&c, state, quant, 0, NULL, NULL);
quant             819 libavcodec/sonic.c         quant *= SAMPLE_FACTOR;
quant             827 libavcodec/sonic.c                 s->coded_samples[ch][i] = ROUNDED_DIV(s->coded_samples[ch][i], quant);
quant             967 libavcodec/sonic.c     int i, quant, ch, j, ret;
quant             991 libavcodec/sonic.c         quant = 1;
quant             993 libavcodec/sonic.c         quant = get_symbol(&c, state, 0) * SAMPLE_FACTOR;
quant            1013 libavcodec/sonic.c             s->int_samples[x] = predictor_calc_error(s->predictor_k, s->predictor_state[ch], s->num_taps, s->coded_samples[ch][i] * quant);
quant              41 libavcodec/tscc2.c     int            quant[2];
quant             207 libavcodec/tscc2.c             ret = tscc2_decode_mb(c, c->q[q - 1], c->quant[q - 1] - 2,
quant             254 libavcodec/tscc2.c     c->quant[0] = bytestream2_get_byte(&gb);
quant             255 libavcodec/tscc2.c     c->quant[1] = bytestream2_get_byte(&gb);
quant             256 libavcodec/tscc2.c     if (c->quant[0] < 2 || c->quant[0] > NUM_VLC_SETS + 1 ||
quant             257 libavcodec/tscc2.c         c->quant[1] < 2 || c->quant[1] > NUM_VLC_SETS + 1) {
quant             259 libavcodec/tscc2.c                c->quant[0], c->quant[1]);
quant             264 libavcodec/tscc2.c         c->q[0][i] = tscc2_quants[c->quant[0] - 2][i];
quant             265 libavcodec/tscc2.c         c->q[1][i] = tscc2_quants[c->quant[1] - 2][i];
quant             458 libavcodec/vorbis_enc_data.h     const uint8_t *quant;
quant             282 libavcodec/vorbisenc.c                 cb->quantlist[i] = cvectors[book].quant[i];
quant            1226 libavcodec/wmaprodec.c             int quant = 0;
quant            1229 libavcodec/wmaprodec.c                 quant += 31;
quant            1231 libavcodec/wmaprodec.c             quant_step += ((quant + step) ^ sign) - sign;
quant            1296 libavcodec/wmaprodec.c                 const float quant = pow(10.0, exp / 20.0);
quant            1300 libavcodec/wmaprodec.c                                            quant, end - start);
quant             122 libavformat/dv.c     int size, chan, i, j, d, of, smpls, freq, quant, half_ch;
quant             133 libavformat/dv.c     quant = as_pack[4]      & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */
quant             135 libavformat/dv.c     if (quant > 1)
quant             148 libavformat/dv.c     if (ipcm + sys->n_difchan > (quant == 1 ? 2 : 4)) {
quant             163 libavformat/dv.c             if (quant == 1 && i == half_ch) {
quant             174 libavformat/dv.c                     if (quant == 0) {  /* 16bit quantization */
quant             225 libavformat/dv.c     int freq, stype, smpls, quant, i, ach;
quant             236 libavformat/dv.c     quant = as_pack[4]      & 0x07; /* 0 - 16bit linear, 1 - 12bit nonlinear */
quant             252 libavformat/dv.c     if (ach == 1 && quant && freq == 2)
quant              51 libavformat/rtpdec_h261.c     int sbit, ebit, gobn, mbap, quant;
quant              90 libavformat/rtpdec_h261.c     quant =  (buf[2] >> 2) & 0x1f;
quant              99 libavformat/rtpdec_h261.c         if (!gobn && !sbit && !mbap && !quant) {
quant              41 libavformat/rtpenc_h263_rfc2190.c     int quant;
quant              83 libavformat/rtpenc_h263_rfc2190.c     put_bits(&pb, 5, state->quant); /* QUANT - quantizer for the first MB */
quant             159 libavformat/rtpenc_h263_rfc2190.c                         state.quant = ptr[4];