Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkBlitRow_D16.cpp35 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()
DSkSpriteBlitter_RGB16.cpp40 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()
DSkXfermode.cpp1091 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()
DSkBlitter_ARGB32.cpp74 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in blit_lcd16_opaque()
/external/skia/include/core/
DSkColorPriv.h68 #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/
DSkAvoidXfermode.cpp68 unsigned db = SkAbs32(SkGetPackedB16(c) - b); in color_dist16()
171 SkAlphaBlend(SkPacked32ToB16(src), SkGetPackedB16(dst), scale)); in SkBlend3216()
/external/skia/src/opts/
DSkBlitRow_opts_arm.cpp307 … 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/
DSkPDFImage.cpp115 dst[2] = SkGetPackedB16(src[x]); in extractImageData()
/external/skia/src/images/
DSkImageDecoder_libjpeg.cpp772 int b = SkGetPackedB16(c); in rgb2yuv_16()