Home
last modified time | relevance | path

Searched refs:SkGetPackedG16 (Results 1 – 7 of 7) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h67 #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/
DSkBlitRow_D16.cpp36 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()
DSkSpriteBlitter_RGB16.cpp39 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()
DSkXfermode.cpp1063 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/
DSkAvoidXfermode.cpp67 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/
DSkBlitRow_opts_arm.cpp306 … 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/
DSkImageDecoder_libjpeg.cpp737 int g = SkGetPackedG16(c); in rgb2yuv_16()