Searched refs:alpha256 (Results 1 – 2 of 2) sorted by relevance
201 #define SkAlphaMul(value, alpha256) (((value) * (alpha256)) >> 8) argument206 static inline U16CPU SkAlphaMulInv256(U16CPU value, U16CPU alpha256) { in SkAlphaMulInv256() argument207 unsigned prod = 0xFFFF - value * alpha256; in SkAlphaMulInv256()
954 unsigned alpha256 = SkAlpha255To256(alpha); in S32A_Blend_BlitRow32_neon() local968 dst_scale = SkAlphaMulInv256(dst_scale, alpha256); in S32A_Blend_BlitRow32_neon()972 vsrc_wide = vmulq_n_u16(vsrc_wide, alpha256); in S32A_Blend_BlitRow32_neon()1006 vsrc_scale = vdupq_n_u16(alpha256); in S32A_Blend_BlitRow32_neon()