MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / stbi_info_from_memory

Function stbi_info_from_memory

include/stb/stb_image.h:7734–7739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85
stbi__info_mainFunction · 0.85

Tested by

no test coverage detected