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

Function stbi_is_16_bit

include/stb/stb_image.h:7712–7720  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7710}
7711
7712STBIDEF int stbi_is_16_bit(char const *filename)
7713{
7714 FILE *f = stbi__fopen(filename, "rb");
7715 int result;
7716 if (!f) return stbi__err("can't fopen", "Unable to open file");
7717 result = stbi_is_16_bit_from_file(f);
7718 fclose(f);
7719 return result;
7720}
7721
7722STBIDEF int stbi_is_16_bit_from_file(FILE *f)
7723{

Callers

nothing calls this directly

Calls 3

stbi__fopenFunction · 0.85
stbi__errFunction · 0.85
stbi_is_16_bit_from_fileFunction · 0.85

Tested by

no test coverage detected