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

Function stbi_load_16_from_memory

Source/Utils/stb_image.h:1414–1419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1412#endif //!STBI_NO_STDIO
1413
1414STBIDEF stbi_us *stbi_load_16_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *channels_in_file, int desired_channels)
1415{
1416 stbi__context s;
1417 stbi__start_mem(&s,buffer,len);
1418 return stbi__load_and_postprocess_16bit(&s,x,y,channels_in_file,desired_channels);
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{

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85

Tested by

no test coverage detected