2008-06-27 01:41:15 -07:00
.TH LIBPNGPF 3 "May 8, 2008"
2007-05-20 11:03:49 -07:00
.SH NAME
2008-06-27 01:41:15 -07:00
libpng \- Portable Network Graphics (PNG) Reference Library 1.2.29
2007-05-20 11:03:49 -07:00
(private functions)
.SH SYNOPSIS
\fB #include <png.h>\fP
\fB void png_build_gamma_table (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_build_grayscale_palette (int \fP \fI bit_depth\fP \fB , png_colorp \fI palette\fP \fB );\fP
\fB void png_calculate_crc (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI ptr\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB void png_check_chunk_name (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fI chunk_name\fP \fB );\fP
\fB png_size_t png_check_keyword (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI key\fP \fB , png_charpp \fI new_key\fP \fB );\fP
\fB void png_combine_row (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI row\fP \fB , int \fI mask\fP \fB );\fP
\fB void png_correct_palette (png_structp \fP \fI png_ptr\fP \fB , png_colorp \fP \fI palette\fP \fB , int \fI num_palette\fP \fB );\fP
\fB int png_crc_error (png_structp \fI png_ptr\fP \fB );\fP
\fB int png_crc_finish (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fI skip\fP \fB );\fP
\fB void png_crc_read (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI buf\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB png_voidp png_create_struct (int \fI type\fP \fB );\fP
\fB png_voidp png_create_struct_2 (int \fP \fI type\fP \fB , png_malloc_ptr \fP \fI malloc_fn\fP \fB , png_voidp \fI mem_ptr\fP \fB );\fP
\fB png_charp png_decompress_chunk (png_structp \fP \fI png_ptr\fP \fB , int \fP \fI comp_type\fP \fB , png_charp \fP \fI chunkdata\fP \fB , png_size_t \fP \fI chunklength\fP \fB , png_size_t \fP \fI prefix_length\fP \fB , png_size_t \fI *data_length\fP \fB );\fP
\fB void png_destroy_struct (png_voidp \fI struct_ptr\fP \fB );\fP
\fB void png_destroy_struct_2 (png_voidp \fP \fI struct_ptr\fP \fB , png_free_ptr \fP \fI free_fn\fP \fB , png_voidp \fI mem_ptr\fP \fB );\fP
\fB void png_do_background (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_color_16p \fP \fI trans_values\fP \fB , png_color_16p \fP \fI background\fP \fB , png_color_16p \fP \fI background_1\fP \fB , png_bytep \fP \fI gamma_table\fP \fB , png_bytep \fP \fI gamma_from_1\fP \fB , png_bytep \fP \fI gamma_to_1\fP \fB , png_uint_16pp \fP \fI gamma_16\fP \fB , png_uint_16pp \fP \fI gamma_16_from_1\fP \fB , png_uint_16pp \fP \fI gamma_16_to_1\fP \fB , int \fI gamma_shift\fP \fB );\fP
\fB void png_do_bgr (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_chop (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_dither (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_bytep \fP \fI palette_lookup\fP \fB , png_bytep \fI dither_lookup\fP \fB );\fP
\fB void png_do_expand (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_color_16p \fI trans_value\fP \fB );\fP
\fB void png_do_expand_palette (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_colorp \fP \fI palette\fP \fB , png_bytep \fP \fI trans\fP \fB , int \fI num_trans\fP \fB );\fP
\fB void png_do_gamma (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_bytep \fP \fI gamma_table\fP \fB , png_uint_16pp \fP \fI gamma_16_table\fP \fB , int \fI gamma_shift\fP \fB );\fP
\fB void png_do_gray_to_rgb (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_invert (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_pack (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_uint_32 \fI bit_depth\fP \fB );\fP
\fB void png_do_packswap (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_read_filler (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_uint_32 \fP \fI filler\fP \fB , png_uint_32 \fI flags\fP \fB );\fP
\fB void png_do_read_interlace (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , int \fP \fI pass\fP \fB , png_uint_32 \fI transformations\fP \fB );\fP
\fB void png_do_read_invert_alpha (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_read_swap_alpha (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_read_transformations (png_structp \fI png_ptr\fP \fB );\fP
\fB int png_do_rgb_to_gray (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_shift (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_color_8p \fI bit_depth\fP \fB );\fP
\fB void png_do_strip_filler (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_uint_32 \fI flags\fP \fB );\fP
\fB void png_do_swap (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_unpack (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_unshift (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_color_8p \fI sig_bits\fP \fB );\fP
\fB void png_do_write_interlace (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , int \fI pass\fP \fB );\fP
\fB void png_do_write_invert_alpha (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_write_swap_alpha (png_row_infop \fP \fI row_info\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_do_write_transformations (png_structp \fI png_ptr\fP \fB );\fP
\fB void *png_far_to_near (png_structp png_ptr,png_voidp \fP \fI ptr\fP \fB , int \fI check\fP \fB );\fP
\fB void png_flush (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_handle_bKGD (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_cHRM (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_gAMA (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_hIST (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_IEND (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_IHDR (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_iCCP (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_iTXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_oFFs (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_pCAL (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_pHYs (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_PLTE (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_sBIT (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_sCAL (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_sPLT (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_sRGB (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_tEXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_tIME (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_tRNS (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_unknown (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_handle_zTXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_info_destroy (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_init_mmx_flags (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_init_read_transformations (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_process_IDAT_data (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI buffer\fP \fB , png_size_t \fI buffer_length\fP \fB );\fP
\fB void png_process_some_data (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_check_crc (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_push_crc_finish (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_push_crc_skip (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_push_fill_buffer (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI buffer\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB void png_push_handle_tEXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_push_handle_unknown (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_push_handle_zTXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_uint_32 \fI length\fP \fB );\fP
\fB void png_push_have_end (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_have_info (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_have_row (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fI row\fP \fB );\fP
\fB void png_push_process_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_push_read_chunk (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_read_end (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_read_IDAT (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_push_read_sig (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_read_tEXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_read_zTXt (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_push_restore_buffer (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI buffer\fP \fB , png_size_t \fI buffer_length\fP \fB );\fP
\fB void png_push_save_buffer (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_read_data (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI data\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB void png_read_filter_row (png_structp \fP \fI png_ptr\fP \fB , png_row_infop \fP \fI row_info\fP \fB , png_bytep \fP \fI row\fP \fB , png_bytep \fP \fI prev_row\fP \fB , int \fI filter\fP \fB );\fP
\fB void png_read_finish_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_read_push_finish_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_read_start_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_read_transform_info (png_structp \fP \fI png_ptr\fP \fB , png_infop \fI info_ptr\fP \fB );\fP
\fB void png_reset_crc (png_structp \fI png_ptr\fP \fB );\fP
\fB int png_set_text_2 (png_structp \fP \fI png_ptr\fP \fB , png_infop \fP \fI info_ptr\fP \fB , png_textp \fP \fI text_ptr\fP \fB , int \fI num_text\fP \fB );\fP
\fB void png_write_cHRM (png_structp \fP \fI png_ptr\fP \fB , double \fP \fI white_x\fP \fB , double \fP \fI white_y\fP \fB , double \fP \fI red_x\fP \fB , double \fP \fI red_y\fP \fB , double \fP \fI green_x\fP \fB , double \fP \fI green_y\fP \fB , double \fP \fI blue_x\fP \fB , double \fI blue_y\fP \fB );\fP
\fB void png_write_cHRM_fixed (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fP \fI white_x\fP \fB , png_uint_32 \fP \fI white_y\fP \fB , png_uint_32 \fP \fI red_x\fP \fB , png_uint_32 \fP \fI red_y\fP \fB , png_uint_32 \fP \fI green_x\fP \fB , png_uint_32 \fP \fI green_y\fP \fB , png_uint_32 \fP \fI blue_x\fP \fB , png_uint_32 \fI blue_y\fP \fB );\fP
\fB void png_write_data (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI data\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB void png_write_filtered_row (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fI filtered_row\fP \fB );\fP
\fB void png_write_find_filter (png_structp \fP \fI png_ptr\fP \fB , png_row_infop \fI row_info\fP \fB );\fP
\fB void png_write_finish_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_write_gAMA (png_structp \fP \fI png_ptr\fP \fB , double \fI file_gamma\fP \fB );\fP
\fB void png_write_gAMA_fixed (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fI int_file_gamma\fP \fB );\fP
\fB void png_write_hIST (png_structp \fP \fI png_ptr\fP \fB , png_uint_16p \fP \fI hist\fP \fB , int \fI num_hist\fP \fB );\fP
\fB void png_write_iCCP (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI name\fP \fB , int \fP \fI compression_type\fP \fB , png_charp \fP \fI profile\fP \fB , int \fI proflen\fP \fB );\fP
\fB void png_write_IDAT (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI data\fP \fB , png_size_t \fI length\fP \fB );\fP
\fB void png_write_IEND (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_write_IHDR (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fP \fI width\fP \fB , png_uint_32 \fP \fI height\fP \fB , int \fP \fI bit_depth\fP \fB , int \fP \fI color_type\fP \fB , int \fP \fI compression_type\fP \fB , int \fP \fI filter_type\fP \fB , int \fI interlace_type\fP \fB );\fP
\fB void png_write_iTXt (png_structp \fP \fI png_ptr\fP \fB , int \fP \fI compression\fP \fB , png_charp \fP \fI key\fP \fB , png_charp \fP \fI lang\fP \fB , png_charp \fP \fI translated_key\fP \fB , png_charp \fI text\fP \fB );\fP
\fB void png_write_oFFs (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fP \fI x_offset\fP \fB , png_uint_32 \fP \fI y_offset\fP \fB , int \fI unit_type\fP \fB );\fP
\fB void png_write_pCAL (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI purpose\fP \fB , png_int_32 \fP \fI X0\fP \fB , png_int_32 \fP \fI X1\fP \fB , int \fP \fI type\fP \fB , int \fP \fI nparams\fP \fB , png_charp \fP \fI units\fP \fB , png_charpp \fI params\fP \fB );\fP
\fB void png_write_pHYs (png_structp \fP \fI png_ptr\fP \fB , png_uint_32 \fP \fI x_pixels_per_unit\fP \fB , png_uint_32 \fP \fI y_pixels_per_unit\fP \fB , int \fI unit_type\fP \fB );\fP
\fB void png_write_PLTE (png_structp \fP \fI png_ptr\fP \fB , png_colorp \fP \fI palette\fP \fB , png_uint_32 \fI num_pal\fP \fB );\fP
\fB void png_write_sBIT (png_structp \fP \fI png_ptr\fP \fB , png_color_8p \fP \fI sbit\fP \fB , int \fI color_type\fP \fB );\fP
\fB void png_write_sCAL (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI unit\fP \fB , double \fP \fI width\fP \fB , double \fI height\fP \fB );\fP
\fB void png_write_sCAL_s (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI unit\fP \fB , png_charp \fP \fI width\fP \fB , png_charp \fI height\fP \fB );\fP
\fB void png_write_sig (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_write_sRGB (png_structp \fP \fI png_ptr\fP \fB , int \fI intent\fP \fB );\fP
\fB void png_write_sPLT (png_structp \fP \fI png_ptr\fP \fB , png_spalette_p \fI palette\fP \fB );\fP
\fB void png_write_start_row (png_structp \fI png_ptr\fP \fB );\fP
\fB void png_write_tEXt (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI key\fP \fB , png_charp \fP \fI text\fP \fB , png_size_t \fI text_len\fP \fB );\fP
\fB void png_write_tIME (png_structp \fP \fI png_ptr\fP \fB , png_timep \fI mod_time\fP \fB );\fP
\fB void png_write_tRNS (png_structp \fP \fI png_ptr\fP \fB , png_bytep \fP \fI trans\fP \fB , png_color_16p \fP \fI values\fP \fB , int \fP \fI number\fP \fB , int \fI color_type\fP \fB );\fP
\fB void png_write_zTXt (png_structp \fP \fI png_ptr\fP \fB , png_charp \fP \fI key\fP \fB , png_charp \fP \fI text\fP \fB , png_size_t \fP \fI text_len\fP \fB , int \fI compression\fP \fB );\fP
\fB voidpf png_zalloc (voidpf \fP \fI png_ptr\fP \fB , uInt \fP \fI items\fP \fB , uInt \fI size\fP \fB );\fP
\fB void png_zfree (voidpf \fP \fI png_ptr\fP \fB , voidpf \fI ptr\fP \fB );\fP
\fI \fB
.SH DESCRIPTION
The functions listed above are used privately by libpng
and are not recommended for use by applications. They are
not "exported" to applications using shared libraries. They
are listed alphabetically here as an aid to libpng maintainers.
See png.h for more information on these functions.
.SH SEE ALSO
2008-06-27 01:41:15 -07:00
.IR libpng(3) ", " png(5)
2007-05-20 11:03:49 -07:00
.SH AUTHOR
Glenn Randers-Pehrson