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