Home | History | Annotate | Download | only in src

Lines Matching refs:prev_mad

413     OsclFloat curr_mad, prev_mad, curr_RD, prev_RD, average_mad, aver_QP;
434 prev_mad = pMP->pRDSamples[i][0].mad;
441 prev_mad = 0.0;
443 while (i < pMP->frameRange && prev_mad < 0.001) /* find first one with nonzero prev_mad */
445 prev_mad = pMP->pRDSamples[i][0].mad;
456 AVC_ABS(prev_mad - curr_mad) > AVC_ABS(pMP->pRDSamples[i][0].mad - curr_mad))
458 prev_mad = pMP->pRDSamples[i][0].mad;
477 if (prev_mad > 0.001) // only when prev_mad is greater than 0, otherwise keep using the same QP
479 prev_mad;