#include "png.h"
Go to the source code of this file.
png_uint_32 PNGAPI png_access_version_number | ( | void | ) |
void png_calculate_crc | ( | png_structp | png_ptr, | |
png_bytep | ptr, | |||
png_size_t | length | |||
) |
Definition at line 212 of file png.c.
Referenced by png_crc_read(), png_push_crc_finish(), png_push_read_IDAT(), png_write_chunk_data(), and png_write_chunk_start().
int PNGAPI png_check_sig | ( | png_bytep | sig, | |
int | num | |||
) |
png_charp PNGAPI png_convert_to_rfc1123 | ( | png_structp | png_ptr, | |
png_timep | ptime | |||
) |
Definition at line 645 of file png.c.
References NULL, PNG_CONST, png_malloc(), png_memcpy, png_sizeof, png_snprintf6, and png_uint_32.
png_infop PNGAPI png_create_info_struct | ( | png_structp | png_ptr | ) |
Definition at line 239 of file png.c.
References info_ptr, NULL, png_create_struct(), png_create_struct_2(), png_debug, png_info_init_3(), and png_sizeof.
Referenced by ASImage2png_int(), and png2ASImage_int().
void PNGAPI png_data_freer | ( | png_structp | png_ptr, | |
png_infop | info_ptr, | |||
int | freer, | |||
png_uint_32 | mask | |||
) |
Definition at line 322 of file png.c.
References NULL, png_debug, PNG_DESTROY_WILL_FREE_DATA, PNG_USER_WILL_FREE_DATA, and png_warning().
void PNGAPI png_destroy_info_struct | ( | png_structp | png_ptr, | |
png_infopp | info_ptr_ptr | |||
) |
Definition at line 263 of file png.c.
References info_ptr, NULL, png_debug, png_destroy_struct(), png_destroy_struct_2(), and png_info_destroy().
Referenced by ASImage2png_int().
void PNGAPI png_free_data | ( | png_structp | png_ptr, | |
png_infop | info_ptr, | |||
png_uint_32 | mask, | |||
int | num | |||
) |
Definition at line 339 of file png.c.
References i, int, NULL, png_debug, png_free(), PNG_FREE_HIST, PNG_FREE_ICCP, PNG_FREE_MUL, PNG_FREE_PCAL, PNG_FREE_PLTE, PNG_FREE_ROWS, PNG_FREE_SCAL, PNG_FREE_SPLT, PNG_FREE_TEXT, PNG_FREE_TRNS, PNG_FREE_UNKN, PNG_INFO_hIST, PNG_INFO_iCCP, PNG_INFO_IDAT, PNG_INFO_pCAL, PNG_INFO_PLTE, PNG_INFO_sCAL, PNG_INFO_sPLT, PNG_INFO_tRNS, png_zfree(), and row.
Referenced by png_destroy_read_struct(), png_destroy_write_struct(), png_info_destroy(), png_read_png(), png_set_hIST(), png_set_iCCP(), png_set_PLTE(), png_set_rows(), and png_set_tRNS().
png_charp PNGAPI png_get_copyright | ( | png_structp | png_ptr | ) |
png_charp PNGAPI png_get_header_ver | ( | png_structp | png_ptr | ) |
png_charp PNGAPI png_get_header_version | ( | png_structp | png_ptr | ) |
png_voidp PNGAPI png_get_io_ptr | ( | png_structp | png_ptr | ) |
png_charp PNGAPI png_get_libpng_ver | ( | png_structp | png_ptr | ) |
int PNGAPI png_handle_as_unknown | ( | png_structp | png_ptr, | |
png_bytep | chunk_name | |||
) |
Definition at line 741 of file png.c.
References i, NULL, p, png_bytep, and png_memcmp.
Referenced by png_handle_unknown(), png_push_handle_unknown(), png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_info_before_PLTE().
void png_info_destroy | ( | png_structp | png_ptr, | |
png_infop | info_ptr | |||
) |
Definition at line 593 of file png.c.
References NULL, png_debug, png_free(), PNG_FREE_ALL, png_free_data(), png_info_init_3(), and png_sizeof.
Referenced by png_destroy_info_struct(), and png_read_destroy().
void PNGAPI png_info_init | ( | png_infop | info_ptr | ) |
void PNGAPI png_info_init_3 | ( | png_infopp | ptr_ptr, | |
png_size_t | png_info_struct_size | |||
) |
Definition at line 301 of file png.c.
References info_ptr, NULL, png_create_struct(), png_debug, png_destroy_struct(), png_memset, and png_sizeof.
Referenced by png_create_info_struct(), png_info_destroy(), and png_info_init().
void PNGAPI png_init_io | ( | png_structp | png_ptr, | |
png_FILE_p | fp | |||
) |
Definition at line 632 of file png.c.
References NULL, and png_debug.
Referenced by ASImage2png_int(), and png2ASImage_int().
void png_reset_crc | ( | png_structp | png_ptr | ) |
Definition at line 201 of file png.c.
References crc32(), and Z_NULL.
Referenced by png_push_read_chunk(), png_push_read_IDAT(), png_read_end(), png_read_finish_row(), png_read_info(), png_read_row(), and png_write_chunk_start().
int PNGAPI png_reset_zstream | ( | png_structp | png_ptr | ) |
void PNGAPI png_set_sig_bytes | ( | png_structp | png_ptr, | |
int | num_bytes | |||
) |
int PNGAPI png_sig_cmp | ( | png_bytep | sig, | |
png_size_t | start, | |||
png_size_t | num_to_check | |||
) |
Definition at line 112 of file png.c.
References png_memcmp.
Referenced by png_check_sig(), png_push_read_sig(), and png_read_info().
Definition at line 149 of file png.c.
References NULL, num_bytes, p, png_bytep, png_malloc(), png_memset, png_size_t, png_uint_32, PNG_UINT_32_MAX, png_warning(), and ptr.
Referenced by png_create_read_struct_2(), png_read_init_3(), and png_write_IHDR().
Definition at line 192 of file png.c.
References png_free().
Referenced by png_create_read_struct_2(), png_free_data(), png_read_destroy(), png_read_init_3(), and png_write_IHDR().
Definition at line 37 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_bKGD().
Definition at line 38 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), png_write_cHRM(), and png_write_cHRM_fixed().
Definition at line 39 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), png_write_gAMA(), and png_write_gAMA_fixed().
Definition at line 40 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_hIST().
Definition at line 41 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_iCCP().
Definition at line 34 of file png.c.
Referenced by png_handle_unknown(), png_push_read_chunk(), png_push_read_IDAT(), png_read_end(), png_read_finish_row(), png_read_info(), png_read_row(), and png_write_IDAT().
Definition at line 35 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_IEND().
Definition at line 33 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_IHDR().
Definition at line 42 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), and png_read_info().
PNG_CONST char png_libpng_ver[18] = PNG_LIBPNG_VER_STRING |
Definition at line 23 of file png.c.
Referenced by png_create_read_struct_2(), png_create_write_struct_2(), png_read_init_2(), png_read_init_3(), png_write_init_2(), and png_write_init_3().
Definition at line 43 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_oFFs().
PNG_CONST int FARDATA png_pass_dsp_mask[] = {0xff, 0x0f, 0xff, 0x33, 0xff, 0x55, 0xff} |
Definition at line 80 of file png.c.
Referenced by png_progressive_combine_row(), and png_read_row().
PNG_CONST int FARDATA png_pass_inc[] = {8, 8, 4, 4, 2, 2, 1} |
Definition at line 62 of file png.c.
Referenced by png_do_read_interlace(), png_do_write_interlace(), png_read_finish_row(), png_read_push_finish_row(), png_read_start_row(), png_write_finish_row(), and png_write_start_row().
PNG_CONST int FARDATA png_pass_mask[] = {0x80, 0x08, 0x88, 0x22, 0xaa, 0x55, 0xff} |
PNG_CONST int FARDATA png_pass_start[] = {0, 4, 0, 2, 0, 1, 0} |
Definition at line 59 of file png.c.
Referenced by png_do_write_interlace(), png_read_finish_row(), png_read_push_finish_row(), png_read_start_row(), png_write_finish_row(), and png_write_start_row().
PNG_CONST int FARDATA png_pass_yinc[] = {8, 8, 8, 4, 4, 2, 2} |
Definition at line 68 of file png.c.
Referenced by png_read_finish_row(), png_read_push_finish_row(), png_read_start_row(), png_write_finish_row(), and png_write_start_row().
PNG_CONST int FARDATA png_pass_ystart[] = {0, 0, 4, 0, 2, 0, 1} |
Definition at line 65 of file png.c.
Referenced by png_read_finish_row(), png_read_push_finish_row(), png_read_start_row(), png_write_finish_row(), and png_write_start_row().
Definition at line 44 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_pCAL().
Definition at line 46 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_pHYs().
Definition at line 36 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_PLTE().
Definition at line 47 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_sBIT().
Definition at line 45 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_sCAL().
Definition at line 48 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_sPLT().
Definition at line 49 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_sRGB().
Definition at line 50 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_tEXt().
Definition at line 51 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_tIME().
Definition at line 52 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_tRNS().
Definition at line 53 of file png.c.
Referenced by png_push_read_chunk(), png_read_end(), png_read_info(), and png_write_zTXt().