Searched refs:aver_mad (Results 1 – 4 of 4) sorted by relevance
498 if (pMP[n]->aver_mad != 0) in RC_UpdateBXRCParams()500 pMP[n]->aver_mad_prev = pMP[n]->aver_mad; in RC_UpdateBXRCParams()504 pMP[n]->aver_mad = 0; in RC_UpdateBXRCParams()566 … pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames + curr_mad) / (pMP->encoded_frames + 1); in targetBitCalculation()575 if (curr_mad > pMP->aver_mad*1.1) in targetBitCalculation()577 if (curr_mad / (pMP->aver_mad + 0.0001) > 2) in targetBitCalculation()578 … diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()581 diff_counter_BTdst = (Int)(curr_mad / (pMP->aver_mad + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()585 … diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.5); in targetBitCalculation()590 curr_mad <= pMP->aver_mad*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()[all …]
298 float aver_mad; /* so-far average mad could replace sum_mad */ member
552 … pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames + curr_mad) / (pMP->encoded_frames + 1); in targetBitCalculation()561 if (curr_mad > pMP->aver_mad*1.1) in targetBitCalculation()563 if (curr_mad / (pMP->aver_mad + 0.0001) > 2) in targetBitCalculation()564 … diff_counter_BTdst = (int)(sqrt(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()567 diff_counter_BTdst = (int)(curr_mad / (pMP->aver_mad + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()571 diff_counter_BTsrc = 10 - (int)(sqrt(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.5); in targetBitCalculation()575 curr_mad <= pMP->aver_mad*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()679 …pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames - pMP->mad) / (pMP->encoded_frames - 1 + 0.00… in updateRC_PostProc()
199 OsclFloat aver_mad; /* so-far average mad could replace sum_mad */ member