Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/filters/
DFEBlend.cpp36 …BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB);
74 …ar multiply(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB) in multiply() argument
76 return (((255 - alphaA) * colorB + (255 - alphaB + colorB) * colorA) / 255); in multiply()
84 …char darken(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB) in darken() argument
86 …return ((std::min((255 - alphaA) * colorB + colorA * 255, (255 - alphaB) * colorA + colorB * 255))… in darken()
89 …har lighten(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB) in lighten() argument
91 …return ((std::max((255 - alphaA) * colorB + colorA * 255, (255 - alphaB) * colorA + colorB * 255))… in lighten()
125 unsigned char alphaB = srcPixelArrayB->get(pixelOffset + 3); in apply() local
130 unsigned char result = (*callEffect[m_mode])(colorA, colorB, alphaA, alphaB); in apply()
133 unsigned char alphaR = 255 - ((255 - alphaA) * (255 - alphaB)) / 255; in apply()
/external/skia/src/core/
DSkAAClip.cpp1333 typedef U8CPU (*AlphaProc)(U8CPU alphaA, U8CPU alphaB);
1335 static U8CPU sectAlphaProc(U8CPU alphaA, U8CPU alphaB) { in sectAlphaProc() argument
1337 return SkMulDiv255Round(alphaA, alphaB); in sectAlphaProc()
1340 static U8CPU unionAlphaProc(U8CPU alphaA, U8CPU alphaB) { in unionAlphaProc() argument
1342 return alphaA + alphaB - SkMulDiv255Round(alphaA, alphaB); in unionAlphaProc()
1345 static U8CPU diffAlphaProc(U8CPU alphaA, U8CPU alphaB) { in diffAlphaProc() argument
1347 return SkMulDiv255Round(alphaA, 0xFF - alphaB); in diffAlphaProc()
1350 static U8CPU xorAlphaProc(U8CPU alphaA, U8CPU alphaB) { in xorAlphaProc() argument
1352 return alphaA + alphaB - 2 * SkMulDiv255Round(alphaA, alphaB); in xorAlphaProc()
1464 U8CPU alphaB = 0; in operatorX() local
[all …]