/AliOS-Things-master/components/SDL2/src/image/external/libpng-1.6.37/contrib/gregbook/ |
A D | readpng2.h | 78 typedef unsigned char uch; typedef 91 uch *image_data; 92 uch **row_pointers; 100 uch bg_red; 101 uch bg_green; 102 uch bg_blue; 110 int readpng2_check_sig(uch *sig, int num); 114 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length);
|
A D | readppm.c | 69 uch *image_data = NULL; 83 static uch ppmline[256]; in readpng_init() 133 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() 143 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) in readpng_get_image() 165 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
A D | writepng.h | 86 typedef unsigned char uch; typedef 99 uch *image_data; 100 uch **row_pointers; 115 uch bg_red; 116 uch bg_green; 117 uch bg_blue;
|
A D | readpng.h | 72 typedef unsigned char uch; typedef 83 int readpng_get_bgcolor(uch *bg_red, uch *bg_green, uch *bg_blue); 85 uch *readpng_get_image(double display_exponent, int *pChannels,
|
A D | readpng.c | 74 uch *image_data = NULL; 90 uch sig[8]; in readpng_init() 156 int readpng_get_bgcolor(uch *red, uch *green, uch *blue) in readpng_get_bgcolor() 195 *red = (uch)pBackground->red; in readpng_get_bgcolor() 196 *green = (uch)pBackground->green; in readpng_get_bgcolor() 197 *blue = (uch)pBackground->blue; in readpng_get_bgcolor() 208 uch *readpng_get_image(double display_exponent, int *pChannels, ulg *pRowbytes) in readpng_get_image() 273 if ((image_data = (uch *)malloc(rowbytes*height)) == NULL) { in readpng_get_image()
|
A D | rpng2-win.c | 187 static uch inbuf[INBUFSIZE]; 194 static uch *bg_data; 197 uch r, g, b; 264 static uch *dib; 265 static uch *wimage_data; 665 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_win_init() 698 uch *dest; 841 uch *src, *dest; 842 uch r1, r2, g1, g2, b1, b2; 974 uch ch; [all …]
|
A D | rpng2-x.c | 215 static uch *bg_data; 222 uch r, g, b; 798 rpng2_info.row_pointers = (uch **)malloc(rpng2_info.height * sizeof(uch *)); in rpng2_x_init() 843 uch *xdata; in rpng2_x_create_window() 1087 uch *src; in rpng2_x_load_bg_image() 1226 uch ch; in rpng2_x_load_bg_image() 1386 uch *src, *src2=NULL; in rpng2_x_display_row() 1388 uch r, g, b, a; in rpng2_x_display_row() 1627 uch *src, *src2=NULL; in rpng2_x_redisplay_image() 1629 uch r, g, b, a; in rpng2_x_redisplay_image() [all …]
|
A D | rpng-win.c | 148 static uch bg_red=0, bg_green=0, bg_blue=0; 154 static uch *image_data; 158 static uch *dib; 159 static uch *wimage_data; 409 bg_red = (uch)r; in WinMain() 410 bg_green = (uch)g; in WinMain() 411 bg_blue = (uch)b; in WinMain() 487 uch *dest; in rpng_win_create_window() 506 if (!(dib = (uch *)malloc(sizeof(BITMAPINFOHEADER) + in rpng_win_create_window() 588 uch *src, *dest; in rpng_win_display_image() [all …]
|
A D | wpng.c | 142 static int wpng_isvalid_latin1(uch *p, int len); 282 wpng_info.bg_red = (uch)r; in main() 283 wpng_info.bg_green = (uch)g; in main() 284 wpng_info.bg_blue = (uch)b; in main() 461 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 491 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 531 if ((result = wpng_isvalid_latin1((uch *)p, len)) >= 0) { in main() 719 wpng_info.image_data = (uch *)malloc(image_bytes); in main() 720 wpng_info.row_pointers = (uch **)malloc(wpng_info.height*sizeof(uch *)); in main() 747 wpng_info.image_data = (uch *)malloc(rowbytes); in main() [all …]
|
A D | rpng-x.c | 132 static uch bg_red=0, bg_green=0, bg_blue=0; 138 static uch *image_data; 362 bg_red = (uch)r; in main() 363 bg_green = (uch)g; in main() 364 bg_blue = (uch)b; in main() 438 uch *xdata; in rpng_x_create_window() 652 xdata = (uch *)malloc(4*image_width*image_height); in rpng_x_create_window() 655 xdata = (uch *)malloc(2*image_width*image_height); in rpng_x_create_window() 658 xdata = (uch *)malloc(image_width*image_height); in rpng_x_create_window() 695 uch *src; in rpng_x_display_image() [all …]
|
A D | readpng2.c | 95 int readpng2_check_sig(uch *sig, int num) in readpng2_check_sig() 190 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length) in readpng2_decode_data() 298 mainprog_ptr->bg_red = (uch)pBackground->red; in readpng2_info_callback() 299 mainprog_ptr->bg_green = (uch)pBackground->green; in readpng2_info_callback() 300 mainprog_ptr->bg_blue = (uch)pBackground->blue; in readpng2_info_callback()
|
/AliOS-Things-master/components/SDL2/src/image/external/zlib-1.2.11/ |
A D | deflate.h | 216 uch depth[2*L_CODES+1]; 319 extern uch ZLIB_INTERNAL _length_code[]; 320 extern uch ZLIB_INTERNAL _dist_code[]; 322 extern const uch ZLIB_INTERNAL _length_code[]; 323 extern const uch ZLIB_INTERNAL _dist_code[]; 327 { uch cc = (c); \ 334 { uch len = (uch)(length); \
|
A D | trees.h | 73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = { 102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
A D | trees.c | 71 local const uch bl_order[BL_CODES] 98 uch _dist_code[DIST_CODE_LEN]; 104 uch _length_code[MAX_MATCH-MIN_MATCH+1]; 175 put_byte(s, (uch)((w) & 0xff)); \ 176 put_byte(s, (uch)((ush)(w) >> 8)); \ 260 _length_code[length++] = (uch)code; in tr_static_init() 268 _length_code[length-1] = (uch)code; in tr_static_init() 275 _dist_code[dist++] = (uch)code; in tr_static_init() 283 _dist_code[256 + dist++] = (uch)code; in tr_static_init() 673 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? [all …]
|
A D | zutil.h | 43 typedef unsigned char uch; typedef 44 typedef uch FAR uchf;
|
A D | zutil.c | 238 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
|
/AliOS-Things-master/components/py_engine/external/unzip/internal/ |
A D | deflate.h | 210 uch depth[2*L_CODES+1]; 312 extern uch ZLIB_INTERNAL _length_code[]; 313 extern uch ZLIB_INTERNAL _dist_code[]; 315 extern const uch ZLIB_INTERNAL _length_code[]; 316 extern const uch ZLIB_INTERNAL _dist_code[]; 320 { uch cc = (c); \ 327 { uch len = (length); \
|
A D | trees.h | 73 const uch ZLIB_INTERNAL _dist_code[DIST_CODE_LEN] = { 102 const uch ZLIB_INTERNAL _length_code[MAX_MATCH-MIN_MATCH+1]= {
|
A D | zutil.h | 37 typedef unsigned char uch; typedef 38 typedef uch FAR uchf;
|
/AliOS-Things-master/components/py_engine/external/unzip/src/ |
A D | trees.c | 71 local const uch bl_order[BL_CODES] 103 uch _dist_code[DIST_CODE_LEN]; 109 uch _length_code[MAX_MATCH-MIN_MATCH+1]; 182 put_byte(s, (uch)((w) & 0xff)); \ 183 put_byte(s, (uch)((ush)(w) >> 8)); \ 267 _length_code[length++] = (uch)code; in tr_static_init() 275 _length_code[length-1] = (uch)code; in tr_static_init() 282 _dist_code[dist++] = (uch)code; in tr_static_init() 290 _dist_code[256 + dist++] = (uch)code; in tr_static_init() 681 s->depth[node] = (uch)((s->depth[n] >= s->depth[m] ? [all …]
|
A D | zutil.c | 234 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
|
/AliOS-Things-master/components/freetype/src/gzip/ |
A D | zutil.h | 34 typedef unsigned char uch; typedef 35 typedef uch FAR uchf;
|
A D | zutil.c | 101 *((ush*)&buf+1) += ((ush)((uch*)buf-0) + 15) >> 4; in zcalloc()
|