Home
last modified time | relevance | path

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

/external/skia/src/effects/
DSkGradientShader.cpp397 int otherBlend = 256 - blend; in dot8_blend_packed32() local
400 U32 t0 = (((s0 & 0xFF00FF) * blend + (s1 & 0xFF00FF) * otherBlend) >> 8) & 0xFF00FF; in dot8_blend_packed32()
401 U32 t1 = (((s0 >> 8) & 0xFF00FF) * blend + ((s1 >> 8) & 0xFF00FF) * otherBlend) & 0xFF00FF00; in dot8_blend_packed32()
405 return ((((s0 & 0xFF00FF) * blend + (s1 & 0xFF00FF) * otherBlend) >> 8) & 0xFF00FF) | in dot8_blend_packed32()
406 ((((s0 >> 8) & 0xFF00FF) * blend + ((s1 >> 8) & 0xFF00FF) * otherBlend) & 0xFF00FF00); in dot8_blend_packed32()