Searched refs:aver_mad_prev (Results 1 – 4 of 4) sorted by relevance
500 pMP[n]->aver_mad_prev = pMP[n]->aver_mad; in RC_UpdateBXRCParams()569 …pMP->aver_mad_prev = (pMP->aver_mad_prev * pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_fr… in targetBitCalculation()597 if (curr_mad > pMP->aver_mad_prev*1.1) in targetBitCalculation()599 if (curr_mad / pMP->aver_mad_prev > 2) in targetBitCalculation()600 … diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()603 … diff_counter_BTdst = (Int)(curr_mad / (pMP->aver_mad_prev + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()607 … diff_counter_BTsrc = 10 - (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation()612 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()
301 float aver_mad_prev; /* previous average mad */ member
557 …pMP->aver_mad_prev = (pMP->aver_mad_prev * pMP->encoded_frames_prev + curr_mad) / (pMP->encoded_fr… in targetBitCalculation()584 if (curr_mad > pMP->aver_mad_prev*1.1) in targetBitCalculation()586 if (curr_mad / pMP->aver_mad_prev > 2) in targetBitCalculation()587 … diff_counter_BTdst = (int)(oscl_sqrt(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.4) - 10; in targetBitCalculation()590 … diff_counter_BTdst = (int)(curr_mad / (pMP->aver_mad_prev + 0.0001) * 10 + 0.4) - 10; in targetBitCalculation()594 … diff_counter_BTsrc = 10 - (int)(oscl_sqrt(curr_mad / (pMP->aver_mad_prev + 0.0001)) * 10 + 0.5); in targetBitCalculation()598 curr_mad <= pMP->aver_mad_prev*1.1 && pMP->counter_BTsrc < pMP->counter_BTdst) in targetBitCalculation()
198 OsclFloat aver_mad_prev; /* previous average mad */ member