Lines Matching refs:write_ptr
754 write_sTER_chunk(png_structp write_ptr) in write_sTER_chunk() argument
761 png_write_chunk(write_ptr, sTER, &user_chunk_data.sTER_mode, 1); in write_sTER_chunk()
765 write_vpAg_chunk(png_structp write_ptr) in write_vpAg_chunk() argument
780 png_write_chunk(write_ptr, vpAg, vpag_chunk_data, 9); in write_vpAg_chunk()
784 write_chunks(png_structp write_ptr, int location) in write_chunks() argument
797 write_sTER_chunk(write_ptr); in write_chunks()
800 write_vpAg_chunk(write_ptr); in write_chunks()
861 png_structp write_ptr; in test_one_file() local
868 png_structp write_ptr = NULL; in test_one_file() local
909 write_ptr = in test_one_file()
913 write_ptr = in test_one_file()
916 png_set_error_fn(write_ptr, &error_parameters, pngtest_error, in test_one_file()
923 write_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
924 write_end_info_ptr = png_create_info_struct(write_ptr); in test_one_file()
946 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
947 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()
957 if (setjmp(png_jmpbuf(write_ptr))) in test_one_file()
967 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
968 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()
984 png_set_benign_errors(write_ptr, 0); in test_one_file()
1007 png_set_benign_errors(write_ptr, 1); in test_one_file()
1017 png_init_io(write_ptr, fpout); in test_one_file()
1022 png_set_write_fn(write_ptr, (png_voidp)fpout, pngtest_write_data, in test_one_file()
1034 png_set_write_status_fn(write_ptr, write_row_callback); in test_one_file()
1042 png_set_write_status_fn(write_ptr, NULL); in test_one_file()
1052 png_set_write_user_transform_fn(write_ptr, count_zero_samples); in test_one_file()
1069 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, in test_one_file()
1093 png_set_IHDR(write_ptr, write_info_ptr, width, height, bit_depth, in test_one_file()
1126 png_set_cHRM_fixed(write_ptr, write_info_ptr, white_x, white_y, red_x, in test_one_file()
1136 png_set_gAMA_fixed(write_ptr, write_info_ptr, gamma); in test_one_file()
1149 png_set_cHRM(write_ptr, write_info_ptr, white_x, white_y, red_x, in test_one_file()
1159 png_set_gAMA(write_ptr, write_info_ptr, gamma); in test_one_file()
1174 png_set_iCCP(write_ptr, write_info_ptr, name, compression_type, in test_one_file()
1184 png_set_sRGB(write_ptr, write_info_ptr, intent); in test_one_file()
1192 png_set_PLTE(write_ptr, write_info_ptr, palette, num_palette); in test_one_file()
1200 png_set_bKGD(write_ptr, write_info_ptr, background); in test_one_file()
1215 png_set_eXIf_1(write_ptr, write_info_ptr, exif_length, exif); in test_one_file()
1225 png_set_hIST(write_ptr, write_info_ptr, hist); in test_one_file()
1236 png_set_oFFs(write_ptr, write_info_ptr, offset_x, offset_y, unit_type); in test_one_file()
1250 png_set_pCAL(write_ptr, write_info_ptr, purpose, X0, X1, type, in test_one_file()
1262 png_set_pHYs(write_ptr, write_info_ptr, res_x, res_y, unit_type); in test_one_file()
1270 png_set_sBIT(write_ptr, write_info_ptr, sig_bit); in test_one_file()
1283 png_set_sCAL(write_ptr, write_info_ptr, unit, scal_width, scal_height); in test_one_file()
1295 png_set_sCAL_s(write_ptr, write_info_ptr, unit, scal_width, in test_one_file()
1310 png_set_sPLT(write_ptr, write_info_ptr, entries, num_entries); in test_one_file()
1338 png_set_text(write_ptr, write_info_ptr, text_ptr, num_text); in test_one_file()
1348 png_set_tIME(write_ptr, write_info_ptr, mod_time); in test_one_file()
1381 png_set_tRNS(write_ptr, write_info_ptr, trans_alpha, num_trans, in test_one_file()
1394 png_set_unknown_chunks(write_ptr, write_info_ptr, unknowns, in test_one_file()
1404 png_set_unknown_chunk_location(write_ptr, write_info_ptr, i, in test_one_file()
1418 png_write_info_before_PLTE(write_ptr, write_info_ptr); in test_one_file()
1420 write_chunks(write_ptr, before_PLTE); /* before PLTE */ in test_one_file()
1422 png_write_info(write_ptr, write_info_ptr); in test_one_file()
1424 write_chunks(write_ptr, before_IDAT); /* after PLTE */ in test_one_file()
1426 png_write_info(write_ptr, write_end_info_ptr); in test_one_file()
1428 write_chunks(write_ptr, after_IDAT); /* after IDAT */ in test_one_file()
1432 png_set_compression(write_ptr, PNG_COMPRESSION_COMPAT); in test_one_file()
1452 png_error(write_ptr, in test_one_file()
1454 if (png_set_interlace_handling(write_ptr) != num_passes) in test_one_file()
1455 png_error(write_ptr, in test_one_file()
1507 png_write_rows(write_ptr, (png_bytepp)&row_buf, 1); in test_one_file()
1528 png_free_data(write_ptr, write_info_ptr, PNG_FREE_UNKN, -1); in test_one_file()
1558 png_set_text(write_ptr, write_end_info_ptr, text_ptr, num_text); in test_one_file()
1573 png_set_eXIf_1(write_ptr, write_end_info_ptr, exif_length, exif); in test_one_file()
1584 png_set_tIME(write_ptr, write_end_info_ptr, mod_time); in test_one_file()
1608 png_set_unknown_chunks(write_ptr, write_end_info_ptr, unknowns, in test_one_file()
1618 png_set_unknown_chunk_location(write_ptr, write_end_info_ptr, i, in test_one_file()
1632 png_set_text_compression_strategy(write_ptr, Z_FILTERED); in test_one_file()
1641 write_chunks(write_ptr, after_IDAT); in test_one_file()
1643 png_write_end(write_ptr, write_end_info_ptr); in test_one_file()
1650 iwidth = png_get_image_width(write_ptr, write_info_ptr); in test_one_file()
1651 iheight = png_get_image_height(write_ptr, write_info_ptr); in test_one_file()
1667 png_destroy_info_struct(write_ptr, &write_end_info_ptr); in test_one_file()
1669 png_destroy_write_struct(&write_ptr, &write_info_ptr); in test_one_file()