Lines Matching defs:thr
149 unsigned int act, actd, sad, usad, vsad, sse, thr, thrsq, actrisk;
188 /* thr = qdiff/16 + log2(act) + log4(qprev) */
189 thr = (qdiff >> 4);
190 while (actd >>= 1) thr++;
191 while (qprev >>= 2) thr++;
194 thrsq = thr * thr;
200 if (sad < thr &&
203 2 * usad < thr && 2 * vsad < thr && !actrisk)
211 ifactor = (sad << MFQE_PRECISION) / thr;