Searched refs:SK_B16_BITS (Results 1 – 6 of 6) sorted by relevance
56 #define SK_B16_BITS 5 macro58 #define SK_R16_SHIFT (SK_B16_BITS + SK_G16_BITS)59 #define SK_G16_SHIFT (SK_B16_BITS)64 #define SK_B16_MASK ((1 << SK_B16_BITS) - 1)248 #define SkB32ToB16_MACRO(b) ((unsigned)(b) >> (SK_B32_BITS - SK_B16_BITS))271 #define SkPacked32ToB16(c) (((unsigned)(c) >> (SK_B32_SHIFT + SK_B32_BITS - SK_B16_BITS)) & SK_B16…276 unsigned b = ((c >> (SK_B32_SHIFT + (8 - SK_B16_BITS))) & SK_B16_MASK) << SK_B16_SHIFT; in SkPixel32ToPixel16()296 …b = ((b << 1) - ((b >> (8 - SK_B16_BITS) << (8 - SK_B16_BITS)) | (b >> SK_B16_BITS))) >> (8 - SK_B… in SkDitherPack888ToRGB16()339 db = (sb + SkMul16ShiftRound(db, isa, SK_B16_BITS)) >> (8 - SK_B16_BITS); in SkSrcOver32To16()356 return (b << (8 - SK_B16_BITS)) | (b >> (2 * SK_B16_BITS - 8)); in SkB16ToB32()[all …]
54 packing->BBits = SK_B16_BITS; in anp_getPixelPacking()
74 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in blit_lcd16_opaque()
546 SkAlphaMul(b, fScale) >> (8 - SK_B16_BITS)); in SkRGB16_Blitter()
729 b >> (8 - SK_B16_BITS)); in eraseARGB()
483 pos_le(info_ptr->sig_bit.blue, SK_B16_BITS)) { in getBitmapConfig()