Searched refs:SK_B16_SHIFT (Results 1 – 2 of 2) sorted by relevance
25 #define SK_B16_SHIFT 0 macro33 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)147 return SkToU16((r << SK_R16_SHIFT) | (g << SK_G16_SHIFT) | (b << SK_B16_SHIFT)); in SkPackRGB16()152 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)321 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()328 (SkB32ToB16(b) << SK_B16_SHIFT); in SkPack888ToRGB16()
108 #define SK_B16x5_B32x5_SHIFT (SK_B32_SHIFT - SK_B16_SHIFT - SK_B16_BITS + 5)