Home
last modified time | relevance | path

Searched refs:cur1 (Results 1 – 1 of 1) sorted by relevance

/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
Dfastcodemb.cpp539 Int cur1, cur2, prev1, prev2; in Sad8x8() local
546 cur1 = curInt[1]; /* load cur[4..7] */ in Sad8x8()
562 tmp = prev1 ^ cur1; in Sad8x8()
563 cur1 = prev1 - cur1; in Sad8x8()
564 tmp = tmp ^ cur1; /* (^)^(-) last bit is one if carry */ in Sad8x8()
566 if (cur1 < 0) tmp = tmp | 0x80000000; /* corcurt sign of first byte */ in Sad8x8()
568 cur1 = cur1 + (tmp >> 7); /* negative bytes is added with 0xFF, -1 */ in Sad8x8()
569 cur1 = cur1 ^(tmp >> 7); /* take absolute by inverting bits (EOR) */ in Sad8x8()
571 sum4 = sum4 + cur1; in Sad8x8()
572 cur1 = cur1 & (mask << 8); /* mask first and third bytes */ in Sad8x8()
[all …]