Searched refs:diff_counter_BTsrc (Results 1 – 2 of 2) sorted by relevance
/external/opencore/codecs_v2/video/m4v_h263/enc/src/ |
D | rate_control.cpp | 537 Int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local 557 diff_counter_BTsrc = diff_counter_BTdst = 0; in targetBitCalculation() 585 … diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.5); in targetBitCalculation() 589 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation() 591 diff_counter_BTsrc = 1; in targetBitCalculation() 607 … diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation() 611 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation() 613 diff_counter_BTsrc = 1; in targetBitCalculation() 622 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() 630 diff_counter_BTsrc = PV_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() [all …]
|
/external/opencore/codecs_v2/video/avc_h264/enc/src/ |
D | rate_control.cpp | 528 int diff_counter_BTsrc, diff_counter_BTdst, prev_counter_diff, curr_counter_diff, bound; in targetBitCalculation() local 545 diff_counter_BTsrc = diff_counter_BTdst = 0; in targetBitCalculation() 573 … diff_counter_BTsrc = 10 - (int)(oscl_sqrt(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.5); in targetBitCalculation() 576 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation() 578 diff_counter_BTsrc = 1; in targetBitCalculation() 594 … diff_counter_BTsrc = 10 - (int)(oscl_sqrt(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation() 597 if (diff_counter_BTsrc == 0 && diff_counter_BTdst == 0 && in targetBitCalculation() 599 diff_counter_BTsrc = 1; in targetBitCalculation() 608 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() 616 diff_counter_BTsrc = AVC_MIN(diff_counter_BTsrc, bound); in targetBitCalculation() [all …]
|