Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkColorPriv.h250 #define SkGetPackedR16(color) (((unsigned)(color) >> SK_R16_SHIFT) & SK_R16_MASK) macro
343 SkASSERT(SkGetPackedR16(a) + SkGetPackedR16(b) <= SK_R16_MASK); in SkRGB16Add()
691 unsigned dr = SkGetPackedR16(dst); in SkSrcOver32To16()
719 #define SkPacked16ToR32(c) SkR16ToR32(SkGetPackedR16(c))
730 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToPixel32()
745 SkASSERT((r >> (8 - SK_R16_BITS)) == SkGetPackedR16(src)); in SkPixel16ToColor()
882 unsigned dr = SkAlphaMul4(SkGetPackedR16(d), scale); in SkSrcOver4444To16()
996 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in SkBlendLCD16()
1036 int maskR = SkGetPackedR16(mask) >> (SK_R16_BITS - 5); in SkBlendLCD16Opaque()
/external/skia/src/core/
DSkBlitRow_D16.cpp41 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), in S32_D565_Blend()
126 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither()
193 int dr = (sr * src_scale + SkGetPackedR16(d) * dst_scale) >> 8; in S32A_D565_Blend_Dither()
DSkBlitMask_D32.cpp213 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in LCD16_RowProc_Blend()
253 int maskR = SkGetPackedR16(m) >> (SK_R16_BITS - 5); in LCD16_RowProc_Opaque()
DSkSpriteBlitter_RGB16.cpp30 dr = SkAlphaBlend(SkPacked32ToR16(sc), SkGetPackedR16(dc), src_scale); in D16_S32A_Blend_Pixel_helper()
35 dr = (SkPacked32ToR16(sc) * src_scale + SkGetPackedR16(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.cpp2078 unsigned r = SkGetPackedR16(value); in mergeOne()
/external/skia/tests/
DColorTest.cpp15 #define GetPackedR16As32(packed) (SkGetPackedR16(dc) << (8 - SK_R16_BITS))
/external/skia/src/opts/
DSkBlitRow_opts_arm_neon.cpp183 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), in S32_D565_Blend_neon()
717 unsigned dr = (SkPacked32ToR16(sc) * alpha) + (SkGetPackedR16(dc) * dst_scale); in S32A_D565_Blend_neon()
866 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither_neon()