/external/libpng/ |
H A D | pngwtran.c | 37 /* png_uint_32 width; width of row */ 38 /* png_uint_32 rowbytes; number of bytes in row */ 57 (png_uint_32)png_ptr->bit_depth); 92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) 108 png_uint_32 i; 109 png_uint_32 row_width = row_info->width; 139 png_uint_32 i; 140 png_uint_32 row_width = row_info->width; 171 png_uint_32 i; 172 png_uint_32 row_widt [all...] |
H A D | pngget.c | 20 png_uint_32 PNGAPI 21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) 30 png_uint_32 PNGAPI 54 png_uint_32 PNGAPI 63 png_uint_32 PNGAPI 117 png_uint_32 PNGAPI 138 png_uint_32 PNGAPI 159 png_uint_32 PNGAPI 295 png_uint_32 PNGAPI 298 return ((png_uint_32)((floa [all...] |
H A D | pngmem.c | 59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); 119 png_calloc(png_structp png_ptr, png_uint_32 size) 130 png_malloc(png_structp png_ptr, png_uint_32 size) 148 png_malloc_default(png_structp png_ptr, png_uint_32 size) 157 if (size > (png_uint_32)65536L) 167 else if (size == (png_uint_32)65536L) 176 png_uint_32 total_size; 196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; 248 hptr = hptr + (png_uint_32)6553 [all...] |
H A D | png.h | 818 png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels (from IHDR) */ 819 png_uint_32 height PNG_DEPSTRUCT; /* height of image in pixels (from IHDR) */ 820 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */ 821 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 930 png_uint_32 x_pixels_per_unit PNG_DEPSTRUCT; /* horizontal pixel density */ 931 png_uint_32 y_pixels_per_unit PNG_DEPSTRUCT; /* vertical pixel density */ 987 png_uint_32 free_me PNG_DEPSTRUCT; /* flags items libpng is responsible for freeing */ 1002 png_uint_32 iccp_proflen PNG_DEPSTRUCT; /* ICC profile data length */ 1009 png_uint_32 splt_palettes_num PNG_DEPSTRUCT; 1058 #define PNG_UINT_31_MAX ((png_uint_32) [all...] |
H A D | pngrutil.c | 53 png_uint_32 PNGAPI 57 png_uint_32 i = png_get_uint_32(buf); 60 png_uint_32 i = ((png_uint_32)(*buf) << 24) + 61 ((png_uint_32)(*(buf + 1)) << 16) + 62 ((png_uint_32)(*(buf + 2)) << 8) + 63 (png_uint_32)(*(buf + 3)); 71 png_uint_32 PNGAPI 74 png_uint_32 i = ((png_uint_32)(*bu [all...] |
H A D | pngwutil.c | 24 png_save_uint_32(png_bytep buf, png_uint_32 i) 89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); 100 png_uint_32 length) 256 (png_uint_32) 264 (png_uint_32) 271 (png_uint_32)png_ptr->zbuf_size); 308 (png_uint_32)(comp->max_output_ptr * 316 (png_uint_32)(comp->max_output_ptr * 323 (png_uint_32)png_ptr->zbuf_size); 377 if (png_ptr->zstream.avail_out < (png_uint_32)png_pt [all...] |
H A D | pngset.c | 206 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16))); 228 png_uint_32 width, png_uint_32 height, int bit_depth, 294 png_uint_32 length; 331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); 384 png_uint_32 length; 430 png_uint_32 res_x, png_uint_32 res_y, int unit_type) 596 png_charp profile, png_uint_32 proflen) 600 png_uint_32 lengt [all...] |
H A D | pngpread.c | 576 png_push_crc_skip(png_structp png_ptr, png_uint_32 skip) 589 if (png_ptr->skip_length < (png_uint_32)png_ptr->save_buffer_size) 605 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) 706 (png_uint_32)new_max); 773 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) 778 if ((png_uint_32)save_size != png_ptr->idat_size) 797 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) 802 if ((png_uint_32)save_size != png_ptr->idat_size) 1206 png_push_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 1218 if (length > (png_uint_32)6553 [all...] |
H A D | pngrtran.c | 179 (png_uint_32)(num_palette * png_sizeof(png_byte))); 196 (png_uint_32)(num_palette * png_sizeof(png_byte))); 328 (png_uint_32)(num_palette * png_sizeof(png_byte))); 330 (png_uint_32)(num_palette * png_sizeof(png_byte))); 339 hash = (png_dsortpp)png_calloc(png_ptr, (png_uint_32)(769 * 370 (png_uint_32)(png_sizeof(png_dsort))); 490 (png_uint_32)(num_entries * png_sizeof(png_byte))); 492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * 736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); 737 green_int = (png_uint_16)(((png_uint_32)gree [all...] |
H A D | pngtest.c | 125 read_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass); 130 read_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) 153 write_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass); 158 write_row_callback(png_structp png_ptr, png_uint_32 row_number, int pass) 171 static png_uint_32 filters_used[256]; 193 static png_uint_32 zero_samples; 210 * png_uint_32 width width of row 211 * png_uint_32 rowbytes number of bytes in row 223 png_uint_32 n, nstop; 269 png_uint_32 [all...] |
H A D | pngrio.c | 127 if ((png_uint_32)check != (png_uint_32)length)
|
H A D | pngtrans.c | 114 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) 153 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) 219 png_uint_32 i; 220 png_uint_32 istop = row_info->rowbytes; 232 png_uint_32 i; 233 png_uint_32 istop = row_info->rowbytes; 245 png_uint_32 i; 246 png_uint_32 istop = row_info->rowbytes; 272 png_uint_32 i; 273 png_uint_32 isto [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
H A D | pngwtran.c | 32 /* png_uint_32 width; width of row */ 33 /* png_uint_32 rowbytes; number of bytes in row */ 52 (png_uint_32)png_ptr->bit_depth); 87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) 102 png_uint_32 i; 103 png_uint_32 row_width = row_info->width; 133 png_uint_32 i; 134 png_uint_32 row_width = row_info->width; 165 png_uint_32 i; 166 png_uint_32 row_widt [all...] |
H A D | png.h | 699 png_uint_32 width; /* width of image in pixels (from IHDR) */ 700 png_uint_32 height; /* height of image in pixels (from IHDR) */ 701 png_uint_32 valid; /* valid chunk data (see PNG_INFO_ below) */ 702 png_uint_32 rowbytes; /* bytes needed to hold an untransformed row */ 811 png_uint_32 x_pixels_per_unit; /* horizontal pixel density */ 812 png_uint_32 y_pixels_per_unit; /* vertical pixel density */ 868 png_uint_32 free_me; /* flags items libpng is responsible for freeing */ 882 png_uint_32 iccp_proflen; /* ICC profile data length */ 889 png_uint_32 splt_palettes_num; 938 #define PNG_UINT_31_MAX ((png_uint_32) [all...] |
H A D | pngget.c | 16 png_uint_32 PNGAPI 17 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) 25 png_uint_32 PNGAPI 47 png_uint_32 PNGAPI 57 png_uint_32 PNGAPI 117 png_uint_32 PNGAPI 135 png_uint_32 PNGAPI 153 png_uint_32 PNGAPI 267 png_uint_32 PNGAPI 270 return ((png_uint_32)((floa [all...] |
H A D | pngmem.c | 56 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); 117 png_malloc(png_structp png_ptr, png_uint_32 size) 135 png_malloc_default(png_structp png_ptr, png_uint_32 size) 144 if (size > (png_uint_32)65536L) 154 else if (size == (png_uint_32)65536L) 163 png_uint_32 total_size; 183 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; 235 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ 429 png_malloc(png_structp png_ptr, png_uint_32 siz [all...] |
H A D | pngrutil.c | 49 png_uint_32 PNGAPI 52 png_uint_32 i = png_get_uint_32(buf); 59 png_uint_32 PNGAPI 62 png_uint_32 i = ((png_uint_32)(*buf) << 24) + 63 ((png_uint_32)(*(buf + 1)) << 16) + 64 ((png_uint_32)(*(buf + 2)) << 8) + 65 (png_uint_32)(*(buf + 3)); 109 png_crc_finish(png_structp png_ptr, png_uint_32 skip) 148 png_uint_32 cr [all...] |
H A D | pngwutil.c | 20 png_save_uint_32(png_bytep buf, png_uint_32 i) 66 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); 77 png_uint_32 length) 242 (png_uint_32)(comp->max_output_ptr * 250 (png_uint_32)(comp->max_output_ptr * 256 (png_uint_32)png_ptr->zbuf_size); 293 (png_uint_32)(comp->max_output_ptr * 301 (png_uint_32)(comp->max_output_ptr * 307 (png_charp)png_malloc(png_ptr, (png_uint_32)png_ptr->zbuf_size); 361 if (png_ptr->zstream.avail_out < (png_uint_32)png_pt [all...] |
H A D | pnggccrd.c | 406 * - fixed 64-bit png_uint_32 bug with MMXLength/FullLength temp vars 1009 png_uint_32 len; 1125 register png_uint_32 i; 1126 png_uint_32 initial_val = BPP3 * png_pass_start[png_ptr->pass]; 1132 png_uint_32 len = png_ptr->width &~7; /* reduce to mult. of 8 */ 1134 register png_uint_32 final_val = BPP3 * len; /* GRR bugfix */ 1175 png_uint_32 len; 1298 register png_uint_32 i; 1299 png_uint_32 initial_val = BPP4 * png_pass_start[png_ptr->pass]; 1305 png_uint_32 le [all...] |
H A D | pngpread.c | 507 png_push_crc_skip(png_structp png_ptr, png_uint_32 skip) 520 if (png_ptr->skip_length < (png_uint_32)png_ptr->save_buffer_size) 536 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) 633 (png_uint_32)new_max); 695 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) 699 if((png_uint_32)save_size != png_ptr->idat_size) 717 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) 721 if((png_uint_32)save_size != png_ptr->idat_size) 1059 png_push_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 1071 if (length > (png_uint_32)6553 [all...] |
H A D | pngrtran.c | 154 (png_uint_32)(num_palette * png_sizeof (png_byte))); 170 (png_uint_32)(num_palette * png_sizeof (png_byte))); 299 (png_uint_32)(num_palette * png_sizeof (png_byte))); 301 (png_uint_32)(num_palette * png_sizeof (png_byte))); 310 hash = (png_dsortpp)png_malloc(png_ptr, (png_uint_32)(769 * 344 (png_uint_32)(png_sizeof(png_dsort))); 462 (png_uint_32)(num_entries * png_sizeof (png_byte))); 467 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * 685 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); 686 green_int = (png_uint_16)(((png_uint_32)gree [all...] |
H A D | pngset.c | 239 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof (png_uint_16))); 261 png_uint_32 width, png_uint_32 height, int bit_depth, 389 png_uint_32 length; 423 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); 474 png_uint_32 length; 515 png_uint_32 res_x, png_uint_32 res_y, int unit_type) 678 png_charp profile, png_uint_32 proflen) 755 (png_uint_32)(info_pt [all...] |
H A D | pngrio.c | 118 if ((png_uint_32)check != (png_uint_32)length)
|
/external/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 54 png_uint_32 get_data (FILE *pnm_file, int depth); 55 png_uint_32 get_value (FILE *pnm_file, int depth); 193 png_uint_32 row_bytes; 200 png_uint_32 width, alpha_width; 201 png_uint_32 height, alpha_height; 202 png_uint_32 maxval; 209 png_uint_32 tmp16; 476 png_uint_32 get_data (FILE *pnm_file, int depth) 482 png_uint_32 ret_value; 509 png_uint_32 get_valu [all...] |
/external/libpng/contrib/gregbook/ |
H A D | readpng2.c | 67 png_uint_32 row_num, int pass); 93 png_uint_32 mmx_mask = png_get_mmx_flagmask( 272 png_uint_32 mmx_disable_mask = 0; 273 png_uint_32 asm_flags, mmx_mask; 382 png_uint_32 width, height; 532 png_uint_32 row_num, int pass)
|