Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitter_4444.cpp31 unsigned dst_scale = SkAlpha15To16(15 - SkAlphaMul4(SkGetPackedA4444(src), src_scale)); in SkBlendARGB4444()
89 SkASSERT(SkGetPackedA4444(fPMColor16Other) >= SkGetPackedA4444(fPMColor16)); in SkARGB4444_Blitter()
92 fScale16 = SkAlpha15To16(SkGetPackedA4444(fPMColor16Other)); in SkARGB4444_Blitter()
199 unsigned invScale = 16 - SkAlpha15To16(SkGetPackedA4444(c32)); in blitV()
279 unsigned dst_scale = SkAlpha15To16(15 - SkGetPackedA4444(src)); // FIX in blitAntiH()
/external/skia/include/core/
DSkColorPriv.h422 #define SkGetPackedA4444(c) (((unsigned)(c) >> SK_A4444_SHIFT) & 0xF) macro
427 #define SkPacked4444ToA32(c) SkReplicateNibble(SkGetPackedA4444(c))
434 unsigned a = SkGetPackedA4444(c); in SkPMColor16Assert()
529 unsigned sa = SkGetPackedA4444(s); in SkSrcOver4444To16()
566 unsigned srcA = SkGetPackedA4444(src) * scale16; in SkBlend4444()
576 uint32_t d = (SkGetPackedA4444(c) << SK_A32_SHIFT) | in SkPixel4444ToPixel32()