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

Function stbi_load_from_memory

Source/Utils/stb_image.h:1428–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1426}
1427
1428STBIDEF stbi_uc *stbi_load_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp, int req_comp)
1429{
1430 stbi__context s;
1431 stbi__start_mem(&s,buffer,len);
1432 return stbi__load_and_postprocess_8bit(&s,x,y,comp,req_comp);
1433}
1434
1435STBIDEF stbi_uc *stbi_load_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *comp, int req_comp)
1436{

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85

Tested by

no test coverage detected