Home
last modified time | relevance | path

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

12

/external/skia/src/effects/
DSkTransparentShader.cpp81 span[i] = SkPackARGB32( alpha, in shadeSpan()
111 span[i] = SkPackARGB32(src[i], 0, 0, 0); in shadeSpan()
115 span[i] = SkPackARGB32(SkAlphaMul(src[i], scale), 0, 0, 0); in shadeSpan()
DSkColorFilters.cpp327 c = SkPackARGB32(a, r, g, b); in filterSpan()
378 c = SkPackARGB32(a, r, g, b); in filterSpan()
416 c = SkPackARGB32(a, r, g, b); in filterSpan()
500 c = SkPackARGB32(a, r, g, b); in filterSpan()
DSkAvoidXfermode.cpp116 return SkPackARGB32(a, r, g, b); in SkFourByteInterp()
/external/skia/src/core/
DSkBlitter_ARGB32_Subpixel.cpp98 return SkPackARGB32(SkMin32(255u, alphaAlpha + originalAlpha), in BlendLCDPixelWithColor()
121 return SkPackARGB32(SkMin32(255u, alphaAlpha + originalAlpha), in BlendLCDPixelWithOpaqueColor()
138 return SkPackARGB32(SkMin32(255u, alphaAlpha + originalAlpha), in BlendLCDPixelWithBlack()
DSkXfermode.cpp30 return SkPackARGB32(a, r, g, b); in SkFourByteInterp()
147 return SkPackARGB32(da, in srcatop_modeproc()
162 return SkPackARGB32(sa, in dstatop_modeproc()
178 return SkPackARGB32(sa + da - (SkAlphaMulAlpha(sa, da) << 1), in xor_modeproc()
195 return SkPackARGB32(a, r, g, b); in plus_modeproc()
204 return SkPackARGB32(a, r, g, b); in multiply_modeproc()
216 return SkPackARGB32(a, r, g, b); in screen_modeproc()
237 return SkPackARGB32(a, r, g, b); in overlay_modeproc()
259 return SkPackARGB32(a, r, g, b); in darken_modeproc()
281 return SkPackARGB32(a, r, g, b); in lighten_modeproc()
[all …]
DSkColor.cpp34 return SkPackARGB32(a, r, g, b); in SkPreMultiplyARGB()
DSkBlitter_ARGB32.cpp88 dst[i] = SkPackARGB32(blend32(0xFF, dstA, maskA), in blit_lcd16_opaque()
151 fPMColor = SkPackARGB32(fSrcA, fSrcR, fSrcG, fSrcB); in SkARGB32_Blitter()
/external/skia/src/ports/
DSkFontHost_FreeType_Subpixel.cpp82 *output32++ = SkPackARGB32(maxAlpha, alphaRed, alphaGreen, alphaBlue); in CopyFreetypeBitmapToLCDMask()
135 *output32++ = SkPackARGB32(maxAlpha, alphaRed, alphaGreen, alphaBlue); in CopyFreetypeBitmapToVerticalLCDMask()
/external/skia/tests/
DBlitRowTest.cpp117 { 0, 0xFFFFFFFF, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
118 { 0xFFFFFFFF, 0, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
119 { 0xFFFFFFFF, 0xFFFFFFFF, SkPackARGB32(0xFF, 0xFF, 0xFF, 0xFF), 0xFFFF, 0xFF }, in test_00_FF()
/external/skia/samplecode/
DSampleEncode.cpp55 colors[i] = SkPackARGB32(255-i, 0, 0, 255-i); in make_image()
57 colors[i] = SkPackARGB32(0xFF, i, 0, 255-i); in make_image()
DClockFaceView.cpp22 return SkPackARGB32(0, x, x, x) | (c & (SK_A32_MASK << SK_A32_SHIFT)); in rgb2gray()
38 fMask = SkPackARGB32(0xFF, redMask, greenMask, blueMask); in SkChannelMaskColorFilter()
DSampleTinyBitmap.cpp15 c[i] = SkPackARGB32(0x80, 0x80, 0, 0); in make_bitmap()
DSampleExtractAlpha.cpp14 c[i] = SkPackARGB32(255 - i, 0, 0, 0); in make_bitmap()
DSampleBlur.cpp15 c[i] = SkPackARGB32(255 - i, 0, 0, 0); in make_bitmap()
DSampleTextEffects.cpp21 return SkPackARGB32(0, x, x, x) | (c & (SK_A32_MASK << SK_A32_SHIFT)); in rgb2gray()
37 fMask = SkPackARGB32(0xFF, redMask, greenMask, blueMask); in SkChannelMaskColorFilter()
DSampleDitherBitmap.cpp55 c[i] = SkPackARGB32(0xFF, i, 0, 0); in make_bitmap()
DSampleDither.cpp106 *p++ = SkPackARGB32(a, r, g, b); in pre_dither()
/external/skia/include/core/
DSkDither.h92 return SkPackARGB32(sa, sr, sg, sb); in SkDitherARGB32For565()
106 return SkPackARGB32(0xFF, sr, sg, sb); in SkDitherRGB32For565()
/external/skia/src/images/
DSkMovie_gif.cpp126 *dst = SkPackARGB32(0xFF, col.Red, col.Green, col.Blue); in copyLine()
392 SkColor bgColor = SkPackARGB32(0, 0, 0, 0); in onGetBitmap()
398 static SkColor paintingColor = SkPackARGB32(0, 0, 0, 0); in onGetBitmap()
DSkImageDecoder_libpng.cpp513 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red >> 8, in getBitmapConfig()
516 *theTranspColorp = SkPackARGB32(0xFF, transpColor->red, in getBitmapConfig()
521 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray >> 8, in getBitmapConfig()
524 *theTranspColorp = SkPackARGB32(0xFF, transpColor->gray, in getBitmapConfig()
613 *colorPtr++ = SkPackARGB32(0xFF, palette->red, palette->green, palette->blue); in decodePalette()
DSkScaledBitmapSampler.cpp29 dst[x] = SkPackARGB32(0xFF, src[0], src[0], src[0]); in Sample_Gray_D8888()
40 dst[x] = SkPackARGB32(0xFF, src[0], src[1], src[2]); in Sample_RGBx_D8888()
DSkImageDecoder_fpdfemb.cpp165 *dst++ = SkPackARGB32(a, r, g, b); in render()
DSkImageDecoder_libgif.cpp228 colorPtr[index] = SkPackARGB32(0xFF, in onDecode()
/external/webkit/Source/WebCore/platform/graphics/skia/
DImageBufferSkia.cpp327 destRow[x] = SkPackARGB32(alpha, r, g, b); in putImageData()
329 destRow[x] = SkPackARGB32(srcPixel[3], srcPixel[0], srcPixel[1], srcPixel[2]); in putImageData()
/external/webkit/Source/WebCore/platform/graphics/android/
DImageBufferAndroid.cpp226 dstRows[x] = SkPackARGB32(srcRows[basex + 3], in putUnmultipliedImageData()

12