Home
last modified time | relevance | path

Searched refs:SkGetPackedA32 (Results 1 – 25 of 25) sorted by relevance

/external/skia/src/core/
DSkXfermode.cpp25 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 …]
DSkBlitRow_D4444.cpp16 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()
DSkBlitRow_D16.cpp16 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()
DSkBlitRow_D32.cpp38 unsigned srcA = SkGetPackedA32(sc); in S32A_Opaque_BlitRow32()
97 unsigned colorA = SkGetPackedA32(color); in Color32()
DSkShader.cpp231 return SkGetPackedA32(fPMColor); in getSpan16Alpha()
285 memset(alpha, SkGetPackedA32(fPMColor), count); in shadeSpanAlpha()
DSkUnPreMultiply.cpp5 const unsigned a = SkGetPackedA32(c); in PMColorToColor()
DSkBlitter_A8.cpp299 unsigned srcA = SkGetPackedA32(span[i]); in blitH()
313 int sa = SkGetPackedA32(src); in aa_blend8()
DSkBlitter.cpp588 unsigned a = SkGetPackedA32(c); in shadeSpan()
609 unsigned a = SkGetPackedA32(fPMColor); in shadeSpan()
DSkSpriteBlitter_RGB16.cpp34 unsigned sa = SkGetPackedA32(sc); in D16_S32A_Blend_Pixel_helper()
DSkBitmap.cpp1078 alpha[x] = SkGetPackedA32(s[x]); in GetBitmapAlpha()
1099 alpha[x] = SkGetPackedA32(table[s[x]]); in GetBitmapAlpha()
DSkBlitter_ARGB32.cpp261 unsigned dst_scale = 255 - SkGetPackedA32(color); in blitV()
DSkBlitter_RGB16.cpp567 unsigned scale = SkAlpha255To256(0xFF - SkGetPackedA32(src)) >> 3; in blend32_16_row()
DSkDraw.cpp230 *data = SkGetPackedA32(pmc); in ChooseBitmapXferProc()
/external/skia/src/effects/
DSkColorFilters.cpp44 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()
DSkAvoidXfermode.cpp111 unsigned a = SkAlphaBlend(SkGetPackedA32(src), SkGetPackedA32(dst), scale); in SkFourByteInterp()
DSkColorMatrixFilter.cpp243 unsigned a = SkGetPackedA32(c); in filterSpan()
DSkGradientShader.cpp395 int a = blend8(SkGetPackedA32(s0), SkGetPackedA32(s1), blend); in dot8_blend_packed32()
/external/skia/include/core/
DSkColorPriv.h188 #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()
DSkDither.h82 unsigned sa = SkGetPackedA32(c); in SkDitherARGB32For565()
165 unsigned a = SkGetPackedA32(c); in SkDitherARGB32To4444()
/external/skia/src/opts/
DSkBlitRow_opts_arm.cpp304 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/
DBlitRowTest.cpp47 if (SkGetPackedA32(addr[x]) != expected) { in proc_8()
48 *bad = SkGetPackedA32(addr[x]); in proc_8()
/external/skia/src/gl/
DSkGL.cpp41 SkGetPackedA32(pm)); in SetColor()
106 *rgba++ = SkGetPackedA32(c); in SetRGBA()
/external/skia/src/images/
DSkImageDecoder_libpng.cpp837 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/
DSkiaUtils.cpp135 unsigned a = SkGetPackedA32(pm); in SkPMColorToColor()
DImageBufferSkia.cpp182 destPixel[3] = SkGetPackedA32(srcRow[x]); in getImageData()