Home
last modified time | relevance | path

Searched refs:SK_B16_MASK (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h64 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1) macro
68 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK)
72 #define SkB16Assert(b) SkASSERT((unsigned)(b) <= SK_B16_MASK)
77 SkASSERT(b <= SK_B16_MASK); in SkPackRGB16()
84 #define SK_B16_MASK_IN_PLACE (SK_B16_MASK << SK_B16_SHIFT)
150 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add()
276 …e SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16_MASK)
281 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()
/external/skia/src/effects/
DSkAvoidXfermode.cpp64 SkASSERT(b <= SK_B16_MASK); in color_dist16()