Searched refs:SkGetPackedR16 (Results 1 – 9 of 9) sorted by relevance
/external/skia/src/core/ |
D | SkBlitRow_D16.cpp | 33 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), in S32_D565_Blend() 70 … unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); in S32A_D565_Blend() 121 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither() 188 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
|
D | SkSpriteBlitter_RGB16.cpp | 38 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); in D16_S32A_Blend_Pixel_helper() 44 SkGetPackedR16(dc) * dst_scale) >> 8; in D16_S32A_Blend_Pixel_helper()
|
D | SkXfermode.cpp | 1089 SkPacked32ToR16(src) + SkAlphaMulAlpha(SkGetPackedR16(dst), isa), in srcatop_modeproc16() 1131 unsigned r = SkFastMin32(SkPacked32ToR16(src), SkGetPackedR16(dst)); in darken_modeproc16_255() 1144 unsigned r = SkMax32(SkPacked32ToR16(src), SkGetPackedR16(dst)); in lighten_modeproc16_255()
|
D | SkBlitter_ARGB32.cpp | 72 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in blit_lcd16_opaque()
|
/external/skia/include/core/ |
D | SkColorPriv.h | 66 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK) macro 148 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK); in SkRGB16Add() 331 unsigned dr = SkGetPackedR16(dst); in SkSrcOver32To16() 359 #define SkPacked16ToR32(c) SkR16ToR32(SkGetPackedR16(c)) 370 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToPixel32() 385 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToColor() 536 unsigned dr = SkAlphaMul4(SkGetPackedR16(d), scale); in SkSrcOver4444To16()
|
/external/skia/src/effects/ |
D | SkAvoidXfermode.cpp | 66 unsigned dr = SkAbs32(SkGetPackedR16(c) - r); in color_dist16() 169 return SkPackRGB16( SkAlphaBlend(SkPacked32ToR16(src), SkGetPackedR16(dst), scale), in SkBlend3216()
|
/external/skia/src/opts/ |
D | SkBlitRow_opts_arm.cpp | 305 … unsigned dr = SkMulS16(SkPacked32ToR16(sc), alpha) + SkMulS16(SkGetPackedR16(dc), dst_scale); in S32A_D565_Blend_neon() 408 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither_neon()
|
/external/skia/src/pdf/ |
D | SkPDFImage.cpp | 113 dst[0] = SkGetPackedR16(src[x]); in extractImageData()
|
/external/skia/src/images/ |
D | SkImageDecoder_libjpeg.cpp | 770 int r = SkGetPackedR16(c); in rgb2yuv_16()
|