Searched refs:stbi__errpuc (Results 1 – 2 of 2) sorted by relevance
| /OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/ |
| H A D | stb_image.h | 983 #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) macro 1047 return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); in stbi__load_main() 1057 if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_16_to_8() 1073 if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_8_to_16() 1226 if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load() 1262 if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load_16() 1593 return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format() 1642 return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format16() 1708 if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } in stbi__hdr_to_ldr() 3646 if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); in load_jpeg_image() [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/ |
| H A D | stb_image.h | 983 #define stbi__errpuc(x,y) ((unsigned char *)(size_t) (stbi__err(x,y)?NULL:NULL)) macro 1047 return stbi__errpuc("unknown image type", "Image not of any known type, or corrupt"); in stbi__load_main() 1057 if (reduced == NULL) return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_16_to_8() 1073 if (enlarged == NULL) return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_8_to_16() 1226 if (!f) return stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load() 1262 if (!f) return (stbi_us *) stbi__errpuc("can't fopen", "Unable to open file"); in stbi_load_16() 1593 return stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format() 1642 return (stbi__uint16 *) stbi__errpuc("outofmem", "Out of memory"); in stbi__convert_format16() 1708 if (output == NULL) { STBI_FREE(data); return stbi__errpuc("outofmem", "Out of memory"); } in stbi__hdr_to_ldr() 3646 if (req_comp < 0 || req_comp > 4) return stbi__errpuc("bad req_comp", "Internal error"); in load_jpeg_image() [all …]
|