Home
last modified time | relevance | path

Searched refs:aver_mad_prev (Results 1 – 4 of 4) sorted by relevance

/external/opencore/codecs_v2/video/m4v_h263/enc/src/
Drate_control.cpp500 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()
Dmp4lib_int.h301 float aver_mad_prev; /* previous average mad */ member
/external/opencore/codecs_v2/video/avc_h264/enc/src/
Drate_control.cpp557 …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()
Davcenc_int.h198 OsclFloat aver_mad_prev; /* previous average mad */ member