Home | History | Annotate | Download | only in libpng

Lines Matching refs:write_ptr

694    png_structp write_ptr;
698 png_structp write_ptr = NULL;
772 write_ptr =
777 write_ptr =
782 png_set_error_fn(write_ptr, (png_voidp)inname, pngtest_error,
790 write_info_ptr = png_create_info_struct(write_ptr);
791 write_end_info_ptr = png_create_info_struct(write_ptr);
807 png_destroy_info_struct(write_ptr, &write_end_info_ptr);
808 png_destroy_write_struct(&write_ptr, &write_info_ptr);
823 if (setjmp(png_jmpbuf(write_ptr)))
828 png_destroy_info_struct(write_ptr, &write_end_info_ptr);
830 png_destroy_write_struct(&write_ptr, &write_info_ptr);
837 png_memcpy(png_jmpbuf(write_ptr), jmpbuf, png_sizeof(jmp_buf));
846 png_init_io(write_ptr, fpout);
851 png_set_write_fn(write_ptr, (png_voidp)fpout, pngtest_write_data,
862 png_set_write_status_fn(write_ptr, write_row_callback);
869 png_set_write_status_fn(write_ptr, png_write_status_ptr_NULL);
884 png_set_write_user_transform_fn(write_ptr, count_zero_samples);
898 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_IF_SAFE,
912 png_set_IHDR(write_ptr, write_info_ptr, width, height, bit_depth,
928 png_set_cHRM_fixed(write_ptr, write_info_ptr, white_x, white_y, red_x,
938 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma);
950 png_set_cHRM(write_ptr, write_info_ptr, white_x, white_y, red_x,
960 png_set_gAMA(write_ptr, write_info_ptr, gamma);
975 png_set_iCCP(write_ptr, write_info_ptr, name, compression_type,
985 png_set_sRGB(write_ptr, write_info_ptr, intent);
993 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette);
1001 png_set_bKGD(write_ptr, write_info_ptr, background);
1010 png_set_hIST(write_ptr, write_info_ptr, hist);
1021 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type);
1035 png_set_pCAL(write_ptr, write_info_ptr, purpose, X0, X1, type,
1046 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type);
1054 png_set_sBIT(write_ptr, write_info_ptr, sig_bit);
1066 png_set_sCAL(write_ptr, write_info_ptr, unit, scal_width, scal_height);
1078 png_set_sCAL_s(write_ptr, write_info_ptr, unit, scal_width,
1093 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text);
1103 png_set_tIME(write_ptr, write_info_ptr, mod_time);
1135 png_set_tRNS(write_ptr, write_info_ptr, trans, num_trans,
1148 png_set_unknown_chunks(write_ptr, write_info_ptr, unknowns,
1155 png_set_unknown_chunk_location(write_ptr, write_info_ptr, i,
1165 * png_write_info_before_PLTE(write_ptr, write_info_ptr);
1167 png_write_info(write_ptr, write_info_ptr);
1181 png_write_chunk(write_ptr, png_sTER, ster_chunk_data, 1);
1198 png_write_chunk(write_ptr, png_vpAg, vpag_chunk_data, 9);
1216 png_set_interlace_handling(write_ptr);
1247 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1);
1267 png_free_data(write_ptr, write_info_ptr, PNG_FREE_UNKN, -1);
1281 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text);
1291 png_set_tIME(write_ptr, write_end_info_ptr, mod_time);
1314 png_set_unknown_chunks(write_ptr, write_end_info_ptr, unknowns,
1321 png_set_unknown_chunk_location(write_ptr, write_end_info_ptr, i,
1327 png_write_end(write_ptr, write_end_info_ptr);
1334 iwidth = png_get_image_width(write_ptr, write_info_ptr);
1335 iheight = png_get_image_height(write_ptr, write_info_ptr);
1351 png_destroy_info_struct(write_ptr, &write_end_info_ptr);
1352 png_debug(1, "destroying write_ptr, write_info_ptr");
1353 png_destroy_write_struct(&write_ptr, &write_info_ptr);