Home
last modified time | relevance | path

Searched refs:SkPackRGB16 (Results 1 – 11 of 11) sorted by relevance

/external/skia/src/core/
DSkDither.h109 return SkPackRGB16(r, g, b); in SkDitherRGBTo565()
123 return SkPackRGB16(sr, sg, sb); in SkDitherRGB32To565()
138 return SkPackRGB16(sr, sg, sb); in SkDitherARGB32To565()
DSkBlitRow_D16.cpp40 *dst++ = SkPackRGB16( in S32_D565_Blend()
126 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither()
197 *dst = SkPackRGB16(dr, dg, db); in S32A_D565_Blend_Dither()
DSkPixmap.cpp176 v = SkPackRGB16(r >> (8 - SK_R16_BITS), in erase()
DSkSpriteBlitter_RGB16.cpp39 *dst = SkPackRGB16(dr, dg, db); in D16_S32A_Blend_Pixel_helper()
DSkBlitter_RGB16.cpp534 fColor16 = SkPackRGB16( SkAlphaMul(r, fScale) >> (8 - SK_R16_BITS), in SkRGB16_Blitter()
DSkAAClip.cpp2054 return SkPackRGB16(SkMulDiv255Round(r, alpha), in mergeOne()
/external/skia/src/opts/
DSkBlitRow_opts_mips_dsp.cpp102 *dst++ = SkPackRGB16(SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), alpha), in S32_D565_Blend_mips_dsp()
529 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), alpha), in S32_D565_Blend_Dither_mips_dsp()
759 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_mips_dsp()
DSkBlitRow_opts_arm_neon.cpp182 *dst++ = SkPackRGB16( in S32_D565_Blend_neon()
720 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_neon()
866 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither_neon()
/external/skia/include/core/
DSkColorPriv.h250 static inline uint16_t SkPackRGB16(unsigned r, unsigned g, unsigned b) { in SkPackRGB16() function
635 return SkPackRGB16(r, g, b); in SkDitherPack888ToRGB16()
678 return SkPackRGB16(dr, dg, db); in SkSrcOver32To16()
868 return SkPackRGB16(sr + dr, sg + dg, sb + db); in SkSrcOver4444To16()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp369 cache[0] = SkPackRGB16(SkR32ToR16(rr), SkG32ToG16(gg), SkB32ToB16(bb)); in Build16bitCache()
381 cache[0] = SkPackRGB16(SkR32ToR16(rr), SkG32ToG16(gg), SkB32ToB16(bb)); in Build16bitCache()
/external/skia/src/effects/
DSkAvoidXfermode.cpp118 return SkPackRGB16(SkAlphaBlend(SkPacked32ToR16(src), SkGetPackedR16(dst), scale), in SkBlend3216()