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

Function deflate

samples/shared/lodepng.cpp:2040–2052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2038}
2039
2040static unsigned deflate(unsigned char** out, size_t* outsize,
2041 const unsigned char* in, size_t insize,
2042 const LodePNGCompressSettings* settings)
2043{
2044 if(settings->custom_deflate)
2045 {
2046 return settings->custom_deflate(out, outsize, in, insize, settings);
2047 }
2048 else
2049 {
2050 return lodepng_deflate(out, outsize, in, insize, settings);
2051 }
2052}
2053
2054#endif /*LODEPNG_COMPILE_DECODER*/
2055

Callers 1

lodepng_zlib_compressFunction · 0.85

Calls 1

lodepng_deflateFunction · 0.85

Tested by

no test coverage detected