Home
last modified time | relevance | path

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

/foundation/graphic/graphic_3d/lume/LumeEngine/src/image/loaders/
H A Dimage_loader_common.cpp58 uint8_t *imageBytes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) in PremultiplyAlpha()
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()
57 PremultiplyAlpha( uint8_t *imageBytes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) PremultiplyAlpha() argument
H A Dimage_loader_stb_image.cpp125 uint8_t* imageBytes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) in PremultiplyAlpha()
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()
124 PremultiplyAlpha( uint8_t* imageBytes, uint32_t width, uint32_t height, uint32_t channelCount, uint32_t bytesPerChannel, bool linear) PremultiplyAlpha() argument
H A Dimage_loader_common.h35 uint32_t bytesPerChannel, bool linear);

Completed in 3 milliseconds