/external/skia/src/core/ |
D | SkXfermode.cpp | 25 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp() 179 dst[i] = SkToU8(SkGetPackedA32(res)); in xferA8() 186 unsigned A = SkGetPackedA32(this->xferColor(src[i], in xferA8() 296 dst[i] = SkToU8(SkGetPackedA32(res)); in xferA8() 304 unsigned A = SkGetPackedA32(res); in xferA8() 388 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in srcover_modeproc() 392 return src + SkAlphaMulQ(dst, 256 - SkGetPackedA32(src)); in srcover_modeproc() 400 return dst + SkAlphaMulQ(src, 256 - SkGetPackedA32(dst)); in dstover_modeproc() 405 return SkAlphaMulQ(src, SkAlpha255To256(SkGetPackedA32(dst))); in srcin_modeproc() 410 return SkAlphaMulQ(dst, SkAlpha255To256(SkGetPackedA32(src))); in dstin_modeproc() [all …]
|
D | SkBlitRow_D4444.cpp | 16 SkASSERT(SkGetPackedA32(c) == 255); in S32_D4444_Opaque() 32 SkASSERT(SkGetPackedA32(c) == 255); in S32_D4444_Blend() 54 unsigned scale16 = SkAlpha255To256(255 - SkGetPackedA32(c)) >> 4; in S32A_D4444_Opaque() 76 unsigned dst_scale = 16 - (SkGetPackedA32(sc) * src_scale >> 8); in S32A_D4444_Blend() 98 SkASSERT(SkGetPackedA32(c) == 255); in S32_D4444_Opaque_Dither() 118 SkASSERT(SkGetPackedA32(c) == 255); in S32_D4444_Blend_Dither() 141 unsigned a = SkGetPackedA32(c); in S32A_D4444_Opaque_Dither() 171 unsigned a = SkAlpha255To256(SkGetPackedA32(c)); in S32A_D4444_Blend_Dither()
|
D | SkBlitRow_D16.cpp | 16 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque() 32 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Blend() 71 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend() 94 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque_Dither() 114 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Blend_Dither() 144 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither() 181 int sa = SkGetPackedA32(c); in S32A_D565_Blend_Dither()
|
D | SkBlitRow_D32.cpp | 38 unsigned srcA = SkGetPackedA32(sc); in S32A_Opaque_BlitRow32() 97 unsigned colorA = SkGetPackedA32(color); in Color32()
|
D | SkShader.cpp | 231 return SkGetPackedA32(fPMColor); in getSpan16Alpha() 285 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
|
D | SkUnPreMultiply.cpp | 5 const unsigned a = SkGetPackedA32(c); in PMColorToColor()
|
D | SkBlitter_A8.cpp | 299 unsigned srcA = SkGetPackedA32(span[i]); in blitH() 313 int sa = SkGetPackedA32(src); in aa_blend8()
|
D | SkBlitter.cpp | 588 unsigned a = SkGetPackedA32(c); in shadeSpan() 609 unsigned a = SkGetPackedA32(fPMColor); in shadeSpan()
|
D | SkSpriteBlitter_RGB16.cpp | 34 unsigned sa = SkGetPackedA32(sc); in D16_S32A_Blend_Pixel_helper()
|
D | SkBitmap.cpp | 1078 alpha[x] = SkGetPackedA32(s[x]); in GetBitmapAlpha() 1099 alpha[x] = SkGetPackedA32(table[s[x]]); in GetBitmapAlpha()
|
D | SkBlitter_ARGB32.cpp | 261 unsigned dst_scale = 255 - SkGetPackedA32(color); in blitV()
|
D | SkBlitter_RGB16.cpp | 567 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in blend32_16_row()
|
D | SkDraw.cpp | 230 *data = SkGetPackedA32(pmc); in ChooseBitmapXferProc()
|
/external/skia/src/effects/ |
D | SkColorFilters.cpp | 44 if (SkGetPackedA32(fPMColor) == 0xFF) { in getFlags() 81 if (SkGetPackedA32(fPMColor) == 0xFF) { in getFlags() 263 unsigned a = SkGetPackedA32(c); in filterSpan() 311 unsigned a = SkGetPackedA32(c); in filterSpan() 349 unsigned a = SkGetPackedA32(c); in filterSpan() 432 unsigned a = SkGetPackedA32(c); in filterSpan()
|
D | SkAvoidXfermode.cpp | 111 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp()
|
D | SkColorMatrixFilter.cpp | 243 unsigned a = SkGetPackedA32(c); in filterSpan()
|
D | SkGradientShader.cpp | 395 int a = blend8(SkGetPackedA32(s0), SkGetPackedA32(s1), blend); in dot8_blend_packed32()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 188 #define SkGetPackedA32(packed) ((uint32_t)((packed) << (24 - SK_A32_SHIFT)) >> 24) macro 200 unsigned a = SkGetPackedA32(c); in SkPMColorAssert() 236 return src + SkAlphaMulQ(dst, SkAlpha255To256(255 - SkGetPackedA32(src))); in SkPMSrcOver() 243 unsigned dst_scale = SkAlpha255To256(255 - SkAlphaMul(SkGetPackedA32(src), src_scale)); in SkBlendARGB32() 340 unsigned isa = 255 - SkGetPackedA32(src); in SkSrcOver32To16() 608 return SkDitherARGB32To4444(SkGetPackedA32(c), SkGetPackedR32(c), in SkDitherPixel32To4444()
|
D | SkDither.h | 82 unsigned sa = SkGetPackedA32(c); in SkDitherARGB32For565() 165 unsigned a = SkGetPackedA32(c); in SkDitherARGB32To4444()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm.cpp | 304 unsigned dst_scale = 255 - SkMulDiv255Round(SkGetPackedA32(sc), alpha); in S32A_D565_Blend_neon() 541 unsigned srcA = SkGetPackedA32(sc); in S32A_Opaque_BlitRow32_neon() 724 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither_neon() 891 unsigned a = SkGetPackedA32(c); in S32A_D565_Opaque_Dither_neon() 1023 SkASSERT(SkGetPackedA32(c) == 255); in S32_D565_Opaque_Dither_neon()
|
/external/skia/tests/ |
D | BlitRowTest.cpp | 47 if (SkGetPackedA32(addr[x]) != expected) { in proc_8() 48 *bad = SkGetPackedA32(addr[x]); in proc_8()
|
/external/skia/src/gl/ |
D | SkGL.cpp | 41 SkGetPackedA32(pm)); in SetColor() 106 *rgba++ = SkGetPackedA32(c); in SetRGBA()
|
/external/skia/src/images/ |
D | SkImageDecoder_libpng.cpp | 837 unsigned a = SkGetPackedA32(c); in transform_scanline_8888() 957 if (SkGetPackedA32(colors[i]) != 0xFF) { in pack_palette() 968 const unsigned a = SkGetPackedA32(c); in pack_palette()
|
/external/webkit/WebCore/platform/graphics/skia/ |
D | SkiaUtils.cpp | 135 unsigned a = SkGetPackedA32(pm); in SkPMColorToColor()
|
D | ImageBufferSkia.cpp | 182 destPixel[3] = SkGetPackedA32(srcRow[x]); in getImageData()
|