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

Function stbi_load_from_memory

include/stb/stb_image.h:1429–1434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85

Tested by

no test coverage detected