/external/qemu/distrib/libpng-1.2.19/ |
D | pngget.c | 16 png_uint_32 PNGAPI 17 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) in png_get_valid() 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)((float)png_get_pixels_per_meter(png_ptr, info_ptr) in png_get_pixels_per_inch() [all …]
|
D | pngwtran.c | 52 (png_uint_32)png_ptr->bit_depth); in png_do_write_transformations() 87 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack() 102 png_uint_32 i; in png_do_pack() 103 png_uint_32 row_width = row_info->width; in png_do_pack() 133 png_uint_32 i; in png_do_pack() 134 png_uint_32 row_width = row_info->width; in png_do_pack() 165 png_uint_32 i; in png_do_pack() 166 png_uint_32 row_width = row_info->width; in png_do_pack() 255 png_uint_32 i; in png_do_shift() 257 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift() [all …]
|
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)0x7fffffffL) [all …]
|
D | pngrutil.c | 49 png_uint_32 PNGAPI 52 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31() 59 png_uint_32 PNGAPI 62 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32() 63 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32() 64 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32() 65 (png_uint_32)(*(buf + 3)); in png_get_uint_32() 109 png_crc_finish(png_structp png_ptr, png_uint_32 skip) in png_crc_finish() 148 png_uint_32 crc; in png_crc_error() 259 (png_uint_32)(text_size + in png_decompress_chunk() [all …]
|
D | pngtrans.c | 99 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler() 132 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha() 189 png_uint_32 i; in png_do_invert() 190 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 202 png_uint_32 i; in png_do_invert() 203 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 215 png_uint_32 i; in png_do_invert() 216 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 241 png_uint_32 i; in png_do_swap() 242 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap() [all …]
|
D | pngwutil.c | 20 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32() 66 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); in png_write_chunk() 77 png_uint_32 length) in png_write_chunk_start() 242 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 250 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 256 (png_uint_32)png_ptr->zbuf_size); in png_text_compress() 293 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 301 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 307 (png_charp)png_malloc(png_ptr, (png_uint_32)png_ptr->zbuf_size); in png_text_compress() 361 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size) in png_write_compressed_data_out() [all …]
|
D | pngmem.c | 56 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2() 117 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc() 135 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default() 144 if (size > (png_uint_32)65536L) in png_malloc_default() 154 else if (size == (png_uint_32)65536L) in png_malloc_default() 163 png_uint_32 total_size; in png_malloc_default() 183 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default() 235 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ in png_malloc_default() 429 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc() 447 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default() [all …]
|
D | pngrtran.c | 154 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 170 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 299 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 301 (png_uint_32)(num_palette * png_sizeof (png_byte))); in png_set_dither() 310 hash = (png_dsortpp)png_malloc(png_ptr, (png_uint_32)(769 * in png_set_dither() 344 (png_uint_32)(png_sizeof(png_dsort))); in png_set_dither() 462 (png_uint_32)(num_entries * png_sizeof (png_byte))); in png_set_dither() 467 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither() 685 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 686 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); in png_set_rgb_to_gray_fixed() [all …]
|
D | pnggccrd.c | 1009 png_uint_32 len; in png_combine_row() 1125 register png_uint_32 i; in png_combine_row() 1126 png_uint_32 initial_val = BPP3 * png_pass_start[png_ptr->pass]; in png_combine_row() 1132 png_uint_32 len = png_ptr->width &~7; /* reduce to mult. of 8 */ in png_combine_row() 1134 register png_uint_32 final_val = BPP3 * len; /* GRR bugfix */ in png_combine_row() 1175 png_uint_32 len; in png_combine_row() 1298 register png_uint_32 i; in png_combine_row() 1299 png_uint_32 initial_val = BPP4 * png_pass_start[png_ptr->pass]; in png_combine_row() 1305 png_uint_32 len = png_ptr->width &~7; /* reduce to mult. of 8 */ in png_combine_row() 1307 register png_uint_32 final_val = BPP4 * len; /* GRR bugfix */ in png_combine_row() [all …]
|
D | pngpread.c | 507 png_push_crc_skip(png_structp png_ptr, png_uint_32 skip) in png_push_crc_skip() 520 if (png_ptr->skip_length < (png_uint_32)png_ptr->save_buffer_size) in png_push_crc_finish() 536 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) in png_push_crc_finish() 633 (png_uint_32)new_max); in png_push_save_buffer() 695 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) in png_push_read_IDAT() 699 if((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT() 717 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) in png_push_read_IDAT() 721 if((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT() 1059 png_push_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 in png_push_handle_tEXt() 1071 if (length > (png_uint_32)65535L) /* Can't hold entire string in memory */ in png_push_handle_tEXt() [all …]
|
D | pngset.c | 239 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof (png_uint_16))); in png_set_hIST() 261 png_uint_32 width, png_uint_32 height, int bit_depth, in png_set_IHDR() 389 png_uint_32 length; in png_set_pCAL() 423 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL() 474 png_uint_32 length; in png_set_sCAL_s() 515 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() 678 png_charp profile, png_uint_32 proflen) in png_set_iCCP() 755 (png_uint_32)(info_ptr->max_text * png_sizeof (png_text))); in png_set_text_2() 770 (png_uint_32)(info_ptr->max_text * png_sizeof (png_text))); in png_set_text_2() 833 (png_uint_32)(key_len + text_length + lang_len + lang_key_len + 4)); in png_set_text_2() [all …]
|
D | png.c | 158 png_uint_32 save_flags=p->flags; in png_zalloc() 159 png_uint_32 num_bytes; in png_zalloc() 167 num_bytes = (png_uint_32)items * size; in png_zalloc() 177 if (num_bytes > (png_uint_32)0x8000L) in png_zalloc() 181 (png_size_t)(num_bytes - (png_uint_32)0x8000L)); in png_zalloc() 328 int freer, png_uint_32 mask) in png_data_freer() 344 png_free_data(png_structp png_ptr, png_infop info_ptr, png_uint_32 mask, in png_free_data() 659 png_ptr->time_buffer = (png_charp)png_malloc(png_ptr, (png_uint_32)(29* in png_convert_to_rfc1123() 813 png_uint_32 PNGAPI 817 return((png_uint_32) PNG_LIBPNG_VER); in png_access_version_number()
|
/external/libpng/ |
D | pngget.c | 20 png_uint_32 PNGAPI 21 png_get_valid(png_structp png_ptr, png_infop info_ptr, png_uint_32 flag) in png_get_valid() 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)((float)png_get_pixels_per_meter(png_ptr, info_ptr) in png_get_pixels_per_inch() [all …]
|
D | pngwtran.c | 57 (png_uint_32)png_ptr->bit_depth); in png_do_write_transformations() 92 png_do_pack(png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) in png_do_pack() 108 png_uint_32 i; in png_do_pack() 109 png_uint_32 row_width = row_info->width; in png_do_pack() 139 png_uint_32 i; in png_do_pack() 140 png_uint_32 row_width = row_info->width; in png_do_pack() 171 png_uint_32 i; in png_do_pack() 172 png_uint_32 row_width = row_info->width; in png_do_pack() 262 png_uint_32 i; in png_do_shift() 264 png_uint_32 row_bytes = row_info->rowbytes; in png_do_shift() [all …]
|
D | png.h | 786 png_uint_32 stream_idat_position; 791 png_uint_32 bytes_left_in_idat; 802 png_uint_32 stream_idat_position; 807 png_uint_32 size[7]; 810 png_uint_32 step[7]; 862 png_uint_32 width PNG_DEPSTRUCT; /* width of image in pixels (from IHDR) */ 863 png_uint_32 height PNG_DEPSTRUCT; /* height of image in pixels (from IHDR) */ 864 png_uint_32 valid PNG_DEPSTRUCT; /* valid chunk data (see PNG_INFO_ below) */ 865 png_uint_32 rowbytes PNG_DEPSTRUCT; /* bytes needed to hold an untransformed row */ 974 png_uint_32 x_pixels_per_unit PNG_DEPSTRUCT; /* horizontal pixel density */ [all …]
|
D | pngmem.c | 59 struct_ptr = (*(malloc_fn))(png_ptr, (png_uint_32)size); in png_create_struct_2() 119 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc() 130 png_malloc(png_structp png_ptr, png_uint_32 size) in png_malloc() 148 png_malloc_default(png_structp png_ptr, png_uint_32 size) in png_malloc_default() 157 if (size > (png_uint_32)65536L) in png_malloc_default() 167 else if (size == (png_uint_32)65536L) in png_malloc_default() 176 png_uint_32 total_size; in png_malloc_default() 196 total_size = ((png_uint_32)65536L) * (png_uint_32)num_blocks+16; in png_malloc_default() 248 hptr = hptr + (png_uint_32)65536L; /* "+=" fails on TC++3.0 */ in png_malloc_default() 446 png_calloc(png_structp png_ptr, png_uint_32 size) in png_calloc() [all …]
|
D | pngrutil.c | 53 png_uint_32 PNGAPI 57 png_uint_32 i = png_get_uint_32(buf); in png_get_uint_31() 60 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_31() 61 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_31() 62 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_31() 63 (png_uint_32)(*(buf + 3)); in png_get_uint_31() 71 png_uint_32 PNGAPI 74 png_uint_32 i = ((png_uint_32)(*buf) << 24) + in png_get_uint_32() 75 ((png_uint_32)(*(buf + 1)) << 16) + in png_get_uint_32() 76 ((png_uint_32)(*(buf + 2)) << 8) + in png_get_uint_32() [all …]
|
D | pngwutil.c | 24 png_save_uint_32(png_bytep buf, png_uint_32 i) in png_save_uint_32() 89 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length); in png_write_chunk() 100 png_uint_32 length) in png_write_chunk_start() 256 (png_uint_32) in png_text_compress() 264 (png_uint_32) in png_text_compress() 271 (png_uint_32)png_ptr->zbuf_size); in png_text_compress() 308 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 316 (png_uint_32)(comp->max_output_ptr * in png_text_compress() 323 (png_uint_32)png_ptr->zbuf_size); in png_text_compress() 377 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size) in png_write_compressed_data_out() [all …]
|
D | pngtrans.c | 114 png_set_filler(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_filler() 153 png_set_add_alpha(png_structp png_ptr, png_uint_32 filler, int filler_loc) in png_set_add_alpha() 219 png_uint_32 i; in png_do_invert() 220 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 232 png_uint_32 i; in png_do_invert() 233 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 245 png_uint_32 i; in png_do_invert() 246 png_uint_32 istop = row_info->rowbytes; in png_do_invert() 272 png_uint_32 i; in png_do_swap() 273 png_uint_32 istop= row_info->width * row_info->channels; in png_do_swap() [all …]
|
D | pngrtran.c | 179 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 196 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 328 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 330 (png_uint_32)(num_palette * png_sizeof(png_byte))); in png_set_dither() 339 hash = (png_dsortpp)png_calloc(png_ptr, (png_uint_32)(769 * in png_set_dither() 370 (png_uint_32)(png_sizeof(png_dsort))); in png_set_dither() 490 (png_uint_32)(num_entries * png_sizeof(png_byte))); in png_set_dither() 492 distance = (png_bytep)png_malloc(png_ptr, (png_uint_32)(num_entries * in png_set_dither() 736 red_int = (png_uint_16)(((png_uint_32)red*32768L)/100000L); in png_set_rgb_to_gray_fixed() 737 green_int = (png_uint_16)(((png_uint_32)green*32768L)/100000L); in png_set_rgb_to_gray_fixed() [all …]
|
D | pngset.c | 206 (png_uint_32)(PNG_MAX_PALETTE_LENGTH * png_sizeof(png_uint_16))); in png_set_hIST() 228 png_uint_32 width, png_uint_32 height, int bit_depth, in png_set_IHDR() 294 png_uint_32 length; in png_set_pCAL() 331 (png_uint_32)((nparams + 1) * png_sizeof(png_charp))); in png_set_pCAL() 384 png_uint_32 length; in png_set_sCAL_s() 430 png_uint_32 res_x, png_uint_32 res_y, int unit_type) in png_set_pHYs() 596 png_charp profile, png_uint_32 proflen) in png_set_iCCP() 600 png_uint_32 length; in png_set_iCCP() 681 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2() 698 (png_uint_32)(info_ptr->max_text * png_sizeof(png_text))); in png_set_text_2() [all …]
|
D | pngpread.c | 576 png_push_crc_skip(png_structp png_ptr, png_uint_32 skip) in png_push_crc_skip() 589 if (png_ptr->skip_length < (png_uint_32)png_ptr->save_buffer_size) in png_push_crc_finish() 605 if (png_ptr->skip_length < (png_uint_32)png_ptr->current_buffer_size) in png_push_crc_finish() 706 (png_uint_32)new_max); in png_push_save_buffer() 773 if (png_ptr->idat_size < (png_uint_32)png_ptr->save_buffer_size) in png_push_read_IDAT() 778 if ((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT() 797 if (png_ptr->idat_size < (png_uint_32)png_ptr->current_buffer_size) in png_push_read_IDAT() 802 if ((png_uint_32)save_size != png_ptr->idat_size) in png_push_read_IDAT() 1206 png_push_handle_tEXt(png_structp png_ptr, png_infop info_ptr, png_uint_32 in png_push_handle_tEXt() 1218 if (length > (png_uint_32)65535L) /* Can't hold entire string in memory */ in png_push_handle_tEXt() [all …]
|
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) in read_row_callback() 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) in write_row_callback() 171 static png_uint_32 filters_used[256]; 193 static png_uint_32 zero_samples; 223 png_uint_32 n, nstop; in count_zero_samples() 269 png_uint_32 n, nstop; in count_zero_samples() 398 png_uint_32 check; in pngtest_write_data() 418 png_uint_32 check; in pngtest_write_data() [all …]
|
/external/libpng/contrib/pngminus/ |
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; in pnm2png() 200 png_uint_32 width, alpha_width; in pnm2png() 201 png_uint_32 height, alpha_height; in pnm2png() 202 png_uint_32 maxval; in pnm2png() 209 png_uint_32 tmp16; in pnm2png() 476 png_uint_32 get_data (FILE *pnm_file, int depth) in get_data() 482 png_uint_32 ret_value; in get_data() 509 png_uint_32 get_value (FILE *pnm_file, int depth) in get_value() [all …]
|
/external/libpng/contrib/gregbook/ |
D | readpng2.c | 67 png_uint_32 row_num, int pass); 93 png_uint_32 mmx_mask = png_get_mmx_flagmask( in readpng2_version_info() 272 png_uint_32 mmx_disable_mask = 0; in readpng2_init() 273 png_uint_32 asm_flags, mmx_mask; in readpng2_init() 382 png_uint_32 width, height; in readpng2_info_callback() 532 png_uint_32 row_num, int pass) in readpng2_row_callback()
|