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

Function stbi_loadf

include/stb/stb_image.h:1493–1501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1491
1492#ifndef STBI_NO_STDIO
1493STBIDEF float *stbi_loadf(char const *filename, int *x, int *y, int *comp, int req_comp)
1494{
1495 float *result;
1496 FILE *f = stbi__fopen(filename, "rb");
1497 if (!f) return stbi__errpf("can't fopen", "Unable to open file");
1498 result = stbi_loadf_from_file(f,x,y,comp,req_comp);
1499 fclose(f);
1500 return result;
1501}
1502
1503STBIDEF float *stbi_loadf_from_file(FILE *f, int *x, int *y, int *comp, int req_comp)
1504{

Callers

nothing calls this directly

Calls 2

stbi__fopenFunction · 0.85
stbi_loadf_from_fileFunction · 0.85

Tested by

no test coverage detected