HomeSort by relevance Sort by last modified time
    Searched defs:SK_G16_MASK (Results 1 - 2 of 2) sorted by null

  /frameworks/rs/driver/runtime/
rs_sample.c 15 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
19 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
  /external/skia/include/core/
SkColorPriv.h 239 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
243 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
247 #define SkG16Assert(g) SkASSERT((unsigned)(g) <= SK_G16_MASK)
252 SkASSERT(g <= SK_G16_MASK);
259 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT)
336 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK);
607 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK)
612 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT;
    [all...]

Completed in 127 milliseconds