Home | History | Annotate | Download | only in src

Lines Matching refs:sad

52     Int sad, k, CBP, mbnum = video->mbnum;
143 sad = video->mot[mbnum][k+1].sad;
168 sad = getBlockSum(input, width);
178 sad = Sad8x8(input, pred, width);
187 sad = getBlockSum(input, width);
190 sad = Sad8x8(input, pred, width);
194 if (sad < DctTh1 && !(shortHeader && intra)) /* all-zero */
200 else if (sad < 18*QP/*(QP<<4)*/) /* DC-only */
214 if (sad < 22*QP/*(QP<<4)+(QP<<1)*/) /* 2x2 DCT */
220 else if (sad < (QP << 5)) /* 4x4 DCT */
281 Int sad, k, CBP, mbnum = video->mbnum;
370 sad = video->mot[mbnum][k+1].sad;
397 sad = getBlockSum(input, width);
400 sad = Sad8x8(input, pred, width);
408 sad = getBlockSum(input, width);
410 sad = Sad8x8(input, pred, width);
414 if (sad < DctTh1) /* all-zero */
420 else if (sad < DctTh2) /* DC-only */
433 if (sad < DctTh3) /* 2x2-DCT */
439 else if (sad < DctTh4) /* 4x4 DCT */
524 /* Purpose : Find SAD between prev block and current block */
533 Int sad = 0;
580 sad = ((UInt)cur1 >> 16); /* take upper 16 bit */
581 return sad;
596 Int sad = 0, sum4 = 0, sum2 = 0;
618 sad = ((UInt)load1 >> 16); /* take upper 16 bit */
620 return sad;