MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / stbi_is_16_bit_from_file

Function stbi_is_16_bit_from_file

Source/Utils/stb_image.h:7719–7728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7717}
7718
7719STBIDEF int stbi_is_16_bit_from_file(FILE *f)
7720{
7721 int r;
7722 stbi__context s;
7723 long pos = ftell(f);
7724 stbi__start_file(&s, f);
7725 r = stbi__is_16_main(&s);
7726 fseek(f,pos,SEEK_SET);
7727 return r;
7728}
7729#endif // !STBI_NO_STDIO
7730
7731STBIDEF int stbi_info_from_memory(stbi_uc const *buffer, int len, int *x, int *y, int *comp)

Callers 1

stbi_is_16_bitFunction · 0.85

Calls 2

stbi__start_fileFunction · 0.85
stbi__is_16_mainFunction · 0.85

Tested by

no test coverage detected