Searched refs:alphaB (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/core/ |
D | SkAAClip.cpp | 1357 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() 1479 U8CPU alphaB = 0; in operatorX() local [all …]
|
/external/skqp/src/core/ |
D | SkAAClip.cpp | 1357 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() 1479 U8CPU alphaB = 0; in operatorX() local [all …]
|