MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / stbi__do_zlib

Function stbi__do_zlib

lite/example/cpp_example/mge/cv/stb_image.h:4863–4871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4861}
4862
4863static int stbi__do_zlib(
4864 stbi__zbuf* a, char* obuf, int olen, int exp, int parse_header) {
4865 a->zout_start = obuf;
4866 a->zout = obuf;
4867 a->zout_end = obuf + olen;
4868 a->z_expandable = exp;
4869
4870 return stbi__parse_zlib(a, parse_header);
4871}
4872
4873STBIDEF char* stbi_zlib_decode_malloc_guesssize(
4874 const char* buffer, int len, int initial_size, int* outlen) {

Calls 1

stbi__parse_zlibFunction · 0.85

Tested by

no test coverage detected