Searched refs:SK_R16_MASK (Results 1 – 1 of 1) sorted by relevance
27 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1) macro31 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)143 SkASSERT(r <= SK_R16_MASK); in SkPackRGB16()150 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)319 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT; in SkPixel32ToPixel16()