Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h244 #define SkGetPackedB16(color) (((unsigned)(color) >> SK_B16_SHIFT) & SK_B16_MASK) macro
337 SkASSERT(SkGetPackedB16(a) + SkGetPackedB16(b) <= SK_B16_MASK); in SkRGB16Add()
670 unsigned db = SkGetPackedB16(dst); in SkSrcOver32To16()
698 #define SkPacked16ToB32(c) SkB16ToB32(SkGetPackedB16(c))
709 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToPixel32()
724 SkASSERT((b >> (8 - SK_B16_BITS)) == SkGetPackedB16(src)); in SkPixel16ToColor()
861 unsigned db = SkAlphaMul4(SkGetPackedB16(d), scale); in SkSrcOver4444To16()
975 int maskB = SkGetPackedB16(mask) >> (SK_B16_BITS - 5); in SkBlendLCD16()
1015 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.cpp380 Sk4i rgbi = Sk4i(SkGetPackedR16(rgb), SkGetPackedG16(rgb), SkGetPackedB16(rgb), 0); in lcd16_to_unit_4f()
382 Sk4i rgbi = Sk4i(SkGetPackedB16(rgb), SkGetPackedG16(rgb), SkGetPackedR16(rgb), 0); in lcd16_to_unit_4f()
DSkAAClip.cpp2053 unsigned b = SkGetPackedB16(value); in mergeOne()
/external/skia/src/opts/
DSkBlitRow_opts_mips_dsp.cpp104 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), alpha)); in S32_D565_Blend_mips_dsp()
531 SkAlphaBlend(sb, SkGetPackedB16(d), alpha)); in S32_D565_Blend_Dither_mips_dsp()
758 unsigned db = (SkPacked32ToB16(sc) * alpha) + (SkGetPackedB16(dc) * dst_scale); in S32A_D565_Blend_mips_dsp()
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()
/external/skia/tests/
DColorTest.cpp17 #define GetPackedB16As32(packed) (SkGetPackedB16(dc) << (8 - SK_B16_BITS))
/external/skia/src/effects/
DSkAvoidXfermode.cpp45 unsigned db = SkAbs32(SkGetPackedB16(c) - b); in color_dist16()
120 SkAlphaBlend(SkPacked32ToB16(src), SkGetPackedB16(dst), scale)); in SkBlend3216()