Searched refs:SkGetPackedG16 (Results 1 – 7 of 7) sorted by relevance
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 36 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend() 104 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in S32A_D565_Blend() 109 dg = (SkPacked32ToG16(sc) * src_scale + SkGetPackedG16(dc) * dst_scale) >> 8; in S32A_D565_Blend() 163 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither() 230 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 | 880 SkPacked32ToG16(src) + SkAlphaMulAlpha(SkGetPackedG16(dst), isa), in srcatop_modeproc16() 922 unsigned g = SkFastMin32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in darken_modeproc16_255() 935 unsigned g = SkMax32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in lighten_modeproc16_255()
|
D | SkBlitter_RGB16.cpp | 776 int dg = (sg * src_scale + SkGetPackedG16(dst) * dst_scale) >> 8;
|
/external/skia/include/core/ |
D | SkColorPriv.h | 65 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) macro 147 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add() 343 unsigned dg = SkGetPackedG16(dst); in SkSrcOver32To16() 372 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 384 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32() 547 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16()
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 67 unsigned dg = SkAbs32(SkGetPackedG16(c) - g) >> (SK_G16_BITS - SK_R16_BITS); in color_dist16() 166 SkAlphaBlend(SkPacked32ToG16(src), SkGetPackedG16(dst), scale), in SkBlend3216()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 556 int g = SkGetPackedG16(c); in rgb2yuv_16()
|