#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) |
|
#define FCLOSE |
( |
|
file | ) |
fclose(file) |
#define PNG_tIME_STRING_LENGTH 29 |
#define SINGLE_ROWBUF_ALLOC /* makes buffer overruns easier to nail */ |
#define STDERR stdout /* for DOS */ |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
int status_dots_requested = 0 |
|
static |
int tIME_chunk_present = 0 |
|
static |