Home
last modified time | relevance | path

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

/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp3149 static constexpr uint8_t UINT2_MAX = 3; member
3154 float rPixel = pixel * percent * UINT2_MAX / alpha; in CheckPixel()
3181 a = static_cast<uint16_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()
3187 uint8_t alpha = static_cast<uint8_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()

Completed in 7 milliseconds