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

Function stbi_load_from_callbacks

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

Source from the content-addressed store, hash-verified

1468}
1469
1470STBIDEF stbi_uc* stbi_load_from_callbacks(
1471 stbi_io_callbacks const* clbk, void* user, int* x, int* y, int* comp,
1472 int req_comp) {
1473 stbi__context s;
1474 stbi__start_callbacks(&s, (stbi_io_callbacks*)clbk, user);
1475 return stbi__load_and_postprocess_8bit(&s, x, y, comp, req_comp);
1476}
1477
1478#ifndef STBI_NO_GIF
1479STBIDEF stbi_uc* stbi_load_gif_from_memory(

Callers

nothing calls this directly

Calls 2

stbi__start_callbacksFunction · 0.85

Tested by

no test coverage detected