Searched refs:SkGetPackedG16 (Results 1 – 8 of 8) sorted by relevance
/external/skia/include/core/ |
D | SkColorPriv.h | 251 #define SkGetPackedG16(color) (((unsigned)(color) >> SK_G16_SHIFT) & SK_G16_MASK) macro 344 SkASSERT(SkGetPackedG16(a) + SkGetPackedG16(b) <= SK_G16_MASK); in SkRGB16Add() 692 unsigned dg = SkGetPackedG16(dst); in SkSrcOver32To16() 720 #define SkPacked16ToG32(c) SkG16ToG32(SkGetPackedG16(c)) 731 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToPixel32() 746 SkASSERT((g >> (8 - SK_G16_BITS)) == SkGetPackedG16(src)); in SkPixel16ToColor() 883 unsigned dg = SkAlphaMul4(SkGetPackedG16(d), scale); in SkSrcOver4444To16() 997 int maskG = SkGetPackedG16(mask) >> (SK_G16_BITS - 5); in SkBlendLCD16() 1037 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 | SkBlitMask_D32.cpp | 214 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Blend() 254 int maskG = SkGetPackedG16(m) >> (SK_G16_BITS - 5); in LCD16_RowProc_Opaque()
|
D | SkSpriteBlitter_RGB16.cpp | 31 dg = SkAlphaBlend(SkPacked32ToG16(sc), SkGetPackedG16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 36 dg = (SkPacked32ToG16(sc) * src_scale + SkGetPackedG16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode4f.cpp | 382 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f() 384 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
|
D | SkAAClip.cpp | 2079 unsigned g = SkGetPackedG16(value); in mergeOne()
|
/external/skia/tests/ |
D | ColorTest.cpp | 16 #define GetPackedG16As32(packed) (SkGetPackedG16(dc) << (8 - SK_G16_BITS))
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm_neon.cpp | 184 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), in S32_D565_Blend_neon() 718 unsigned dg = (SkPacked32ToG16(sc) * alpha) + (SkGetPackedG16(dc) * dst_scale); in S32A_D565_Blend_neon() 867 SkAlphaBlend(sg, SkGetPackedG16(d), scale), in S32_D565_Blend_Dither_neon()
|