< prev index next >

src/java.desktop/share/native/libawt/java2d/loops/FourByteAbgrPre.h

Print this page




 200 
 201 #define DeclareFourByteAbgrPreBlendFillVars(PREFIX)
 202 
 203 #define ClearFourByteAbgrPreBlendFillVars(PREFIX, argb)
 204 
 205 #define InitFourByteAbgrPreBlendFillVarsNonPre(PREFIX, argb, COMP_PREFIX)
 206 
 207 #define InitFourByteAbgrPreBlendFillVarsPre(PREFIX, argb, COMP_PREFIX)
 208 
 209 #define StoreFourByteAbgrPreBlendFill(pRas, PREFIX, x, argb, COMP_PREFIX) \
 210     StoreFourByteAbgrPreFrom4ByteArgbComps(pRas, PREFIX, x, COMP_PREFIX)
 211 
 212 #define StoreFourByteAbgrPreFrom4ByteArgbComps(pRas, PREFIX, x, COMP_PREFIX)\
 213     do { \
 214         (pRas)[4*(x)+0] = (jubyte) COMP_PREFIX ## A; \
 215         (pRas)[4*(x)+1] = (jubyte) COMP_PREFIX ## B; \
 216         (pRas)[4*(x)+2] = (jubyte) COMP_PREFIX ## G; \
 217         (pRas)[4*(x)+3] = (jubyte) COMP_PREFIX ## R; \
 218     } while (0)
 219 







 220 #endif /* FourByteAbgrPre_h_Included */


 200 
 201 #define DeclareFourByteAbgrPreBlendFillVars(PREFIX)
 202 
 203 #define ClearFourByteAbgrPreBlendFillVars(PREFIX, argb)
 204 
 205 #define InitFourByteAbgrPreBlendFillVarsNonPre(PREFIX, argb, COMP_PREFIX)
 206 
 207 #define InitFourByteAbgrPreBlendFillVarsPre(PREFIX, argb, COMP_PREFIX)
 208 
 209 #define StoreFourByteAbgrPreBlendFill(pRas, PREFIX, x, argb, COMP_PREFIX) \
 210     StoreFourByteAbgrPreFrom4ByteArgbComps(pRas, PREFIX, x, COMP_PREFIX)
 211 
 212 #define StoreFourByteAbgrPreFrom4ByteArgbComps(pRas, PREFIX, x, COMP_PREFIX)\
 213     do { \
 214         (pRas)[4*(x)+0] = (jubyte) COMP_PREFIX ## A; \
 215         (pRas)[4*(x)+1] = (jubyte) COMP_PREFIX ## B; \
 216         (pRas)[4*(x)+2] = (jubyte) COMP_PREFIX ## G; \
 217         (pRas)[4*(x)+3] = (jubyte) COMP_PREFIX ## R; \
 218     } while (0)
 219 
 220 /*
 221  * SrcOver ## TYPE ## BlendFactor
 222  * Returns appropriate blend value for use in blending calculations.
 223  */
 224 #define SrcOverFourByteAbgrPreBlendFactor(dF, dA) \
 225     (dF)
 226 
 227 #endif /* FourByteAbgrPre_h_Included */
< prev index next >