Searched refs:nPixel (Results 1 – 1 of 1) sorted by relevance
3117 float nPixel = mulPixel * percent * UINT8_MAX / alpha; in ProcessPremulPixel() local3118 if ((nPixel + HALF_ONE) >= UINT8_MAX) { in ProcessPremulPixel()3121 return static_cast<uint8_t>(nPixel + HALF_ONE); in ProcessPremulPixel()3214 float nPixel; in ConvertUintPixelAlpha() local3216 nPixel = pixelValue * alphaValue; in ConvertUintPixelAlpha()3218 nPixel = (alphaValue > 0) ? pixelValue / alphaValue : 0; in ConvertUintPixelAlpha()3220 wpixel[pixelIndex] = static_cast<uint8_t>(nPixel + HALF_ONE); in ConvertUintPixelAlpha()