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

  /frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
rate_control.cpp 708 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP;
728 curr_RD = (float)curr_target / curr_mad;
    [all...]
  /frameworks/av/media/libstagefright/codecs/avc/enc/src/
rate_control.cpp 411 OsclFloat curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP;
427 curr_RD = (OsclFloat)curr_target / curr_mad;
481 Qstep = (int)(prev_RD / curr_RD + 0.5);
485 // rateCtrl->Qc =(Int)(prev_QP * M4VENC_SQRT(prev_RD/curr_RD) + 0.9);
487 if (prev_RD / curr_RD > 0.5 && prev_RD / curr_RD < 2.0)
488 Qstep = (int)(prev_QP * (sqrt(prev_RD / curr_RD) + prev_RD / curr_RD) / 2.0 + 0.9); /* Quadratic and linear approximation */
490 Qstep = (int)(prev_QP * (sqrt(prev_RD / curr_RD) + pow(prev_RD / curr_RD, 1.0 / 3.0)) / 2.0 + 0.9)
    [all...]

Completed in 2464 milliseconds