Home
last modified time | relevance | path

Searched refs:target_bits_per_frame (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Drate_control.cpp138 pMP[n]->target_bits_per_frame = pMP[n]->bitrate / pMP[n]->framerate; in RC_Initialize()
399 …unter_BTdst + (Int)((float)(rc->Bs / 2 - rc->low_bound) / 2.0 / (pMP->target_bits_per_frame / 10)); in RC_UpdateBuffer()
479 pMP[n]->target_bits_per_frame_prev = pMP[n]->target_bits_per_frame; in RC_UpdateBXRCParams()
480 …pMP[n]->target_bits_per_frame = pMP[n]->bitrate / (float)(pMP[n]->framerate + 0.0001); /* 7/31/0… in RC_UpdateBXRCParams()
485 (pMP[n]->target_bits_per_frame / 10 + 0.0001)); /* 7/31/03 */ in RC_UpdateBXRCParams()
495 … (pMP[n]->target_bits_per_frame / 10) * (pMP[n]->counter_BTdst - pMP[n]->counter_BTsrc)); in RC_UpdateBXRCParams()
622 …bound = (Int)((rc->Bs / 2 - rc->VBV_fullness) * 0.6 / (pMP->target_bits_per_frame / 10)); /* rc->B… in targetBitCalculation()
658 rc->TMN_TH = (Int)(pMP->target_bits_per_frame); in targetBitCalculation()
663 rc->TMN_TH -= (Int)(pMP->target_bits_per_frame * diff_counter_BTsrc * 0.1); in targetBitCalculation()
668 rc->TMN_TH += (Int)(pMP->target_bits_per_frame * diff_counter_BTdst * 0.1); in targetBitCalculation()
[all …]
Dmp4lib_int.h297 float target_bits_per_frame; /* = C = bitrate/framerate */ member