Home
last modified time | relevance | path

Searched refs:alpha256 (Results 1 – 2 of 2) sorted by relevance

/external/skia/include/core/
DSkColorPriv.h201 #define SkAlphaMul(value, alpha256) (((value) * (alpha256)) >> 8) argument
206 static inline U16CPU SkAlphaMulInv256(U16CPU value, U16CPU alpha256) { in SkAlphaMulInv256() argument
207 unsigned prod = 0xFFFF - value * alpha256; in SkAlphaMulInv256()
/external/skia/src/opts/
DSkBlitRow_opts_arm_neon.cpp954 unsigned alpha256 = SkAlpha255To256(alpha); in S32A_Blend_BlitRow32_neon() local
968 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()