Home
last modified time | relevance | path

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

/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-blend.c258 #define OVER00_8BIT(max, alphaG, alphaA, colorA, alphaB, colorB, alphaD) \ argument
259 ((colorA * alphaA + colorB * alphaB * (max - alphaA) / max) / alphaD)
261 #define OVER00_16BIT(max, alphaG, alphaA, colorA, alphaB, colorB, alphaD) \ argument
262 ((colorA * alphaA + (guint64) colorB * alphaB * (max - alphaA) / max) / alphaD)
265 #define OVER10_8BIT(max, alphaG, alphaA, colorA, alphaB, colorB, alphaD) \ argument
266 ((colorA * alphaG + colorB * alphaB * (max - alphaA) / max) / alphaD)
268 #define OVER10_16BIT(max, alphaG, alphaA, colorA, alphaB, colorB, alphaD) \ argument
269 ((colorA * alphaG + (guint64) colorB * alphaB * (max - alphaA) / max) / alphaD)
272 #define OVER01(max, alphaG, alphaA, colorA, alphaB, colorB, alphaD) \ argument
273 ((colorA * alphaA + colorB * (max - alphaA)) / max)
[all …]
/third_party/flutter/skia/src/core/
DSkAAClip.cpp1357 typedef U8CPU (*AlphaProc)(U8CPU alphaA, U8CPU alphaB);
1359 static U8CPU sectAlphaProc(U8CPU alphaA, U8CPU alphaB) { in sectAlphaProc() argument
1361 return SkMulDiv255Round(alphaA, alphaB); in sectAlphaProc()
1364 static U8CPU unionAlphaProc(U8CPU alphaA, U8CPU alphaB) { in unionAlphaProc() argument
1366 return alphaA + alphaB - SkMulDiv255Round(alphaA, alphaB); in unionAlphaProc()
1369 static U8CPU diffAlphaProc(U8CPU alphaA, U8CPU alphaB) { in diffAlphaProc() argument
1371 return SkMulDiv255Round(alphaA, 0xFF - alphaB); in diffAlphaProc()
1374 static U8CPU xorAlphaProc(U8CPU alphaA, U8CPU alphaB) { in xorAlphaProc() argument
1376 return alphaA + alphaB - 2 * SkMulDiv255Round(alphaA, alphaB); in xorAlphaProc()
1478 U8CPU alphaA = 0; in operatorX() local
[all …]
/third_party/skia/src/core/
DSkAAClip.cpp272 using AlphaProc = U8CPU (*)(U8CPU alphaA, U8CPU alphaB);
544 U8CPU alphaA = 0; in operateX() local
550 alphaA = iterA.alpha(); in operateX()
567 alphaA = iterA.alpha(); in operateX()
580 this->addRun(left, lastY, proc(alphaA, alphaB), rite - left); in operateX()