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

Function deflate

dependency/densecrf/examples/lodepng.cpp:2071–2083  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2069}
2070
2071static unsigned deflate(unsigned char** out, size_t* outsize,
2072 const unsigned char* in, size_t insize,
2073 const LodePNGCompressSettings* settings)
2074{
2075 if(settings->custom_deflate)
2076 {
2077 return settings->custom_deflate(out, outsize, in, insize, settings);
2078 }
2079 else
2080 {
2081 return lodepng_deflate(out, outsize, in, insize, settings);
2082 }
2083}
2084
2085#endif /*LODEPNG_COMPILE_DECODER*/
2086

Callers 1

lodepng_zlib_compressFunction · 0.85

Calls 1

lodepng_deflateFunction · 0.85

Tested by

no test coverage detected