#include "png.h"
Include dependency graph for pngmem.c:
Go to the source code of this file.
png_voidp png_create_struct | ( | int | type | ) |
Definition at line 325 of file pngmem.c.
References png_create_struct_2(), png_malloc_ptr_NULL, and png_voidp_NULL.
Referenced by png_create_info_struct(), png_create_read_struct_2(), png_create_write_struct_2(), png_info_init_3(), png_read_init_3(), and png_write_init_3().
Definition at line 335 of file pngmem.c.
References malloc(), png_struct_def::mem_ptr, png_memset, and png_sizeof.
Referenced by png_create_info_struct(), png_create_read_struct_2(), png_create_struct(), and png_create_write_struct_2().
void png_destroy_struct | ( | png_voidp | struct_ptr | ) |
Definition at line 379 of file pngmem.c.
References png_destroy_struct_2(), png_free_ptr_NULL, and png_voidp_NULL.
Referenced by png_create_read_struct_2(), png_create_write_struct_2(), png_destroy_info_struct(), png_destroy_read_struct(), png_destroy_write_struct(), png_info_init_3(), png_read_init_3(), and png_write_init_3().
Definition at line 387 of file pngmem.c.
References free(), and png_struct_def::mem_ptr.
Referenced by png_create_read_struct_2(), png_destroy_info_struct(), png_destroy_read_struct(), png_destroy_struct(), and png_destroy_write_struct().
void PNGAPI png_free | ( | png_structp | png_ptr, | |
png_voidp | ptr | |||
) |
Definition at line 491 of file pngmem.c.
References png_free_default().
Referenced by png_check_keyword(), png_create_read_struct_2(), png_create_write_struct_2(), png_decompress_chunk(), png_destroy_write_struct(), png_free_data(), png_handle_iCCP(), png_handle_pCAL(), png_handle_sCAL(), png_handle_sPLT(), png_handle_tEXt(), png_handle_unknown(), png_handle_zTXt(), png_info_destroy(), png_push_handle_unknown(), png_push_read_tEXt(), png_push_read_zTXt(), png_push_save_buffer(), png_read_destroy(), png_set_compression_buffer_size(), png_set_iCCP(), png_set_keep_unknown_chunks(), png_set_sPLT(), png_set_text_2(), png_set_unknown_chunks(), png_text_compress(), png_write_compressed_data_out(), png_write_destroy(), png_write_iCCP(), png_write_pCAL(), png_write_tEXt(), png_write_zTXt(), png_zfree(), and test_one_file().
void PNGAPI png_free_default | ( | png_structp | png_ptr, | |
png_voidp | ptr | |||
) |
png_voidp PNGAPI png_get_mem_ptr | ( | png_structp | png_ptr | ) |
png_voidp PNGAPI png_malloc | ( | png_structp | png_ptr, | |
png_uint_32 | size | |||
) |
Definition at line 422 of file pngmem.c.
References png_error(), and png_malloc_default().
Referenced by png_build_gamma_table(), png_convert_to_rfc1123(), png_create_read_struct_2(), png_create_write_struct_2(), png_handle_iCCP(), png_handle_sPLT(), png_handle_unknown(), png_malloc_warn(), png_push_handle_tEXt(), png_push_handle_unknown(), png_push_handle_zTXt(), png_push_read_tEXt(), png_push_read_zTXt(), png_push_save_buffer(), png_read_init_3(), png_read_png(), png_read_start_row(), png_set_compression_buffer_size(), png_set_dither(), png_set_filter(), png_set_filter_heuristics(), png_set_keep_unknown_chunks(), png_set_PLTE(), png_set_sPLT(), png_set_tRNS(), png_text_compress(), png_write_init_3(), png_write_pCAL(), png_write_start_row(), png_zalloc(), and test_one_file().
png_voidp PNGAPI png_malloc_default | ( | png_structp | png_ptr, | |
png_uint_32 | size | |||
) |
Definition at line 440 of file pngmem.c.
References malloc(), png_error(), and png_uint_32.
Referenced by png_malloc().
png_voidp PNGAPI png_malloc_warn | ( | png_structp | png_ptr, | |
png_uint_32 | size | |||
) |
Definition at line 534 of file pngmem.c.
References png_malloc(), and png_uint_32.
Referenced by png_check_keyword(), png_decompress_chunk(), png_handle_pCAL(), png_handle_sCAL(), png_handle_sPLT(), png_handle_tEXt(), png_handle_zTXt(), png_set_hIST(), png_set_iCCP(), png_set_pCAL(), png_set_sPLT(), png_set_text_2(), and png_set_unknown_chunks().
png_voidp PNGAPI png_memcpy_check | ( | png_structp | png_ptr, | |
png_voidp | s1, | |||
png_voidp | s2, | |||
png_uint_32 | length | |||
) |
Definition at line 547 of file pngmem.c.
References png_error(), png_memcpy, and png_uint_32.
Referenced by png_push_process_row(), and png_write_row().
png_voidp PNGAPI png_memset_check | ( | png_structp | png_ptr, | |
png_voidp | s1, | |||
int | value, | |||
png_uint_32 | length | |||
) |
Definition at line 560 of file pngmem.c.
References png_error(), png_memset, and png_uint_32.
Referenced by png_read_finish_row(), png_read_push_finish_row(), and png_read_start_row().
void PNGAPI png_set_mem_fn | ( | png_structp | png_ptr, | |
png_voidp | mem_ptr, | |||
png_malloc_ptr | malloc_fn, | |||
png_free_ptr | free_fn | |||
) |
Definition at line 578 of file pngmem.c.
Referenced by png_create_read_struct_2(), and png_create_write_struct_2().