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

Function stbi__is_16_main

include/stb/stb_image.h:7674–7688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7672}
7673
7674static int stbi__is_16_main(stbi__context *s)
7675{
7676 #ifndef STBI_NO_PNG
7677 if (stbi__png_is16(s)) return 1;
7678 #endif
7679
7680 #ifndef STBI_NO_PSD
7681 if (stbi__psd_is16(s)) return 1;
7682 #endif
7683
7684 #ifndef STBI_NO_PNM
7685 if (stbi__pnm_is16(s)) return 1;
7686 #endif
7687 return 0;
7688}
7689
7690#ifndef STBI_NO_STDIO
7691STBIDEF 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