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

Function stbi_is_hdr

include/stb/stb_image.h:1531–1540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1529
1530#ifndef STBI_NO_STDIO
1531STBIDEF int stbi_is_hdr (char const *filename)
1532{
1533 FILE *f = stbi__fopen(filename, "rb");
1534 int result=0;
1535 if (f) {
1536 result = stbi_is_hdr_from_file(f);
1537 fclose(f);
1538 }
1539 return result;
1540}
1541
1542STBIDEF int stbi_is_hdr_from_file(FILE *f)
1543{

Callers

nothing calls this directly

Calls 2

stbi__fopenFunction · 0.85
stbi_is_hdr_from_fileFunction · 0.85

Tested by

no test coverage detected