Home
last modified time | relevance | path

Searched refs:SkGetPackedR16 (Results 1 – 4 of 4) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h250 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK) macro
343 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK); in SkRGB16Add()
691 unsigned dr = SkGetPackedR16(dst); in SkSrcOver32To16()
719 #define SkPacked16ToR32(c) SkR16ToR32(SkGetPackedR16(c))
730 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToPixel32()
745 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToColor()
882 unsigned dr = SkAlphaMul4(SkGetPackedR16(d), scale); in SkSrcOver4444To16()
996 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in SkBlendLCD16()
1036 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in SkBlendLCD16Opaque()
/external/skia/tests/
DColorTest.cpp15 #define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
/external/skia/src/core/
DSkBlitMask_D32.cpp213 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in LCD16_RowProc_Blend()
253 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in LCD16_RowProc_Opaque()
DSkAAClip.cpp2078 unsigned r = SkGetPackedR16(value); in mergeOne()