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

Function stbi__is_16_main

Source/Utils/stb_image.h:7671–7685  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7669}
7670
7671static int stbi__is_16_main(stbi__context *s)
7672{
7673 #ifndef STBI_NO_PNG
7674 if (stbi__png_is16(s)) return 1;
7675 #endif
7676
7677 #ifndef STBI_NO_PSD
7678 if (stbi__psd_is16(s)) return 1;
7679 #endif
7680
7681 #ifndef STBI_NO_PNM
7682 if (stbi__pnm_is16(s)) return 1;
7683 #endif
7684 return 0;
7685}
7686
7687#ifndef STBI_NO_STDIO
7688STBIDEF int stbi_info(char const *filename, int *x, int *y, int *comp)

Callers 3

stbi_is_16_bit_from_fileFunction · 0.85

Calls 3

stbi__png_is16Function · 0.85
stbi__psd_is16Function · 0.85
stbi__pnm_is16Function · 0.85

Tested by

no test coverage detected