MCPcopy Create free account
hub / github.com/ValveSoftware/openvr / inflate

Function inflate

samples/shared/lodepng.cpp:1266–1278  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1264}
1265
1266static unsigned inflate(unsigned char** out, size_t* outsize,
1267 const unsigned char* in, size_t insize,
1268 const LodePNGDecompressSettings* settings)
1269{
1270 if(settings->custom_inflate)
1271 {
1272 return settings->custom_inflate(out, outsize, in, insize, settings);
1273 }
1274 else
1275 {
1276 return lodepng_inflate(out, outsize, in, insize, settings);
1277 }
1278}
1279
1280#endif /*LODEPNG_COMPILE_DECODER*/
1281

Callers 1

lodepng_zlib_decompressFunction · 0.85

Calls 1

lodepng_inflateFunction · 0.85

Tested by

no test coverage detected