MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / deflate

Function deflate

src/lodepng.cpp:2016–2028  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2014}
2015
2016static unsigned deflate(unsigned char** out, size_t* outsize,
2017 const unsigned char* in, size_t insize,
2018 const LodePNGCompressSettings* settings)
2019{
2020 if(settings->custom_deflate)
2021 {
2022 return settings->custom_deflate(out, outsize, in, insize, settings);
2023 }
2024 else
2025 {
2026 return lodepng_deflate(out, outsize, in, insize, settings);
2027 }
2028}
2029
2030#endif /*LODEPNG_COMPILE_DECODER*/
2031

Callers 1

lodepng_zlib_compressFunction · 0.85

Calls 1

lodepng_deflateFunction · 0.85

Tested by

no test coverage detected