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));
237 rateCtrl->pMP->counter_BTsrc = (int)((rateCtrl->Bs / 2.0 - rateCtrl->Bs / 3.0) / (rateCtrl->bitsPerFrame / 10.0));
238 rateCtrl->TMN_W = (int)(rateCtrl->VBV_fullness + rateCtrl->pMP->counter_BTsrc * (rateCtrl->bitsPerFrame / 10.0));
512 pMP->counter_BTsrc <= (pMP->counter_BTdst + (int)(pMP->framerate*1.0 + 0.5)))
516 pMP->counter_BTsrc++;
527 /* BT = Bit Transfer, for pMP->counter_BTsrc, pMP->counter_BTdst */
532 /* update pMP->counter_BTsrc and pMP->counter_BTdst to avoid interger overflow */
533 if (pMP->counter_BTsrc > 1000 && pMP->counter_BTdst > 1000)
535 pMP->counter_BTsrc -= 1000;
575 curr_mad <= pMP->aver_mad*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst)
596 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst)
619 prev_counter_diff = pMP->counter_BTdst - pMP->counter_BTsrc;
655 /*4.update pMP->counter_BTsrc, pMP->counter_BTdst */
656 pMP->counter_BTsrc += diff_counter_BTsrc;
670 pMP->counter_BTsrc += 10 * rateCtrl->skip_next_frame;
676 pMP->counter_BTsrc += 10;
689 pMP->counter_BTsrc = pMP->counter_BTdst + (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
819 /* update pMP->counter_BTsrc, pMP->counter_BTdst */
824 pMP->counter_BTsrc += diff_BTCounter; /* pMP->actual_bits is smaller */
885 pMP->counter_BTsrc -= (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));
892 pMP->counter_BTsrc -= (int)((OsclFloat)(rateCtrl->Bs / 2 - rateCtrl->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10));