Home
last modified time | relevance | path

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

/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEBlend.cpp37 typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA…
73 inline unsigned char feBlendNormal(unsigned char colorA, unsigned char colorB, unsigned char alphaA… in feBlendNormal() argument
75 return fastDivideBy255((255 - alphaA) * colorB + colorA * 255); in feBlendNormal()
78 inline unsigned char feBlendMultiply(unsigned char colorA, unsigned char colorB, unsigned char alph… in feBlendMultiply() argument
80 return fastDivideBy255((255 - alphaA) * colorB + (255 - alphaB + colorB) * colorA); in feBlendMultiply()
83 inline unsigned char feBlendScreen(unsigned char colorA, unsigned char colorB, unsigned char, unsig… in feBlendScreen() argument
85 return fastDivideBy255((colorB + colorA) * 255 - colorA * colorB); in feBlendScreen()
88 inline unsigned char feBlendDarken(unsigned char colorA, unsigned char colorB, unsigned char alphaA… in feBlendDarken() argument
90 …return fastDivideBy255(std::min((255 - alphaA) * colorB + colorA * 255, (255 - alphaB) * colorA + … in feBlendDarken()
93 inline unsigned char feBlendLighten(unsigned char colorA, unsigned char colorB, unsigned char alpha… in feBlendLighten() argument
[all …]
/external/skia/src/opts/
DSkBlitRect_opts_SSE2.cpp120 unsigned colorA = SkGetPackedA32(color); in ColorRect32_SSE2() local
121 colorA = 0; // skip below if () for now...(has been disabled since this was added in r3423). in ColorRect32_SSE2()
122 if (255 == colorA) { in ColorRect32_SSE2()
DSkBlitRow_opts_SSE2.cpp355 unsigned colorA = SkGetPackedA32(color); in Color32_SSE2() local
356 if (255 == colorA) { in Color32_SSE2()
359 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32_SSE2()
DSkBlitRow_opts_arm_neon.cpp1321 unsigned colorA = SkGetPackedA32(color); in Color32_arm_neon() local
1322 if (255 == colorA) { in Color32_arm_neon()
1325 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32_arm_neon()
/external/chromium_org/third_party/skia/src/opts/
DSkBlitRect_opts_SSE2.cpp120 unsigned colorA = SkGetPackedA32(color); in ColorRect32_SSE2() local
121 colorA = 0; // skip below if () for now...(has been disabled since this was added in r3423). in ColorRect32_SSE2()
122 if (255 == colorA) { in ColorRect32_SSE2()
DSkBlitRow_opts_SSE2.cpp355 unsigned colorA = SkGetPackedA32(color); in Color32_SSE2() local
356 if (255 == colorA) { in Color32_SSE2()
359 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32_SSE2()
DSkBlitRow_opts_arm_neon.cpp1321 unsigned colorA = SkGetPackedA32(color); in Color32_arm_neon() local
1322 if (255 == colorA) { in Color32_arm_neon()
1325 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32_arm_neon()
/external/chromium_org/third_party/skia/src/core/
DSkBlitRow_D32.cpp155 unsigned colorA = SkGetPackedA32(color); in Color32() local
156 if (255 == colorA) { in Color32()
159 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32()
/external/skia/src/core/
DSkBlitRow_D32.cpp155 unsigned colorA = SkGetPackedA32(color); in Color32() local
156 if (255 == colorA) { in Color32()
159 unsigned scale = 256 - SkAlpha255To256(colorA); in Color32()