Searched refs:SkGetPackedB16 (Results 1 – 10 of 10) sorted by relevance
/external/skia/include/core/ |
D | SkColorPriv.h | 244 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) macro 337 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add() 670 unsigned db = SkGetPackedB16(dst); in SkSrcOver32To16() 698 #define SkPacked16ToB32(c) SkB16ToB32(SkGetPackedB16(c)) 709 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToPixel32() 724 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToColor() 861 unsigned db = SkAlphaMul4(SkGetPackedB16(d), scale); in SkSrcOver4444To16() 975 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in SkBlendLCD16() 1015 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in SkBlendLCD16Opaque()
|
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 43 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); in S32_D565_Blend() 128 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither() 195 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkBlitMask_D32.cpp | 215 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Blend() 255 int maskB = SkGetPackedB16(m) >> (SK_B16_BITS - 5); in LCD16_RowProc_Opaque()
|
D | SkSpriteBlitter_RGB16.cpp | 32 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 37 db = (SkPacked32ToB16(sc) * src_scale + SkGetPackedB16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode4f.cpp | 380 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f() 382 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
|
D | SkAAClip.cpp | 2053 unsigned b = SkGetPackedB16(value); in mergeOne()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_mips_dsp.cpp | 104 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), alpha)); in S32_D565_Blend_mips_dsp() 531 SkAlphaBlend(sb, SkGetPackedB16(d), alpha)); in S32_D565_Blend_Dither_mips_dsp() 758 unsigned db = (SkPacked32ToB16(sc) * alpha) + (SkGetPackedB16(dc) * dst_scale); in S32A_D565_Blend_mips_dsp()
|
D | SkBlitRow_opts_arm_neon.cpp | 185 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); in S32_D565_Blend_neon() 719 unsigned db = (SkPacked32ToB16(sc) * alpha) + (SkGetPackedB16(dc) * dst_scale); in S32A_D565_Blend_neon() 868 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither_neon()
|
/external/skia/tests/ |
D | ColorTest.cpp | 17 #define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 45 unsigned db = SkAbs32(SkGetPackedB16(c) - b); in color_dist16() 120 SkAlphaBlend(SkPacked32ToB16(src), SkGetPackedB16(dst), scale)); in SkBlend3216()
|