Home | History | Annotate | Download | only in src

Lines Matching refs:counter_BTsrc

153             pMP->counter_BTsrc += 10 * (frameInc - 1);
160 pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
235 rateCtrl->pMP->counter_BTsrc = (int)((rateCtrl->Bs / 2.0 - rateCtrl->Bs / 3.0) / (rateCtrl->bitsPerFrame / 10.0));
236 rateCtrl->TMN_W = (int)(rateCtrl->VBV_fullness + rateCtrl->pMP->counter_BTsrc * (rateCtrl->bitsPerFrame / 10.0));
510 pMP->counter_BTsrc <= (pMP->counter_BTdst + (int)(pMP->framerate*1.0 + 0.5)))
514 pMP->counter_BTsrc++;
525 /* BT = Bit Transfer, for pMP->counter_BTsrc, pMP->counter_BTdst */
530 /* update pMP->counter_BTsrc and pMP->counter_BTdst to avoid interger overflow */
531 if (pMP->counter_BTsrc > 1000 && pMP->counter_BTdst > 1000)
533 pMP->counter_BTsrc -= 1000;
573 curr_mad <= pMP->aver_mad*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst)
594 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst)
617 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc;
653 /*4.update pMP->counter_BTsrc, pMP->counter_BTdst */
654 pMP->counter_BTsrc += diff_counter_BTsrc;
668 pMP->counter_BTsrc += 10 * rateCtrl->skip_next_frame;
674 pMP->counter_BTsrc += 10;
687 pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
817 /* update pMP->counter_BTsrc, pMP->counter_BTdst */
822 pMP->counter_BTsrc += diff_BTCounter; /* pMP->actual_bits is smaller */
883 pMP->counter_BTsrc -= (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
890 pMP->counter_BTsrc -= (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));