Home
last modified time | relevance | path

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

/external/skqp/include/core/
DSkColor.h365 float invAlpha = 1 / fA; in unpremul() local
366 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
/external/skia/include/core/
DSkColor.h379 float invAlpha = 1 / fA; in unpremul() local
380 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
/external/angle/src/libANGLE/renderer/
Drenderer_utils.cpp67 float invAlpha = 1.0f / color->alpha; in UnmultiplyAlpha() local
68 color->red *= invAlpha; in UnmultiplyAlpha()
69 color->green *= invAlpha; in UnmultiplyAlpha()
70 color->blue *= invAlpha; in UnmultiplyAlpha()