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

  /frameworks/rs/driver/runtime/
rs_sample.c 15 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)
19 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
  /external/chromium_org/third_party/skia/include/core/
SkColorPriv.h 94 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)
98 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
102 #define SkR16Assert(r) SkASSERT((unsigned)(r) <= SK_R16_MASK)
107 SkASSERT(r <= SK_R16_MASK);
114 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)
180 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK);
431 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK)
436 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT;
  /external/skia/include/core/
SkColorPriv.h 94 #define SK_R16_MASK ((1 << SK_R16_BITS) - 1)
98 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK)
102 #define SkR16Assert(r) SkASSERT((unsigned)(r) <= SK_R16_MASK)
107 SkASSERT(r <= SK_R16_MASK);
114 #define SK_R16_MASK_IN_PLACE (SK_R16_MASK << SK_R16_SHIFT)
180 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK);
431 #define SkPacked32ToR16(c) (((unsigned)(c) >> (SK_R32_SHIFT + SK_R32_BITS - SK_R16_BITS)) & SK_R16_MASK)
436 unsigned r = ((c >> (SK_R32_SHIFT + (8 - SK_R16_BITS))) & SK_R16_MASK) << SK_R16_SHIFT;

Completed in 90 milliseconds