Searched refs:aver_mad_prev (Results 1 – 2 of 2) sorted by relevance
500 pMP[n]->aver_mad_prev = pMP[n]->aver_mad; in RC_UpdateBXRCParams()570 …pMP->aver_mad_prev = (pMP->aver_mad_prev * pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_fr… in targetBitCalculation()598 if (curr_mad > pMP->aver_mad_prev*1.1) in targetBitCalculation()600 if (curr_mad / pMP->aver_mad_prev > 2) in targetBitCalculation()601 … diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()604 … diff_counter_BTdst = (Int)(curr_mad / (pMP->aver_mad_prev + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()608 … diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation()613 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()
300 float aver_mad_prev; /* previous average mad */ member