Home
last modified time | relevance | path

Searched refs:nPixel (Results 1 - 1 of 1) sorted by relevance

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp3123 float nPixel = mulPixel * percent * UINT8_MAX / alpha; in ProcessPremulPixel() local
3124 if ((nPixel + HALF_ONE) >= UINT8_MAX) { in ProcessPremulPixel()
3127 return static_cast<uint8_t>(nPixel + HALF_ONE); in ProcessPremulPixel()
3220 float nPixel; in ConvertUintPixelAlpha() local
3222 nPixel = pixelValue * alphaValue; in ConvertUintPixelAlpha()
3224 nPixel = (alphaValue > 0) ? pixelValue / alphaValue : 0; in ConvertUintPixelAlpha()
3226 wpixel[pixelIndex] = static_cast<uint8_t>(nPixel + HALF_ONE); in ConvertUintPixelAlpha()

Completed in 7 milliseconds