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

  /frameworks/rs/driver/runtime/
rs_sample.c 16 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
20 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
  /external/chromium_org/third_party/skia/include/core/
SkColorPriv.h 95 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
99 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
103 #define SkG16Assert(g) SkASSERT((unsigned)(g) <= SK_G16_MASK)
108 SkASSERT(g <= SK_G16_MASK);
115 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT)
181 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK);
432 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK)
437 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT;
  /external/skia/include/core/
SkColorPriv.h 95 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
99 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK)
103 #define SkG16Assert(g) SkASSERT((unsigned)(g) <= SK_G16_MASK)
108 SkASSERT(g <= SK_G16_MASK);
115 #define SK_G16_MASK_IN_PLACE (SK_G16_MASK << SK_G16_SHIFT)
181 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK);
432 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16_MASK)
437 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT;

Completed in 9905 milliseconds