Home
last modified time | relevance | path

Searched refs:SkPreMultiplyARGB (Results 1 – 18 of 18) sorted by relevance

/external/skia/src/images/
DSkScaledBitmapSampler.cpp58 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D8888()
89 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D8888_SkipZ()
276 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D4444()
294 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D4444_SkipZ()
314 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D4444_D()
333 SkPMColor c = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in Sample_RGBA_D4444_D_SkipZ()
DSkImageDecoder_libico.cpp406 *address = SkPreMultiplyARGB(alpha, red, green, blue); in editPixelBit24()
422 *address = SkPreMultiplyARGB(alpha, red, green, blue); in editPixelBit32()
DSkImageDecoder_libpng.cpp669 proc = &SkPreMultiplyARGB; in decodePalette()
/external/skia/src/codec/
DSkMaskSwizzler.cpp60 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask16_to_n32_premul()
132 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask24_to_n32_premul()
202 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask32_to_n32_premul()
/external/skia/samplecode/
DSampleVertices.cpp31 SkPMColor color0 = SkPreMultiplyARGB(0x80, 0x80, 0xff, 0x80); in make_shader0()
32 SkPMColor color1 = SkPreMultiplyARGB(0x40, 0xff, 0x00, 0xff); in make_shader0()
DSampleDash.cpp22 *bm.getAddr32(0, 0) = SkPreMultiplyARGB(0xFF, SkColorGetR(c), in setBitmapDash()
DSampleUnpremul.cpp38 return SkPreMultiplyARGB(a, r, g, b); in premultiply_unpmcolor()
/external/skia/include/core/
DSkColor.h150 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
/external/skia/bench/
DRepeatTileBench.cpp62 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb); in convert_to_index666()
DBitmapBench.cpp43 *colors++ = SkPreMultiplyARGB(0xFF, rr, gg, bb); in convertToIndex666()
/external/skia/src/core/
DSkColor.cpp12 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPreMultiplyARGB() function
DSkConfig8888.cpp34 c = SkPreMultiplyARGB(SkGetPackedA32(c), SkGetPackedR32(c), in convert32()
DSkLightingShader.cpp469 return SkPreMultiplyARGB(a, (int) color.fX, (int) color.fY, (int) color.fZ); in convert()
/external/skia/src/effects/gradients/
DSk4fLinearGradient.cpp23 pmc = SkPreMultiplyARGB(SkGetPackedA32(pmc), SkGetPackedR32(pmc), in trunc_from_255()
DSkLinearGradient.cpp542 c = SkPreMultiplyARGB(SkGetPackedA32(c), SkGetPackedR32(c), in trunc_from_255()
/external/skia/src/effects/
DSkMatrixConvolutionImageFilter.cpp198 *dptr++ = SkPreMultiplyARGB(a, r, g, b); in filterPixels()
DSkPerlinNoiseShader.cpp429 return SkPreMultiplyARGB(rgba[3], rgba[0], rgba[1], rgba[2]); in shade()
/external/skia/experimental/SkPerlinNoiseShader2/
DSkPerlinNoiseShader2.cpp566 return SkPreMultiplyARGB(rgba[3], rgba[0], rgba[1], rgba[2]); in shade()