Home
last modified time | relevance | path

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

/external/skia/include/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()
DSkColorPriv.h241 static inline uint16_t SkPackRGB16(unsigned r, unsigned g, unsigned b) { in SkPackRGB16() function
614 return SkPackRGB16(r, g, b); in SkDitherPack888ToRGB16()
657 return SkPackRGB16(dr, dg, db); in SkSrcOver32To16()
847 return SkPackRGB16(sr + dr, sg + dg, sb + db); in SkSrcOver4444To16()
/external/skia/src/core/
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()
DSkSpriteBlitter_RGB16.cpp42 *dst = SkPackRGB16(dr, dg, db); in D16_S32A_Blend_Pixel_helper()
DSkXfermode.cpp1710 return SkPackRGB16( in srcatop_modeproc16()
1756 return SkPackRGB16(r, g, b); in darken_modeproc16_255()
1769 return SkPackRGB16(r, g, b); in lighten_modeproc16_255()
DSkBitmap.cpp720 v = SkPackRGB16(r >> (8 - SK_R16_BITS), in internalErase()
DSkBlitter_RGB16.cpp546 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()
762 *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()
722 *dst = SkPackRGB16(SkDiv255Round(dr), SkDiv255Round(dg), SkDiv255Round(db)); in S32A_D565_Blend_neon()
868 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), in S32_D565_Blend_Dither_neon()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp366 cache[0] = SkPackRGB16(SkR32ToR16(rr), SkG32ToG16(gg), SkB32ToB16(bb)); in Build16bitCache()