Searched defs:average_mad (Results 1 - 2 of 2) 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) &&
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Drate_control.cpp411 OsclFloat curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP; local
507 average_mad = (pMP->encoded_frames == 0 ? 0 : pMP->sum_mad / (OsclFloat)pMP->encoded_frames); /* this function is called from the scond encoded frame*/
509 ((OsclFloat)rateCtrl->Qc <= aver_QP*1.1 || curr_mad <= average_mad*1.1) &&
523 OsclFloat curr_mad;//, average_mad;
547 //average_mad = (pMP->encoded_frames < 1 ? curr_mad : pMP->sum_mad/(OsclFloat)(pMP->encoded_frames+1)); /* this function is called from the scond encoded frame*/
548 //pMP->aver_mad = average_mad;
555 /*2.average_mad, mad ==> diff_counter_BTsrc, diff_counter_BTdst */
567 else /* curr_mad <= average_mad*1.1 */
588 else /* curr_mad <= average_mad*1.1 */

Completed in 581 milliseconds