MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / lodepng_get_bpp

Function lodepng_get_bpp

src/lodepng.cpp:2601–2605  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2599}
2600
2601unsigned lodepng_get_bpp(const LodePNGColorMode* info)
2602{
2603 /*calculate bits per pixel out of colortype and bitdepth*/
2604 return lodepng_get_bpp_lct(info->colortype, info->bitdepth);
2605}
2606
2607unsigned lodepng_get_channels(const LodePNGColorMode* info)
2608{

Callers 6

lodepng_get_raw_sizeFunction · 0.85
color_profile_initFunction · 0.85
postProcessScanlinesFunction · 0.85
filterFunction · 0.85
preProcessScanlinesFunction · 0.85
lodepng_encodeFunction · 0.85

Calls 1

lodepng_get_bpp_lctFunction · 0.85

Tested by

no test coverage detected