Lines Matching refs:write_ptr
733 write_sTER_chunk(png_structp write_ptr) in write_sTER_chunk() argument
740 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
744 write_vpAg_chunk(png_structp write_ptr) in write_vpAg_chunk() argument
759 png_write_chunk(write_ptr, vpAg, vpag_chunk_data, 9); in write_vpAg_chunk()
763 write_chunks(png_structp write_ptr, int location) in write_chunks() argument
776 write_sTER_chunk(write_ptr); in write_chunks()
779 write_vpAg_chunk(write_ptr); in write_chunks()
837 png_structp write_ptr; in test_one_file() local
842 png_structp write_ptr = NULL; in test_one_file() local
882 write_ptr = in test_one_file()
886 write_ptr = in test_one_file()
889 png_set_error_fn(write_ptr, &error_parameters, pngtest_error, in test_one_file()
896 write_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
897 write_end_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
915 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
916 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()
926 if (setjmp(png_jmpbuf(write_ptr))) in test_one_file()
930 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
932 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()
948 png_set_benign_errors(write_ptr, 0); in test_one_file()
963 png_set_benign_errors(write_ptr, 1); in test_one_file()
971 png_init_io(write_ptr, fpout); in test_one_file()
976 png_set_write_fn(write_ptr, (png_voidp)fpout, pngtest_write_data, in test_one_file()
988 png_set_write_status_fn(write_ptr, write_row_callback); in test_one_file()
996 png_set_write_status_fn(write_ptr, NULL); in test_one_file()
1013 png_set_write_user_transform_fn(write_ptr, count_zero_samples); in test_one_file()
1030 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, in test_one_file()
1054 png_set_IHDR(write_ptr, write_info_ptr, width, height, bit_depth, in test_one_file()
1087 png_set_cHRM_fixed(write_ptr, write_info_ptr, white_x, white_y, red_x, in test_one_file()
1097 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma); in test_one_file()
1110 png_set_cHRM(write_ptr, write_info_ptr, white_x, white_y, red_x, in test_one_file()
1120 png_set_gAMA(write_ptr, write_info_ptr, gamma); in test_one_file()
1135 png_set_iCCP(write_ptr, write_info_ptr, name, compression_type, in test_one_file()
1145 png_set_sRGB(write_ptr, write_info_ptr, intent); in test_one_file()
1153 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette); in test_one_file()
1161 png_set_bKGD(write_ptr, write_info_ptr, background); in test_one_file()
1170 png_set_hIST(write_ptr, write_info_ptr, hist); in test_one_file()
1181 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type); in test_one_file()
1195 png_set_pCAL(write_ptr, write_info_ptr, purpose, X0, X1, type, in test_one_file()
1206 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
1214 png_set_sBIT(write_ptr, write_info_ptr, sig_bit); in test_one_file()
1227 png_set_sCAL(write_ptr, write_info_ptr, unit, scal_width, scal_height); in test_one_file()
1239 png_set_sCAL_s(write_ptr, write_info_ptr, unit, scal_width, in test_one_file()
1269 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1279 png_set_tIME(write_ptr, write_info_ptr, mod_time); in test_one_file()
1312 png_set_tRNS(write_ptr, write_info_ptr, trans_alpha, num_trans, in test_one_file()
1325 png_set_unknown_chunks(write_ptr, write_info_ptr, unknowns, in test_one_file()
1335 png_set_unknown_chunk_location(write_ptr, write_info_ptr, i, in test_one_file()
1349 png_write_info_before_PLTE(write_ptr, write_info_ptr); in test_one_file()
1351 write_chunks(write_ptr, before_PLTE); /* before PLTE */ in test_one_file()
1353 png_write_info(write_ptr, write_info_ptr); in test_one_file()
1355 write_chunks(write_ptr, before_IDAT); /* after PLTE */ in test_one_file()
1369 if (png_set_interlace_handling(write_ptr) != num_pass) in test_one_file()
1370 png_error(write_ptr, "png_set_interlace_handling: inconsistent num_pass"); in test_one_file()
1400 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file()
1421 png_free_data(write_ptr, write_info_ptr, PNG_FREE_UNKN, -1); in test_one_file()
1451 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text); in test_one_file()
1461 png_set_tIME(write_ptr, write_end_info_ptr, mod_time); in test_one_file()
1485 png_set_unknown_chunks(write_ptr, write_end_info_ptr, unknowns, in test_one_file()
1495 png_set_unknown_chunk_location(write_ptr, write_end_info_ptr, i, in test_one_file()
1509 png_set_text_compression_strategy(write_ptr, Z_FILTERED); in test_one_file()
1518 write_chunks(write_ptr, after_IDAT); in test_one_file()
1520 png_write_end(write_ptr, write_end_info_ptr); in test_one_file()
1527 iwidth = png_get_image_width(write_ptr, write_info_ptr); in test_one_file()
1528 iheight = png_get_image_height(write_ptr, write_info_ptr); in test_one_file()
1544 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
1546 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()