Searched refs:average_mad (Results 1 - 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Drate_control.cpp536 float curr_mad;//, average_mad;
563 //average_mad = (pMP->encoded_frames < 1 ? curr_mad : pMP->sum_mad/(float)(pMP->encoded_frames+1)); /* this function is called from the scond encoded frame*/
564 //pMP->aver_mad = average_mad;
571 /*2.average_mad, mad ==> diff_counter_BTsrc, diff_counter_BTdst */
583 else /* curr_mad <= average_mad*1.1 */
605 else /* curr_mad <= average_mad*1.1 */
708 float curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; local
785 average_mad = (pMP->encoded_frames == 0 ? 0 : pMP->sum_mad / (float)pMP->encoded_frames); /* this function is called from the scond encoded frame*/
787 ((float)rc->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) &&

Completed in 333 milliseconds