Searched refs:stbi__errpuc (Results 1 - 1 of 1) sorted by relevance
/third_party/astc-encoder/Source/ |
H A D | stb_image.h | 1086 // stbi__errpuc - error returning pointer to unsigned char 1097 #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) macro 1185 return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); in stbi__load_main() 1195 if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_16_to_8() 1211 if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_8_to_16() 1368 if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load() 1404 if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load_16() 1764 return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format() 1788 default: STBI_ASSERT(0); STBI_FREE(data); STBI_FREE(good); return stbi__errpuc("unsupported", "Unsupported format conversion"); in stbi__convert_format() 1821 return (stbi__uint16 *) stbi__errpuc("outofme in stbi__convert_format16() [all...] |
Completed in 6 milliseconds