Searched refs:SkGetPackedG16 (Results 1 – 7 of 7) sorted by relevance
/external/skia/include/core/ |
D | SkColorPriv.h | 67 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) macro 149 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add() 337 unsigned dg = SkGetPackedG16(dst); in SkSrcOver32To16() 365 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 376 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32() 391 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToColor() 542 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16()
|
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 36 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend() 73 … unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); in S32A_D565_Blend() 126 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither() 193 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkSpriteBlitter_RGB16.cpp | 39 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 46 SkGetPackedG16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode.cpp | 1063 SkPacked32ToG16(src) + SkAlphaMulAlpha(SkGetPackedG16(dst), isa), in srcatop_modeproc16() 1105 unsigned g = SkFastMin32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in darken_modeproc16_255() 1118 unsigned g = SkMax32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in lighten_modeproc16_255()
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 67 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); in color_dist16() 170 SkAlphaBlend(SkPacked32ToG16(src), SkGetPackedG16(dst), scale), in SkBlend3216()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm.cpp | 306 … unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); in S32A_D565_Blend_neon() 409 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither_neon()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 737 int g = SkGetPackedG16(c); in rgb2yuv_16()
|