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

Function stbi_is_hdr_from_memory

include/stb/stb_image.h:1517–1528  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1515// reports false!
1516
1517STBIDEF int stbi_is_hdr_from_memory(stbi_uc const *buffer, int len)
1518{
1519 #ifndef STBI_NO_HDR
1520 stbi__context s;
1521 stbi__start_mem(&s,buffer,len);
1522 return stbi__hdr_test(&s);
1523 #else
1524 STBI_NOTUSED(buffer);
1525 STBI_NOTUSED(len);
1526 return 0;
1527 #endif
1528}
1529
1530#ifndef STBI_NO_STDIO
1531STBIDEF int stbi_is_hdr (char const *filename)

Callers

nothing calls this directly

Calls 2

stbi__start_memFunction · 0.85
stbi__hdr_testFunction · 0.85

Tested by

no test coverage detected