Lines Matching refs:PREFIX
33 #define DeclareAlphaOperands(PREFIX) \
34 jint PREFIX ## And, PREFIX ## Xor, PREFIX ## Add;
36 #define ExtractAlphaOperandsFor4ByteArgb(f, PREFIX) \
38 PREFIX ## And = (f).andval; \
39 PREFIX ## Xor = (f).xorval; \
40 PREFIX ## Add = (jint) (f).addval - PREFIX ## Xor; \
43 #define ExtractAlphaOperandsFor1ByteGray(f, PREFIX) \
44 ExtractAlphaOperandsFor4ByteArgb(f, PREFIX)
46 #define ExtractAlphaOperandsFor1ShortGray(f, PREFIX) \
48 PREFIX ## And = ((f).andval << 8) + (f).andval; \
49 PREFIX ## Xor = (f).xorval; \
50 PREFIX ## Add = (jint) (((f).addval << 8) + (f).addval) - \
51 PREFIX ## Xor; \
54 #define ApplyAlphaOperands(PREFIX, a) \
55 ((((a) & PREFIX ## And) ^ PREFIX ## Xor) + PREFIX ## Add)
57 #define FuncNeedsAlpha(PREFIX) (PREFIX ## And != 0)
58 #define FuncIsZero(PREFIX) ((PREFIX ## And | PREFIX ## Add) == 0)