Home
last modified time | relevance | path

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

/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/common/src/
H A Dpixel_map.cpp3143 static constexpr uint8_t UINT2_MAX = 3; variable
3148 float rPixel = pixel * percent * UINT2_MAX / alpha; in CheckPixel()
3175 a = static_cast<uint16_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()
3181 uint8_t alpha = static_cast<uint8_t>(UINT2_MAX * percent + HALF_ONE); in SetRGBA1010102PixelAlpha()