Home | History | Annotate | Download | only in src

Lines Matching refs:Qc

47     return rateCtrl->Qc;
282 rateCtrl->Qc = rateCtrl->initQP;
347 video->QPy = rateCtrl->Qc = rateCtrl->initQP;
352 video->QPy = rateCtrl->Qc;
420 if (rateCtrl->T < 0) rateCtrl->Qc = RC_MAX_QUANT;
480 //rateCtrl->Qc = (Int)(prev_QP * sqrt(prev_actual_bits/curr_target) + 0.4);
487 // rateCtrl->Qc =(Int)(prev_QP * M4VENC_SQRT(prev_RD/curr_RD) + 0.9);
494 // lower bound on Qc should be a function of curr_mad
495 // When mad is already low, lower bound on Qc doesn't have to be small.
498 /// if((curr_mad < 8) && (rateCtrl->Qc < 12)) rateCtrl->Qc = 12;
499 // else if((curr_mad < 128) && (rateCtrl->Qc < 3)) rateCtrl->Qc = 3;
501 rateCtrl->Qc = Qstep2QP(Qstep);
503 if (rateCtrl->Qc < RC_MIN_QUANT) rateCtrl->Qc = RC_MIN_QUANT;
504 if (rateCtrl->Qc > RC_MAX_QUANT) rateCtrl->Qc = RC_MAX_QUANT;
511 ((OsclFloat)rateCtrl->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) &&