MCPcopy Create free account
hub / github.com/HiLab-git/SimpleCRF / lodepng_get_bpp_lct

Function lodepng_get_bpp_lct

dependency/densecrf/examples/lodepng.cpp:2575–2579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2573}
2574
2575static unsigned lodepng_get_bpp_lct(LodePNGColorType colortype, unsigned bitdepth)
2576{
2577 /*bits per pixel is amount of channels * bits per channel*/
2578 return getNumColorChannels(colortype) * bitdepth;
2579}
2580
2581/* ////////////////////////////////////////////////////////////////////////// */
2582

Callers 2

lodepng_get_bppFunction · 0.85
lodepng_get_raw_size_lctFunction · 0.85

Calls 1

getNumColorChannelsFunction · 0.85

Tested by

no test coverage detected