/external/skia/tests/ |
ColorTest.cpp | 16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS)) 22 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 36 unsigned dg = SkMulS16(SkGetPackedG32(sc), alpha) + SkMulS16(SkGetPackedG16(dc) << 2, dst_scale); 57 unsigned rg = SkGetPackedG16(rc); 68 unsigned dg = (SkMulS16(SkGetPackedG32(sc), alpha) >> 2) + SkMulS16(SkGetPackedG16(dc), dst_scale); 87 unsigned dg = (SkGetPackedG32(sc) >> 2) * alpha + SkGetPackedG16(dc) * dst_scale;
|
/external/skia/legacy/src/core/ |
SkBlitRow_D16.cpp | 41 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), 78 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 129 SkAlphaBlend(sg, SkGetPackedG16(d), scale), 196 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8;
|
SkSpriteBlitter_RGB16.cpp | 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); 38 SkGetPackedG16(dc) * dst_scale) >> 8;
|
SkBlitMask_D32.cpp | 416 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); 456 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5);
|
SkXfermode.cpp | [all...] |
SkAAClip.cpp | [all...] |
/external/skia/src/core/ |
SkBlitRow_D16.cpp | 42 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), 79 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 130 SkAlphaBlend(sg, SkGetPackedG16(d), scale), 197 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8;
|
SkSpriteBlitter_RGB16.cpp | 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); 38 SkGetPackedG16(dc) * dst_scale) >> 8;
|
SkBlitMask_D32.cpp | 418 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); 458 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5);
|
SkXfermode.cpp | [all...] |
SkAAClip.cpp | [all...] |
/external/skia/include/core/ |
SkColorPriv.h | 99 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 181 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); 441 unsigned dg = SkGetPackedG16(dst); 469 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 480 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); 495 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); 646 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); 776 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); 816 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5) [all...] |
/external/skia/legacy/include/core/ |
SkColorPriv.h | 75 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 157 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); 406 unsigned dg = SkGetPackedG16(dst); 434 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 445 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); 460 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); 611 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); 741 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); 781 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5) [all...] |
/external/skia/legacy/src/effects/ |
SkAvoidXfermode.cpp | 59 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 152 SkAlphaBlend(SkPacked32ToG16(src), SkGetPackedG16(dst), scale),
|
/external/skia/src/effects/ |
SkAvoidXfermode.cpp | 45 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); 133 SkAlphaBlend(SkPacked32ToG16(src), SkGetPackedG16(dst), scale),
|
/external/skia/src/opts/ |
SkBlitRow_opts_arm_neon.cpp | 300 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 403 SkAlphaBlend(sg, SkGetPackedG16(d), scale), [all...] |
/external/skia/src/pdf/ |
SkPDFImage.cpp | 111 dst[1] = SkGetPackedG16(src[x]);
|
/external/skia/legacy/src/opts/ |
SkBlitRow_opts_arm.cpp | 294 unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); 397 SkAlphaBlend(sg, SkGetPackedG16(d), scale), [all...] |
/frameworks/compile/libbcc/lib/Renderscript/runtime/ |
rs_sample.c | 20 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) 36 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c))
|
/external/skia/legacy/src/images/ |
SkImageDecoder_libjpeg.cpp | 816 int g = SkGetPackedG16(c); [all...] |
/external/skia/src/images/ |
SkImageDecoder_libjpeg.cpp | 854 int g = SkGetPackedG16(c); [all...] |