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

Function stbi_loadf_from_memory

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

Source from the content-addressed store, hash-verified

1512}
1513
1514STBIDEF float* stbi_loadf_from_memory(
1515 stbi_uc const* buffer, int len, int* x, int* y, int* comp, int req_comp) {
1516 stbi__context s;
1517 stbi__start_mem(&s, buffer, len);
1518 return stbi__loadf_main(&s, x, y, comp, req_comp);
1519}
1520
1521STBIDEF float* stbi_loadf_from_callbacks(
1522 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
stbi__loadf_mainFunction · 0.85

Tested by

no test coverage detected