Home
last modified time | relevance | path

Searched refs:STBIW_MALLOC (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_write.h218 #if defined(STBIW_MALLOC) && defined(STBIW_FREE) && (defined(STBIW_REALLOC) || defined(STBIW_REALLO…
220 #elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_R…
226 #ifndef STBIW_MALLOC
227 #define STBIW_MALLOC(sz) malloc(sz) macro
729 unsigned char *scratch = (unsigned char *) STBIW_MALLOC(x*4); in stbi_write_hdr_core()
871 …unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char*… in stbi_zlib_compress()
1090 filt = (unsigned char *) STBIW_MALLOC((x*n+1) * y); if (!filt) return 0; in stbi_write_png_to_mem()
1091 …line_buffer = (signed char *) STBIW_MALLOC(x * n); if (!line_buffer) { STBIW_FREE(filt); return 0;… in stbi_write_png_to_mem()
1127 out = (unsigned char *) STBIW_MALLOC(8 + 12+13 + 12+zlen + 12); in stbi_write_png_to_mem()
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_write.h218 #if defined(STBIW_MALLOC) && defined(STBIW_FREE) && (defined(STBIW_REALLOC) || defined(STBIW_REALLO…
220 #elif !defined(STBIW_MALLOC) && !defined(STBIW_FREE) && !defined(STBIW_REALLOC) && !defined(STBIW_R…
226 #ifndef STBIW_MALLOC
227 #define STBIW_MALLOC(sz) malloc(sz) macro
729 unsigned char *scratch = (unsigned char *) STBIW_MALLOC(x*4); in stbi_write_hdr_core()
871 …unsigned char ***hash_table = (unsigned char***) STBIW_MALLOC(stbiw__ZHASH * sizeof(unsigned char*… in stbi_zlib_compress()
1090 filt = (unsigned char *) STBIW_MALLOC((x*n+1) * y); if (!filt) return 0; in stbi_write_png_to_mem()
1091 …line_buffer = (signed char *) STBIW_MALLOC(x * n); if (!line_buffer) { STBIW_FREE(filt); return 0;… in stbi_write_png_to_mem()
1127 out = (unsigned char *) STBIW_MALLOC(8 + 12+13 + 12+zlen + 12); in stbi_write_png_to_mem()