MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / Png_Decode

Function Png_Decode

src/Bitmap.c:122–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120*#########################################################################################################################*/
121#if !defined CC_BUILD_COMPRESSION
122cc_result Png_Decode(struct Bitmap* bmp, struct Stream* stream) {
123 return ERR_NOT_SUPPORTED;
124}
125#else
126typedef void (*Png_RowExpander)(int width, BitmapCol* palette, cc_uint8* src, BitmapCol* dst);
127

Callers 13

ModernPatcher_PatchTileFunction · 0.85
TerrainPatcher_ProcessFunction · 0.85
AnimationsPngProcessFunction · 0.85
ExtractPngFunction · 0.85
TerrainPngProcessFunction · 0.85
ApplySkinFunction · 0.85
Game_UpdateTextureFunction · 0.85
LBackend_DecodeFlagFunction · 0.85
Launcher_ProcessZipEntryFunction · 0.85

Calls 13

TempMem_AllocFunction · 0.85
Stream_ReadFunction · 0.85
Png_DetectFunction · 0.85
Inflate_MakeStream2Function · 0.85
Stream_GetU32_BEFunction · 0.85
Png_GetExpanderFunction · 0.85
ExpandRGBFunction · 0.85
Stream_ReadonlyPortionFunction · 0.85
ZLibHeader_ReadFunction · 0.85
Png_ReconstructFirstFunction · 0.85
Png_ReconstructFunction · 0.85
ComputeTransparencyFunction · 0.85

Tested by

no test coverage detected