Home
last modified time | relevance | path

Searched refs:cur2 (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
547 cur2 = curInt[0]; in Sad8x8()
553 tmp = prev2 ^ cur2; in Sad8x8()
554 cur2 = prev2 - cur2; in Sad8x8()
555 tmp = tmp ^ cur2; /* (^)^(-) last bit is one if carry */ in Sad8x8()
557 if (cur2 < 0) tmp = tmp | 0x80000000; /* corcurt sign of first byte */ in Sad8x8()
559 cur2 = cur2 + (tmp >> 7); /* negative bytes is added with 0xFF, -1 */ in Sad8x8()
560 cur2 = cur2 ^(tmp >> 7); /* take absolute by inverting bits (EOR) */ in Sad8x8()
574 sum4 = sum4 + cur2; in Sad8x8()
575 cur2 = cur2 & (mask << 8); /* mask first and third bytes */ in Sad8x8()
[all …]