Home | History | Annotate | Download | only in src

Lines Matching refs:TMN_TH

70         //rc[n]->TMN_TH = (Int)((float)LayerBitRate[n]/LayerFrameRate[n]);
78 rc[n]->TMN_TH = (Int)((float)LayerBitRate[n] / LayerFrameRate[n]);
98 rc[n]->TMN_TH = (Int)((float)(LayerBitRate[n] - LayerBitRate[n-1]) / (LayerFrameRate[n] - LayerFrameRate[n-1]));
99 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - rc[n]->VBV_fullness) * 10 / ((float)rc[n]->TMN_TH)) - 5;
104 rc[n]->TMN_TH = 1 << 30;
236 pMP->counter_BTdst = PV_MAX(pMP->counter_BTdst, (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.30 / (rc->TMN_TH / 10.0) + 0.5)); /* At least 30% of VBV buffer size/2 */
239 pMP->target_bits = rc->T = rc->TMN_TH = (Int)(rc->TMN_TH * (1.0 + pMP->counter_BTdst * 0.1));
323 diff_BTCounter = (Int)((float)(rc->TMN_TH - rc->TMN_W - pMP->actual_bits) /
330 rc->TMN_TH -= (Int)((float)pMP->bitrate / (pMP->framerate + 0.0001) * (diff_BTCounter * 0.1));
331 rc->T = pMP->target_bits = rc->TMN_TH - rc->TMN_W;
441 /* New changes: bitrate and framerate, Bs, max_BitVariance_num, TMN_TH(optional), encoded_frames(optional) */
447 rc[n]->TMN_TH = (Int)((float)LayerBitRate[n] / LayerFrameRate[n]);
466 rc[n]->TMN_TH = (Int)((float)(LayerBitRate[n] - LayerBitRate[n-1]) / (LayerFrameRate[n] - LayerFrameRate[n-1]));
467 rc[n]->max_BitVariance_num = (Int)((float)(rc[n]->Bs - VBV_fullness) * 10 / ((float)rc[n]->TMN_TH)) - 5;
472 rc[n]->TMN_TH = 1 << 30;
655 /*3.diff_counter_BTsrc, diff_counter_BTdst ==> TMN_TH */
656 //rc->TMN_TH = (Int)((float)pMP->bitrate/pMP->framerate);
657 rc->TMN_TH = (Int)(pMP->target_bits_per_frame);
662 rc->TMN_TH -= (Int)(pMP->target_bits_per_frame * diff_counter_BTsrc * 0.1);
667 rc->TMN_TH += (Int)(pMP->target_bits_per_frame * diff_counter_BTdst * 0.1);
678 rc->T = rc->TMN_TH - rc->TMN_W;
679 //rc->T = rc->TMN_TH - (Int)((float)rc->TMN_W/rc->frameRate);
790 rc->TMN_TH -= (Int)(pMP->target_bits_per_frame / 10.0);
791 rc->T = rc->TMN_TH - rc->TMN_W;
815 rc->TMN_W += (rc->Rc - rc->TMN_TH);
827 rc->TMN_W -= (rc->Rc - rc->TMN_TH);