Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/graphics/filters/
DFEBlend.cpp36 typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA
69 static unsigned char normal(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsig… in normal() argument
71 return (((255 - alphaA) * colorB + colorA * 255) / 255); in normal()
74 static unsigned char multiply(unsigned char colorA, unsigned char colorB, unsigned char alphaA, uns… in multiply() argument
76 return (((255 - alphaA) * colorB + (255 - alphaB + colorB) * colorA) / 255); in multiply()
84 static unsigned char darken(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsig… in darken() argument
86 …return ((std::min((255 - alphaA) * colorB + colorA * 255, (255 - alphaB) * colorA + colorB * 255))… in darken()
89 static unsigned char lighten(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsi… in lighten() argument
91 …return ((std::max((255 - alphaA) * colorB + colorA * 255, (255 - alphaB) * colorA + colorB * 255))… in lighten()
124 unsigned char alphaA = srcPixelArrayA->get(pixelOffset + 3); in apply() local
[all …]
/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()
1463 U8CPU alphaA = 0; in operatorX() local
[all …]