Home
last modified time | relevance | path

Searched refs:SkGetPackedR16 (Results 1 – 9 of 9) sorted by relevance

/external/skia/src/core/
DSkBlitRow_D16.cpp33 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()
DSkSpriteBlitter_RGB16.cpp38 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()
DSkXfermode.cpp1089 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()
DSkBlitter_ARGB32.cpp72 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in blit_lcd16_opaque()
/external/skia/include/core/
DSkColorPriv.h66 #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/
DSkAvoidXfermode.cpp66 unsigned dr = SkAbs32(SkGetPackedR16(c) - r); in color_dist16()
169 return SkPackRGB16( SkAlphaBlend(SkPacked32ToR16(src), SkGetPackedR16(dst), scale), in SkBlend3216()
/external/skia/src/opts/
DSkBlitRow_opts_arm.cpp305 … 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/
DSkPDFImage.cpp113 dst[0] = SkGetPackedR16(src[x]); in extractImageData()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp770 int r = SkGetPackedR16(c); in rgb2yuv_16()