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

Function stbi_load_16_from_callbacks

Source/Utils/stb_image.h:1421–1426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1419}
1420
1421STBIDEF stbi_us *stbi_load_16_from_callbacks(stbi_io_callbacks const *clbk, void *user, int *x, int *y, int *channels_in_file, int desired_channels)
1422{
1423 stbi__context s;
1424 stbi__start_callbacks(&s, (stbi_io_callbacks *)clbk, user);
1425 return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
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{

Callers

nothing calls this directly

Calls 2

stbi__start_callbacksFunction · 0.85

Tested by

no test coverage detected