Lines Matching refs:png_uint_32
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)
376 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height,
544 png_write_PLTE(png_structp png_ptr, png_colorp palette, png_uint_32 num_pal)
549 png_uint_32 i;
628 png_uint_32 uncompressed_idat_size = png_ptr->height *
679 png_uint_32 igamma;
684 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
700 png_save_uint_32(buf, (png_uint_32)file_gamma);
787 (png_uint_32)name_len+profile_len+2);
827 (png_uint_32)(name_len + 2 + palette_size));
950 png_uint_32 itemp;
963 itemp = (png_uint_32)(white_x * 100000.0 + 0.5);
965 itemp = (png_uint_32)(white_y * 100000.0 + 0.5);
973 itemp = (png_uint_32)(red_x * 100000.0 + 0.5);
975 itemp = (png_uint_32)(red_y * 100000.0 + 0.5);
983 itemp = (png_uint_32)(green_x * 100000.0 + 0.5);
985 itemp = (png_uint_32)(green_y * 100000.0 + 0.5);
993 itemp = (png_uint_32)(blue_x * 100000.0 + 0.5);
995 itemp = (png_uint_32)(blue_y * 100000.0 + 0.5);
1023 png_save_uint_32(buf, (png_uint_32)white_x);
1024 png_save_uint_32(buf + 4, (png_uint_32)white_y);
1031 png_save_uint_32(buf + 8, (png_uint_32)red_x);
1032 png_save_uint_32(buf + 12, (png_uint_32)red_y);
1039 png_save_uint_32(buf + 16, (png_uint_32)green_x);
1040 png_save_uint_32(buf + 20, (png_uint_32)green_y);
1047 png_save_uint_32(buf + 24, (png_uint_32)blue_x);
1048 png_save_uint_32(buf + 28, (png_uint_32)blue_y);
1183 png_write_chunk_start(png_ptr, png_hIST, (png_uint_32)(num_hist * 2));
1224 *new_key = (png_charp)png_malloc_warn(png_ptr, (png_uint_32)(key_len + 2));
1349 png_write_chunk_start(png_ptr, (png_bytep)png_tEXt, (png_uint_32)key_len+text_len+1);
1407 png_write_chunk_start(png_ptr, (png_bytep)png_zTXt, (png_uint_32)
1476 (png_uint_32)(
1560 params_len = (png_uint_32p)png_malloc(png_ptr, (png_uint_32)(nparams
1561 *png_sizeof(png_uint_32)));
1573 png_write_chunk_start(png_ptr, png_pCAL, (png_uint_32)total_len);
1672 png_write_pHYs(png_structp png_ptr, png_uint_32 x_pixels_per_unit,
1673 png_uint_32 y_pixels_per_unit,
1752 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, (png_uint_32)buf_size);
1768 png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)buf_size);
1970 png_uint_32 i;
1971 png_uint_32 row_width = row_info->width;
2004 png_uint_32 i;
2005 png_uint_32 row_width = row_info->width;
2037 png_uint_32 i;
2038 png_uint_32 row_width = row_info->width;
2067 png_uint_32 i;
2068 png_uint_32 row_width = row_info->width;
2106 #define PNG_MAXSUM (((png_uint_32)(-1)) >> 1)
2108 #define PNG_LOMASK ((png_uint_32)0xffffL)
2109 #define PNG_HIMASK ((png_uint_32)(~PNG_LOMASK >> PNG_HISHIFT))
2114 png_uint_32 mins, bpp;
2116 png_uint_32 row_bytes = row_info->rowbytes;
2159 png_uint_32 sum = 0;
2160 png_uint_32 i;
2172 png_uint_32 sumhi, sumlo;
2212 png_uint_32 i;
2229 png_uint_32 sum = 0, lmins = mins;
2230 png_uint_32 i;
2241 png_uint_32 lmhi, lmlo;
2290 png_uint_32 sumhi, sumlo;
2328 png_uint_32 i;
2342 png_uint_32 sum = 0, lmins = mins;
2343 png_uint_32 i;
2351 png_uint_32 lmhi, lmlo;
2393 png_uint_32 sumhi, sumlo;
2431 png_uint_32 i;
2448 png_uint_32 sum = 0, lmins = mins;
2449 png_uint_32 i;
2456 png_uint_32 lmhi, lmlo;
2505 png_uint_32 sumhi, sumlo;
2543 png_uint_32 i;
2581 png_uint_32 sum = 0, lmins = mins;
2582 png_uint_32 i;
2589 png_uint_32 lmhi, lmlo;
2670 png_uint_32 sumhi, sumlo;