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

Function stbi_info_from_memory

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

Source from the content-addressed store, hash-verified

8432#endif // !STBI_NO_STDIO
8433
8434STBIDEF int stbi_info_from_memory(
8435 stbi_uc const* buffer, int len, int* x, int* y, int* comp) {
8436 stbi__context s;
8437 stbi__start_mem(&s, buffer, len);
8438 return stbi__info_main(&s, x, y, comp);
8439}
8440
8441STBIDEF int stbi_info_from_callbacks(
8442 stbi_io_callbacks const* c, void* user, int* x, int* y, int* comp) {

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85
stbi__info_mainFunction · 0.85

Tested by

no test coverage detected