MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi_info_from_memory

Function stbi_info_from_memory

Source/Utils/stb_image.h:7731–7736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7729#endif // !STBI_NO_STDIO
7730
7731STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp)
7732{
7733 stbi__context s;
7734 stbi__start_mem(&s,buffer,len);
7735 return stbi__info_main(&s,x,y,comp);
7736}
7737
7738STBIDEF int stbi_info_from_callbacks(stbi_io_callbacks const *c, void *user, int *x, int *y, int *comp)
7739{

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85
stbi__info_mainFunction · 0.85

Tested by

no test coverage detected