Searched refs:SK_G16_SHIFT (Results 1 – 2 of 2) sorted by relevance
24 #define SK_G16_SHIFT (SK_B16_BITS) macro32 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)147 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()151 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT)320 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()327 (SkG32ToG16(g) << SK_G16_SHIFT) | in SkPack888ToRGB16()
107 #define SK_G16x5_G32x5_SHIFT (SK_G32_SHIFT - SK_G16_SHIFT - SK_G16_BITS + 5)