Searched refs:SK_G16_BITS (Results 1 – 2 of 2) sorted by relevance
44 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); in color_dist16()126 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS); in xfer16()
7 #define SK_G16_BITS 6 macro10 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)15 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)27 return (g << (8 - SK_G16_BITS)) | (g >> (2 * SK_G16_BITS - 8)); in SkG16ToG32()