Searched refs:SkAlphaMul4 (Results 1 – 1 of 1) sorted by relevance
786 static inline int SkAlphaMul4(int value, int scale) { in SkAlphaMul4() function791 #define SkAlphaMul4(value, scale) ((value) * (scale) >> 4) macro859 unsigned dr = SkAlphaMul4(SkGetPackedR16(d), scale); in SkSrcOver4444To16()860 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16()861 unsigned db = SkAlphaMul4(SkGetPackedB16(d), scale); in SkSrcOver4444To16()