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

Function stbi__hdr_test

include/stb/stb_image.h:7097–7106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7095}
7096
7097static int stbi__hdr_test(stbi__context* s)
7098{
7099 int r = stbi__hdr_test_core(s, "#?RADIANCE\n");
7100 stbi__rewind(s);
7101 if(!r) {
7102 r = stbi__hdr_test_core(s, "#?RGBE\n");
7103 stbi__rewind(s);
7104 }
7105 return r;
7106}
7107
7108#define STBI__HDR_BUFLEN 1024
7109static char *stbi__hdr_gettoken(stbi__context *z, char *buffer)

Callers 6

stbi__load_mainFunction · 0.85
stbi__loadf_mainFunction · 0.85
stbi_is_hdr_from_memoryFunction · 0.85
stbi_is_hdr_from_fileFunction · 0.85
stbi__hdr_infoFunction · 0.85

Calls 2

stbi__hdr_test_coreFunction · 0.85
stbi__rewindFunction · 0.85

Tested by

no test coverage detected