#include "png.h"
#include <stdio.h>
#include <stdlib.h>
Go to the source code of this file.
|
| #define | FCLOSE(file) fclose(file) |
| |
| #define | PNG_DEBUG 0 |
| |
| #define | PNG_tIME_STRING_LENGTH 29 |
| |
| #define | READFILE(file, data, length, check) check=(png_size_t)fread(data, (png_size_t)1, length, file) |
| |
| #define | SINGLE_ROWBUF_ALLOC /* makes buffer overruns easier to nail */ |
| |
| #define | STDERR stdout /* for DOS */ |
| |
| #define | WRITEFILE(file, data, length, check) check=(png_size_t)fwrite(data, (png_size_t)1, length, file) |
| |
|
| void | count_filters (png_structp png_ptr, png_row_infop row_info, png_bytep data) |
| |
| void | count_zero_samples (png_structp png_ptr, png_row_infop row_info, png_bytep data) |
| |
| int | main (int argc, char *argv[]) |
| |
| int test_one_file | PNGARG ((PNG_CONST char *inname, PNG_CONST char *outname)) |
| |
| void | read_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
| |
| static int | read_user_chunk_callback (png_struct *png_ptr, png_unknown_chunkp chunk) |
| |
| int | test_one_file (PNG_CONST char *inname, PNG_CONST char *outname) |
| |
| void | write_row_callback (png_structp png_ptr, png_uint_32 row_number, int pass) |
| |
◆ FCLOSE
| #define FCLOSE |
( |
|
file | ) |
fclose(file) |
◆ PNG_DEBUG
◆ PNG_tIME_STRING_LENGTH
| #define PNG_tIME_STRING_LENGTH 29 |
◆ READFILE
◆ SINGLE_ROWBUF_ALLOC
| #define SINGLE_ROWBUF_ALLOC /* makes buffer overruns easier to nail */ |
◆ STDERR
| #define STDERR stdout /* for DOS */ |
◆ WRITEFILE
◆ your_png_h_is_not_version_1_2_32
◆ count_filters()
◆ count_zero_samples()
◆ main()
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
◆ PNGARG()
◆ read_row_callback()
◆ read_user_chunk_callback()
◆ test_one_file()
◆ write_row_callback()
◆ filters_used
◆ inname
◆ outname
◆ status_dots
◆ status_dots_requested
| int status_dots_requested = 0 |
|
static |
◆ status_pass
◆ tIME_chunk_present
| int tIME_chunk_present = 0 |
|
static |
◆ tIME_string
◆ user_chunk_data
◆ verbose
◆ wrote_question
◆ zero_samples