Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DAvoidXfermode.cpp44 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); in color_dist16()
126 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS); in xfer16()
/frameworks/rs/driver/runtime/
Drs_sample.c7 #define SK_G16_BITS 6 macro
10 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)
15 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)
27 return (g << (8 - SK_G16_BITS)) | (g >> (2 * SK_G16_BITS - 8)); in SkG16ToG32()