Lines Matching refs:qmin
407 * Get the qmin & qmax for pict_type.
410 int qmin= s->avctx->lmin;
413 assert(qmin <= qmax);
416 qmin= (int)(qmin*FFABS(s->avctx->b_quant_factor)+s->avctx->b_quant_offset + 0.5);
419 qmin= (int)(qmin*FFABS(s->avctx->i_quant_factor)+s->avctx->i_quant_offset + 0.5);
423 qmin= av_clip(qmin, 1, FF_LAMBDA_MAX);
426 if(qmax<qmin) qmax= qmin;
428 *qmin_ret= qmin;
434 int qmin, qmax;
441 get_qminmax(&qmin, &qmax, s, pict_type);
484 if(s->avctx->rc_qsquish==0.0 || qmin==qmax){
485 if (q<qmin) q=qmin;
488 double min2= log(qmin);
542 const int qmin= s->avctx->mb_lmin;
605 /* handle qmin/qmax clipping */
616 else if(newq < qmin){
618 cplx_sum -= cplx_tab[i]*q/qmin;
637 else if(intq < qmin) intq= qmin;
659 int qmin, qmax;
681 get_qminmax(&qmin, &qmax, s, pict_type);
791 av_get_picture_type_char(pict_type), qmin, q, qmax, picture_number, (int)wanted_bits/1000, (int)s->total_bits/1000,
796 if (q<qmin) q=qmin;
928 qscale_sum += av_clip(rcc->entry[i].new_qscale / FF_QP2LAMBDA, s->avctx->qmin, s->avctx->qmax);