Searched refs:bytesPerChannel (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/ |
H A D | image_loader_common.cpp | 58 …tes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) in PremultiplyAlpha() argument 67 if (bytesPerChannel == 1 && linear) { in PremultiplyAlpha() 78 } else if (bytesPerChannel == 1) { in PremultiplyAlpha() 91 } else if (bytesPerChannel == 2u) { in PremultiplyAlpha() 214 const uint32_t bytesPerChannel = is16bpc ? 2u : 1u; in CreateImage() local 221 bytesPerChannel, in CreateImage()
|
H A D | image_loader_stb_image.cpp | 125 …tes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) in PremultiplyAlpha() argument 134 if (bytesPerChannel == 1) { in PremultiplyAlpha() 160 } else if (bytesPerChannel == 2u) { in PremultiplyAlpha() 285 const uint32_t bytesPerChannel = is16bpc ? 2u : 1u; in CreateImage() local 288 componentCount, bytesPerChannel, forceLinear); in CreateImage()
|
H A D | image_loader_common.h | 35 uint32_t bytesPerChannel, bool linear); in CORE_BEGIN_NAMESPACE()
|