Searched refs:SkGetPackedG16 (Results 1 – 10 of 10) sorted by relevance
/external/skia/include/core/ |
D | SkColorPriv.h | 234 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) macro 327 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add() 648 unsigned dg = SkGetPackedG16(dst); in SkSrcOver32To16() 676 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 687 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32() 702 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToColor() 839 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16() 953 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in SkBlendLCD16() 993 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in SkBlendLCD16Opaque()
|
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 42 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend() 127 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither() 194 int dg = (sg * src_scale + SkGetPackedG16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkSpriteBlitter_RGB16.cpp | 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 38 SkGetPackedG16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkBlitMask_D32.cpp | 301 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Blend() 341 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Opaque()
|
D | SkXfermode.cpp | 1712 SkPacked32ToG16(src) + SkAlphaMulAlpha(SkGetPackedG16(dst), isa), in srcatop_modeproc16() 1754 unsigned g = SkFastMin32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in darken_modeproc16_255() 1767 unsigned g = SkMax32(SkPacked32ToG16(src), SkGetPackedG16(dst)); in lighten_modeproc16_255()
|
D | SkAAClip.cpp | 2052 unsigned g = SkGetPackedG16(value); in mergeOne()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 103 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), alpha), in S32_D565_Blend_mips_dsp() 530 SkAlphaBlend(sg, SkGetPackedG16(d), alpha), in S32_D565_Blend_Dither_mips_dsp() 759 SkMulS16(SkGetPackedG16(dc), dst_scale); in S32A_D565_Blend_mips_dsp()
|
D | SkBlitRow_opts_arm_neon.cpp | 184 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend_neon() 720 … unsigned dg = SkMulS16(SkPacked32ToG16(sc), alpha) + SkMulS16(SkGetPackedG16(dc), dst_scale); in S32A_D565_Blend_neon() 869 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither_neon()
|
/external/skia/tests/ |
D | ColorTest.cpp | 16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 1259 int g = SkGetPackedG16(c); in rgb2yuv_16()
|