/external/libpng/ |
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_width = row_info->width [all...] |
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)((float)png_get_pixels_per_meter(png_ptr, info_ptr [all...] |
png.h | [all...] |
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)65536L; /* "+=" fails on TC++3.0 * [all...] |
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)(*buf) << 24) [all...] |
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_ptr->zbuf_size [all...] |
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 length [all...] |
pngrio.c | 49 png_seek_data(png_structp png_ptr, png_uint_32 offset) 142 if ((png_uint_32)check != (png_uint_32)length)
|
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) [all...] |
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)green*32768L)/100000L) [all...] |
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 n, nstop [all...] |
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 istop= row_info->width * row_info->channels [all...] |
/external/qemu/distrib/libpng-1.2.19/ |
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_width = row_info->width [all...] |
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 */ [all...] |
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)((float)png_get_pixels_per_meter(png_ptr, info_ptr [all...] |
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 size [all...] |
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 crc [all...] |
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_ptr->zbuf_size [all...] |
pnggccrd.c | 406 * - fixed 64-bit png_uint_32 bug with MMXLength/FullLength temp vars [all...] |
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)65535L) /* Can't hold entire string in memory * [all...] |
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)green*32768L)/100000L) [all...] |
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_ptr->max_text * png_sizeof (png_text))) [all...] |
/external/libpng/contrib/pngminus/ |
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_value (FILE *pnm_file, int depth [all...] |
/development/tools/etc1tool/ |
etc1tool.cpp | 25 int writePNGFile(const char* pOutput, png_uint_32 width, png_uint_32 height, 26 const png_bytep pImageData, png_uint_32 imageStride); 109 int fwrite_big_endian_uint16(png_uint_32 data, FILE* pOut) { 120 int fread_big_endian_uint16(png_uint_32* data, FILE* pIn) { 143 png_uint_32 width = 0; 144 png_uint_32 height = 0; 145 png_uint_32 stride = 0; 242 png_uint_32 width = 0; 243 png_uint_32 height = 0 [all...] |
/external/libpng/contrib/gregbook/ |
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)
|