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

Function stbi_load_from_memory

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

Source from the content-addressed store, hash-verified

1461}
1462
1463STBIDEF stbi_uc* stbi_load_from_memory(
1464 stbi_uc const* buffer, int len, int* x, int* y, int* comp, int req_comp) {
1465 stbi__context s;
1466 stbi__start_mem(&s, buffer, len);
1467 return stbi__load_and_postprocess_8bit(&s, x, y, comp, req_comp);
1468}
1469
1470STBIDEF stbi_uc* stbi_load_from_callbacks(
1471 stbi_io_callbacks const* clbk, void* user, int* x, int* y, int* comp,

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85

Tested by

no test coverage detected