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

Function stbi_load_16

include/stb/stb_image.h:1402–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1400}
1401
1402STBIDEF stbi_us *stbi_load_16(char const *filename, int *x, int *y, int *comp, int req_comp)
1403{
1404 FILE *f = stbi__fopen(filename, "rb");
1405 stbi__uint16 *result;
1406 if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file");
1407 result = stbi_load_from_file_16(f,x,y,comp,req_comp);
1408 fclose(f);
1409 return result;
1410}
1411
1412
1413#endif //!STBI_NO_STDIO

Callers

nothing calls this directly

Calls 1

stbi__fopenFunction · 0.85

Tested by

no test coverage detected