Home
last modified time | relevance | path

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

12

/external/skia/src/core/
DSkBlitter_ARGB32_Subpixel.cpp80 unsigned alphaGreen = SkAlpha255To256(SkGetPackedG32(alphaPixel)); in BlendLCDPixelWithColor()
84 unsigned sourceGreen = SkGetPackedG32(sourcePixel); in BlendLCDPixelWithColor()
94 unsigned originalGreen = SkGetPackedG32(originalPixel); in BlendLCDPixelWithColor()
108 unsigned alphaGreen = SkAlpha255To256(SkGetPackedG32(alphaPixel)); in BlendLCDPixelWithOpaqueColor()
113 unsigned sourceGreen = SkGetPackedG32(sourcePixel); in BlendLCDPixelWithOpaqueColor()
117 unsigned originalGreen = SkGetPackedG32(originalPixel); in BlendLCDPixelWithOpaqueColor()
129 unsigned alphaGreen = SkAlpha255To256(SkGetPackedG32(alphaPixel)); in BlendLCDPixelWithBlack()
134 unsigned originalGreen = SkGetPackedG32(originalPixel); in BlendLCDPixelWithBlack()
DSkXfermode.cpp27 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp()
150 SkAlphaMulAlpha(da, SkGetPackedG32(src)) + in srcatop_modeproc()
151 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in srcatop_modeproc()
165 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in dstatop_modeproc()
166 SkAlphaMulAlpha(sa, SkGetPackedG32(dst)), in dstatop_modeproc()
181 SkAlphaMulAlpha(ida, SkGetPackedG32(src)) + in xor_modeproc()
182 SkAlphaMulAlpha(isa, SkGetPackedG32(dst)), in xor_modeproc()
192 unsigned g = saturated_add(SkGetPackedG32(src), SkGetPackedG32(dst)); in plus_modeproc()
202 int g = SkAlphaMulAlpha(SkGetPackedG32(src), SkGetPackedG32(dst)); in multiply_modeproc()
214 int g = srcover_byte(SkGetPackedG32(src), SkGetPackedG32(dst)); in screen_modeproc()
[all …]
DSkBlitRow_D16.cpp114 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither()
145 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither()
182 int sg = SkGetPackedG32(c); in S32A_D565_Blend_Dither()
DSkUnPreMultiply.cpp9 ApplyScale(scale, SkGetPackedG32(c)), in PMColorToColor()
DSkBlitter_ARGB32.cpp58 int srcG = SkGetPackedG32(color); in blit_lcd16_opaque()
85 int dstG = SkGetPackedG32(d); in blit_lcd16_opaque()
/external/skia/include/core/
DSkDither.h86 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32For565()
100 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32For565()
124 unsigned sg = SkGetPackedG32(c); in SkDitherRGB32To565()
139 unsigned sg = SkGetPackedG32(c); in SkDitherARGB32To565()
167 unsigned g = SkGetPackedG32(c); in SkDitherARGB32To4444()
DSkColorPriv.h172 #define SkGetPackedG32(packed) ((uint32_t)((packed) << (24 - SK_G32_SHIFT)) >> 24) macro
184 unsigned g = SkGetPackedG32(c); in SkPMColorAssert()
302 return SkDitherPack888ToRGB16(SkGetPackedR32(c), SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32ToPixel16()
328 unsigned sg = SkGetPackedG32(src); in SkSrcOver32To16()
604 SkGetPackedG32(c), SkGetPackedB32(c)); in SkDitherPixel32To4444()
/external/webkit/Source/WebCore/platform/image-encoders/skia/
DPNGImageEncoder.cpp59 *output++ = SkUnPreMultiply::ApplyScale(scale[alpha], SkGetPackedG32(*input)); in preMultipliedBGRAtoRGBA()
64 *output++ = SkGetPackedG32(*input); in preMultipliedBGRAtoRGBA()
DJPEGImageEncoder.cpp88 *output++ = SkGetPackedG32(*input); in preMultipliedBGRAtoRGB()
/external/skia/src/effects/
DSkAvoidXfermode.cpp95 unsigned dg = SkAbs32(SkGetPackedG32(c) - g); in color_dist32()
113 unsigned g = SkAlphaBlend(SkGetPackedG32(src), SkGetPackedG32(dst), scale); in SkFourByteInterp()
DSkColorFilters.cpp325 … unsigned g = pin(SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA), a); in filterSpan()
376 unsigned g = pin(SkGetPackedG32(c) + SkAlphaMul(addG, scaleA), a); in filterSpan()
414 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG); in filterSpan()
498 unsigned g = SkAlphaMul(SkGetPackedG32(c), scaleG) + SkAlphaMul(addG, scaleA); in filterSpan()
/external/chromium/chrome/browser/tab_contents/
Dthumbnail_generator_unittest.cc101 SkGetPackedG32(pixel) == 0 &&
106 SkGetPackedG32(pixel) == 0xFF &&
/external/skia/bench/
DRepeatTileBench.cpp42 int g = SkGetPackedG32(c); in compute666Index()
DBitmapBench.cpp46 int g = SkGetPackedG32(c); in compute666Index()
/external/skia/src/images/
DSkImageDecoder_libwebp.cpp391 rgb[1] = SkGetPackedG32(c); in ARGB_8888_To_RGB()
427 rgb[1] = SkGetPackedG32(c); in Index8_To_RGB()
DSkImageDecoder_libpng.cpp830 *dst++ = SkGetPackedG32(c); in transform_scanline_888()
856 unsigned g = SkGetPackedG32(c); in transform_scanline_8888()
989 palette[i].green = SkUnPreMultiply::ApplyScale(s,SkGetPackedG32(c)); in pack_palette()
1000 palette[i].green = SkGetPackedG32(c); in pack_palette()
DSkImageDecoder_libjpeg.cpp743 int g = SkGetPackedG32(c); in rgb2yuv_32()
799 dst[1] = SkGetPackedG32(c); in Write_32_YUV()
850 dst[1] = SkGetPackedG32(c); in Write_Index_YUV()
/external/skia/src/pdf/
DSkPDFImage.cpp132 dst[1] = SkGetPackedG32(src[x]); in extractImageData()
236 buf[1] = SkGetPackedG32(color); in makeIndexedColorSpace()
/external/webkit/Source/WebCore/platform/graphics/skia/
DImageBufferSkia.cpp239 destPixel[1] = a ? SkGetPackedG32(srcPMColor) * 255 / a : 0; in getImageData()
246 destPixel[1] = SkGetPackedG32(srcPMColor); in getImageData()
DSkiaUtils.cpp148 InvScaleByte(SkGetPackedG32(pm), scale), in SkPMColorToColor()
/external/skia/src/opts/
DSkBlitRow_opts_arm.cpp401 int sg = SkGetPackedG32(c); in S32_D565_Blend_Dither_neon()
963 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_neon()
1130 unsigned sg = SkGetPackedG32(c); in S32A_D565_Opaque_Dither_neon()
/external/skia/samplecode/
DSampleDither.cpp91 unsigned g = SkGetPackedG32(c); in pre_dither()
DClockFaceView.cpp17 unsigned g = SkGetPackedG32(c); in rgb2gray()
/external/skia/gm/
Dgmmain.cpp98 int dg = SkGetPackedG32(c0) - SkGetPackedG32(c1); in compute_diff_pmcolor()
/external/skia/include/gpu/
DSkGr.h123 unsigned g = SkGetPackedG32(pm); in SkColor2GrColor()

12