Lines Matching refs:png_uint_32
20 png_save_uint_32(png_bytep buf, png_uint_32 i)
67 png_write_chunk_start(png_ptr, chunk_name, (png_uint_32)length);
78 png_uint_32 length)
237 (png_uint_32)(comp->max_output_ptr *
245 (png_uint_32)(comp->max_output_ptr *
251 (png_uint_32)png_ptr->zbuf_size);
288 (png_uint_32)(comp->max_output_ptr *
296 (png_uint_32)(comp->max_output_ptr *
302 (png_charp)png_malloc(png_ptr, (png_uint_32)png_ptr->zbuf_size);
356 if (png_ptr->zstream.avail_out < (png_uint_32)png_ptr->zbuf_size)
371 png_write_IHDR(png_structp png_ptr, png_uint_32 width, png_uint_32 height,
538 png_write_PLTE(png_structp png_ptr, png_colorp palette, png_uint_32 num_pal)
543 png_uint_32 i;
622 png_uint_32 uncompressed_idat_size = png_ptr->height *
673 png_uint_32 igamma;
678 igamma = (png_uint_32)(file_gamma * 100000.0 + 0.5);
694 png_save_uint_32(buf, (png_uint_32)file_gamma);
752 (png_uint_32)name_len+profile_len+2);
792 (png_uint_32)(name_len + 2 + palette_size));
915 png_uint_32 itemp;
928 itemp = (png_uint_32)(white_x * 100000.0 + 0.5);
930 itemp = (png_uint_32)(white_y * 100000.0 + 0.5);
939 itemp = (png_uint_32)(red_x * 100000.0 + 0.5);
941 itemp = (png_uint_32)(red_y * 100000.0 + 0.5);
950 itemp = (png_uint_32)(green_x * 100000.0 + 0.5);
952 itemp = (png_uint_32)(green_y * 100000.0 + 0.5);
961 itemp = (png_uint_32)(blue_x * 100000.0 + 0.5);
963 itemp = (png_uint_32)(blue_y * 100000.0 + 0.5);
991 png_save_uint_32(buf, (png_uint_32)white_x);
992 png_save_uint_32(buf + 4, (png_uint_32)white_y);
999 png_save_uint_32(buf + 8, (png_uint_32)red_x);
1000 png_save_uint_32(buf + 12, (png_uint_32)red_y);
1007 png_save_uint_32(buf + 16, (png_uint_32)green_x);
1008 png_save_uint_32(buf + 20, (png_uint_32)green_y);
1015 png_save_uint_32(buf + 24, (png_uint_32)blue_x);
1016 png_save_uint_32(buf + 28, (png_uint_32)blue_y);
1151 png_write_chunk_start(png_ptr, (png_bytep)png_hIST, (png_uint_32)(num_hist * 2));
1192 *new_key = (png_charp)png_malloc_warn(png_ptr, (png_uint_32)(key_len + 2));
1315 png_write_chunk_start(png_ptr, (png_bytep)png_tEXt, (png_uint_32)key_len+text_len+1);
1369 png_write_chunk_start(png_ptr, (png_bytep)png_zTXt, (png_uint_32)
1431 (png_uint_32)(
1516 params_len = (png_uint_32p)png_malloc(png_ptr, (png_uint_32)(nparams
1517 *png_sizeof(png_uint_32)));
1529 png_write_chunk_start(png_ptr, (png_bytep)png_pCAL, (png_uint_32)total_len);
1582 png_write_chunk_start(png_ptr, (png_bytep)png_sCAL, (png_uint_32)total_len);
1609 png_write_chunk_start(png_ptr, (png_bytep)png_sCAL, (png_uint_32)total_len);
1623 png_write_pHYs(png_structp png_ptr, png_uint_32 x_pixels_per_unit,
1624 png_uint_32 y_pixels_per_unit,
1703 png_ptr->row_buf = (png_bytep)png_malloc(png_ptr, (png_uint_32)buf_size);
1718 png_ptr->prev_row = (png_bytep)png_malloc(png_ptr, (png_uint_32)buf_size);
1919 png_uint_32 i;
1920 png_uint_32 row_width = row_info->width;
1953 png_uint_32 i;
1954 png_uint_32 row_width = row_info->width;
1986 png_uint_32 i;
1987 png_uint_32 row_width = row_info->width;
2016 png_uint_32 i;
2017 png_uint_32 row_width = row_info->width;
2055 #define PNG_MAXSUM (((png_uint_32)(-1)) >> 1)
2057 #define PNG_LOMASK ((png_uint_32)0xffffL)
2058 #define PNG_HIMASK ((png_uint_32)(~PNG_LOMASK >> PNG_HISHIFT))
2063 png_uint_32 mins, bpp;
2065 png_uint_32 row_bytes = row_info->rowbytes;
2107 png_uint_32 sum = 0;
2108 png_uint_32 i;
2120 png_uint_32 sumhi, sumlo;
2160 png_uint_32 i;
2177 png_uint_32 sum = 0, lmins = mins;
2178 png_uint_32 i;
2189 png_uint_32 lmhi, lmlo;
2238 png_uint_32 sumhi, sumlo;
2276 png_uint_32 i;
2290 png_uint_32 sum = 0, lmins = mins;
2291 png_uint_32 i;
2299 png_uint_32 lmhi, lmlo;
2341 png_uint_32 sumhi, sumlo;
2379 png_uint_32 i;
2396 png_uint_32 sum = 0, lmins = mins;
2397 png_uint_32 i;
2404 png_uint_32 lmhi, lmlo;
2453 png_uint_32 sumhi, sumlo;
2491 png_uint_32 i;
2529 png_uint_32 sum = 0, lmins = mins;
2530 png_uint_32 i;
2537 png_uint_32 lmhi, lmlo;
2618 png_uint_32 sumhi, sumlo;