Searched refs:SkPreMultiplyColor (Results 1 – 25 of 34) sorted by relevance
12
/external/skia/tests/ |
D | ColorTest.cpp | 23 SkPMColor p0 = SkPreMultiplyColor(c0); in test_premul() 26 SkPMColor p1 = SkPreMultiplyColor(c1); in test_premul() 71 SkPMColor src = SkPreMultiplyColor(colorSrc); in test_fast_interp() 72 SkPMColor dst = SkPreMultiplyColor(colorDst); in test_fast_interp()
|
D | SkNxTest.cpp | 193 SkPreMultiplyColor(0xff00ff00), in DEF_TEST() 194 SkPreMultiplyColor(0x40008000), in DEF_TEST() 195 SkPreMultiplyColor(0x7f020406), in DEF_TEST() 196 SkPreMultiplyColor(0x00000000), in DEF_TEST()
|
D | CachedDecodingPixelRefTest.cpp | 33 static SkPMColor PMColor() { return SkPreMultiplyColor(Color()); } in PMColor()
|
D | ImageTest.cpp | 569 SkPMColor pmColors[1] = {SkPreMultiplyColor(SK_ColorWHITE)}; in DEF_TEST() 621 const SkPMColor expected = SkPreMultiplyColor(SK_ColorWHITE); in image_test_read_pixels() 776 REPORTER_ASSERT(reporter, SkPreMultiplyColor(SK_ColorWHITE) == *pm.addr32(0, 0)); in test_peek()
|
/external/skia/gm/ |
D | clippedbitmapshaders.cpp | 32 pixels[0] = SkPreMultiplyColor(SK_ColorRED); in create_bitmap() 33 pixels[1] = SkPreMultiplyColor(SK_ColorGREEN); in create_bitmap() 34 pixels[2] = SkPreMultiplyColor(SK_ColorBLACK); in create_bitmap() 35 pixels[3] = SkPreMultiplyColor(SK_ColorBLUE); in create_bitmap()
|
D | samplerstress.cpp | 54 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorBLACK); in createTexture() 57 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorRED); in createTexture() 60 addr[y*xSize+x] = SkPreMultiplyColor(SK_ColorGREEN); in createTexture()
|
D | bitmaprect.cpp | 166 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FFFFFF); in make_big_bitmap() 168 *bitmap->getAddr32(x, y) = SkPreMultiplyColor(0x88FF0000); in make_big_bitmap()
|
D | image_pict.cpp | 194 SkPreMultiplyColor(SK_ColorRED), in make_ctable_generator() 195 SkPreMultiplyColor(0), in make_ctable_generator() 196 SkPreMultiplyColor(SK_ColorBLUE), in make_ctable_generator()
|
D | bleed.cpp | 111 const SkPMColor kBlue = SkPreMultiplyColor(SK_ColorBLUE); in make_ringed_color_bitmap() 112 const SkPMColor kRed = SkPreMultiplyColor(SK_ColorRED); in make_ringed_color_bitmap() 113 const SkPMColor kBlack = SkPreMultiplyColor(SK_ColorBLACK); in make_ringed_color_bitmap() 114 const SkPMColor kWhite = SkPreMultiplyColor(SK_ColorWHITE); in make_ringed_color_bitmap()
|
D | bitmapfilters.cpp | 18 colorsPM[i] = SkPreMultiplyColor(colors[i]); in make_bm()
|
D | encode-srgb.cpp | 61 return SkPreMultiplyColor(color); in make_index8()
|
D | SkLinearBitmapPipelineGM.cpp | 29 w = SkPreMultiplyColor(c); in fill_in_bits()
|
/external/skia/samplecode/ |
D | SampleFilter.cpp | 26 SkPreMultiplyColor(SK_ColorRED), SkPreMultiplyColor(SK_ColorGREEN), in make_bm() 27 SkPreMultiplyColor(SK_ColorBLUE), SkPreMultiplyColor(SK_ColorWHITE) in make_bm()
|
/external/skia/bench/ |
D | ColorPrivBench.cpp | 31 fSrcs[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup() 32 fDsts[i] = SkPreMultiplyColor(rand.nextU()); in onDelayedSetup()
|
/external/skia/src/opts/ |
D | SkBlitMask_opts.h | 24 SkPMColor pmc = SkPreMultiplyColor(color); in D32_A8_Opaque_Color_neon() 137 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color)); 157 auto s = Sk4px::DupPMColor(SkPreMultiplyColor(color));
|
/external/skia/tools/skdiff/ |
D | skdiff.cpp | 155 const SkPMColor PMCOLOR_WHITE = SkPreMultiplyColor(SK_ColorWHITE); 156 const SkPMColor PMCOLOR_BLACK = SkPreMultiplyColor(SK_ColorBLACK);
|
/external/skia/include/core/ |
D | SkColor.h | 156 SK_API SkPMColor SkPreMultiplyColor(SkColor c);
|
/external/skia/src/effects/ |
D | SkLayerDrawLooper.cpp | 54 SkPMColor pmS = SkPreMultiplyColor(src); in xferColor() 55 SkPMColor pmD = SkPreMultiplyColor(dst); in xferColor()
|
/external/skia/src/core/ |
D | SkColorFilter.cpp | 71 SkPMColor dst, src = SkPreMultiplyColor(c); in filterColor()
|
D | SkModeColorFilter.cpp | 80 fPMColor = SkPreMultiplyColor(fColor); in updateCache()
|
D | SkColor.cpp | 16 SkPMColor SkPreMultiplyColor(SkColor c) { in SkPreMultiplyColor() function
|
D | SkBitmapProcState.cpp | 270 fPaintPMColor = SkPreMultiplyColor(fPaintColor); in chooseScanlineProcs() 274 fPaintPMColor = SkPreMultiplyColor(fPaintColor); in chooseScanlineProcs()
|
D | SkBlitMask_D32.cpp | 40 opaqueDst = SkPreMultiplyColor(color); in D32_LCD16_Proc()
|
/external/skia/src/gpu/ |
D | SkGr.h | 44 SkPMColor pm = SkPreMultiplyColor(c); in SkColorToPremulGrColor()
|
/external/skia/src/utils/ |
D | SkPatchUtils.cpp | 209 colorsPM[i] = SkPreMultiplyColor(colors[i]); in getVertexData() 362 colorsPM[i] = SkPreMultiplyColor(srcColors[i]); in MakeVertices()
|
12