Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h252 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) macro
345 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add()
693 unsigned db = SkGetPackedB16(dst); in SkSrcOver32To16()
721 #define SkPacked16ToB32(c) SkB16ToB32(SkGetPackedB16(c))
732 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToPixel32()
747 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToColor()
884 unsigned db = SkAlphaMul4(SkGetPackedB16(d), scale); in SkSrcOver4444To16()
998 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in SkBlendLCD16()
1038 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in SkBlendLCD16Opaque()
/external/skia/src/core/
DSkBlitRow_D16.cpp43 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()
DSkBlitMask_D32.cpp215 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()
DSkSpriteBlitter_RGB16.cpp32 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()
DSkXfermode4f.cpp382 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f()
384 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
DSkAAClip.cpp2080 unsigned b = SkGetPackedB16(value); in mergeOne()
/external/skia/tests/
DColorTest.cpp17 #define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
/external/skia/src/opts/
DSkBlitRow_opts_arm_neon.cpp185 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()