Home
last modified time | relevance | path

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

/external/skia/src/codec/
DSkMaskSwizzler.cpp61 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask16_to_n32_premul()
112 dstPtr[i/3] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask24_to_n32_premul()
166 dstPtr[i] = SkPreMultiplyARGB(alpha, red, green, blue); in swizzle_mask32_to_n32_premul()
DSkSwizzler.cpp181 dst[x] = SkPreMultiplyARGB(alpha, src[2], src[1], src[0]); in swizzle_bgra_to_n32_premul()
209 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in swizzle_rgba_to_n32_premul()
240 dst[x] = SkPreMultiplyARGB(alpha, src[0], src[1], src[2]); in swizzle_rgba_to_n32_premul_skipZ()
DSkCodec_libpng.cpp154 proc = &SkPreMultiplyARGB; in decodePalette()
DSkCodec_libbmp.cpp663 packARGB = &SkPreMultiplyARGB; in createColorTable()
/external/skia/tests/
DKtxTest.cpp49 pixel = SkPreMultiplyARGB(a, r, g, b); in DEF_TEST()
131 REPORTER_ASSERT(reporter, SkPreMultiplyARGB(0x80, 0xFF, 0xFF, 0xFF) == pixel); in DEF_TEST()
DImageDecodingTest.cpp40 return SkPreMultiplyARGB(a, r, g, b); in premultiply_unpmcolor()
/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.cpp401 *address = SkPreMultiplyARGB(alpha, red, green, blue); in editPixelBit24()
417 *address = SkPreMultiplyARGB(alpha, red, green, blue); in editPixelBit32()
DSkImageDecoder_libpng.cpp697 proc = &SkPreMultiplyARGB; in decodePalette()
/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.h153 SK_API SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b);
/external/skia/src/core/
DSkColor.cpp13 SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b) { in SkPreMultiplyARGB() function
DSkConfig8888.cpp34 c = SkPreMultiplyARGB(SkGetPackedA32(c), SkGetPackedR32(c), in convert32()
/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/effects/
DSkMatrixConvolutionImageFilter.cpp198 *dptr++ = SkPreMultiplyARGB(a, r, g, b); in filterPixels()
DSkPerlinNoiseShader.cpp427 return SkPreMultiplyARGB(rgba[3], rgba[0], rgba[1], rgba[2]); in shade()
/external/skia/experimental/PdfViewer/src/
DSkPdfRenderer.cpp365 colors[i] = SkPreMultiplyARGB(255, i, i, i); in getGrayColortable()
474 colors[i] = SkPreMultiplyARGB(0xff, in getImageFromObjectCore()