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

  /frameworks/rs/driver/runtime/
rs_sample.c 14 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)
18 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
  /external/skia/include/core/
SkColorPriv.h 238 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)
242 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
246 #define SkR16Assert(r) SkASSERT((unsigned)(r) <= SK_R16_MASK)
251 SkASSERT(r <= SK_R16_MASK);
258 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)
335 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK);
606 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK)
611 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT;
    [all...]

Completed in 133 milliseconds