HomeSort by relevance Sort by last modified time
    Searched refs:aver_mad (Results 1 - 2 of 2) sorted by null

  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp 498 if (pMP[n]->aver_mad != 0)
500 pMP[n]->aver_mad_prev = pMP[n]->aver_mad;
504 pMP[n]->aver_mad = 0;
522 /* Purpose : quadratic bit allocation model: T(n) = C*sqrt(mad(n)/aver_mad(n-1)) */
565 //pMP->aver_mad = average_mad;
567 pMP->aver_mad = (pMP->aver_mad * pMP->encoded_frames + curr_mad) / (pMP->encoded_frames + 1);
576 if (curr_mad > pMP->aver_mad*1.1)
578 if (curr_mad / (pMP->aver_mad + 0.0001) > 2)
579 diff_counter_BTdst = (Int)(M4VENC_SQRT(curr_mad / (pMP->aver_mad + 0.0001)) * 10 + 0.4) - 10
    [all...]
mp4lib_int.h 299 float aver_mad; /* so-far average mad could replace sum_mad */ member in struct:tagMultiPass

Completed in 64 milliseconds