Searched refs:invAlpha (Results 1 – 3 of 3) sorted by relevance
365 float invAlpha = 1 / fA; in unpremul() local366 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
379 float invAlpha = 1 / fA; in unpremul() local380 return { fR * invAlpha, fG * invAlpha, fB * invAlpha, fA }; in unpremul()
67 float invAlpha = 1.0f / color->alpha; in UnmultiplyAlpha() local68 color->red *= invAlpha; in UnmultiplyAlpha()69 color->green *= invAlpha; in UnmultiplyAlpha()70 color->blue *= invAlpha; in UnmultiplyAlpha()