Searched refs:stbi__errpuc (Results 1 – 1 of 1) sorted by relevance
/third_party/astc-encoder/Source/ |
D | stb_image.h | 1079 #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) macro 1167 return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); in stbi__load_main() 1177 if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_16_to_8() 1193 if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_8_to_16() 1350 if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load() 1386 if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load_16() 1746 return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format() 1770 …default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Uns… in stbi__convert_format() 1803 return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format16() 1827 …I_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return (stbi__uint16*) stbi__errpuc("unsupported", … in stbi__convert_format16() [all …]
|