Searched refs:SkGetPackedB16 (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 35 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); in S32_D565_Blend() 72 … unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale); in S32A_D565_Blend() 123 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither() 190 int db = (sb * src_scale + SkGetPackedB16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkSpriteBlitter_RGB16.cpp | 40 db = SkAlphaBlend(SkPacked32ToB16(sc), SkGetPackedB16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 48 SkGetPackedB16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode.cpp | 1091 SkPacked32ToB16(src) + SkAlphaMulAlpha(SkGetPackedB16(dst), isa)); in srcatop_modeproc16() 1133 unsigned b = SkFastMin32(SkPacked32ToB16(src), SkGetPackedB16(dst)); in darken_modeproc16_255() 1146 unsigned b = SkMax32(SkPacked32ToB16(src), SkGetPackedB16(dst)); in lighten_modeproc16_255()
|
D | SkBlitter_ARGB32.cpp | 74 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in blit_lcd16_opaque()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 68 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) macro 150 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add() 333 unsigned db = SkGetPackedB16(dst); in SkSrcOver32To16() 361 #define SkPacked16ToB32(c) SkB16ToB32(SkGetPackedB16(c)) 372 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToPixel32() 387 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToColor() 538 unsigned db = SkAlphaMul4(SkGetPackedB16(d), scale); in SkSrcOver4444To16()
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 68 unsigned db = SkAbs32(SkGetPackedB16(c) - b); in color_dist16() 171 SkAlphaBlend(SkPacked32ToB16(src), SkGetPackedB16(dst), scale)); in SkBlend3216()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm.cpp | 307 … unsigned db = SkMulS16(SkPacked32ToB16(sc), alpha) + SkMulS16(SkGetPackedB16(dc), dst_scale); in S32A_D565_Blend_neon() 410 SkAlphaBlend(sb, SkGetPackedB16(d), scale)); in S32_D565_Blend_Dither_neon()
|
/external/skia/src/pdf/ |
D | SkPDFImage.cpp | 115 dst[2] = SkGetPackedB16(src[x]); in extractImageData()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 772 int b = SkGetPackedB16(c); in rgb2yuv_16()
|