Searched refs:SK_G16_BITS (Results 1 – 6 of 6) sorted by relevance
55 #define SK_G16_BITS 6 macro58 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)63 #define SK_G16_MASK ((1 << SK_G16_BITS) - 1)252 #define SkG32ToG16_MACRO(g) ((unsigned)(g) >> (SK_G32_BITS - SK_G16_BITS))275 #define SkPacked32ToG16(c) (((unsigned)(c) >> (SK_G32_SHIFT + SK_G32_BITS - SK_G16_BITS)) & SK_G16…280 unsigned g = ((c >> (SK_G32_SHIFT + (8 - SK_G16_BITS))) & SK_G16_MASK) << SK_G16_SHIFT; in SkPixel32ToPixel16()300 …g = ((g << 1) - ((g >> (8 - SK_G16_BITS) << (8 - SK_G16_BITS)) | (g >> SK_G16_BITS))) >> (8 - SK_G… in SkDitherPack888ToRGB16()343 dg = (sg + SkMul16ShiftRound(dg, isa, SK_G16_BITS)) >> (8 - SK_G16_BITS); in SkSrcOver32To16()357 return (g << (8 - SK_G16_BITS)) | (g >> (2 * SK_G16_BITS - 8)); in SkG16ToG32()376 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32()[all …]
52 packing->GBits = SK_G16_BITS; in anp_getPixelPacking()
67 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); in color_dist16()178 unsigned opG = SkColorGetG(fOpColor) >> (8 - SK_G16_BITS); in xfer16()
465 pos_le(info_ptr->sig_bit.green, SK_G16_BITS) && in getBitmapConfig()
585 v = SkPackRGB16(r >> (8 - SK_R16_BITS), g >> (8 - SK_G16_BITS), in eraseARGB()
545 SkAlphaMul(g, fScale) >> (8 - SK_G16_BITS), in SkRGB16_Blitter()