62 # define MAX(a,b) ((a) > (b)? (a) : (b)) 63 # define MIN(a,b) ((a) < (b)? (a) : (b)) 67 # define Trace(x) {fprintf x ; fflush(stderr); fflush(stdout);} 72 #define TEXT_TITLE 0x01 73 #define TEXT_AUTHOR 0x02 74 #define TEXT_DESC 0x04 75 #define TEXT_COPY 0x08 76 #define TEXT_EMAIL 0x10 79 #define TEXT_TITLE_OFFSET 0 80 #define TEXT_AUTHOR_OFFSET 72 81 #define TEXT_COPY_OFFSET (2*72) 82 #define TEXT_EMAIL_OFFSET (3*72) 83 #define TEXT_URL_OFFSET (4*72) 84 #define TEXT_DESC_OFFSET (5*72) 86 typedef unsigned char uch;
87 typedef unsigned short ush;
88 typedef unsigned long ulg;
struct _mainprog_info mainprog_info
void writepng_version_info(void)
void writepng_cleanup(mainprog_info *mainprog_ptr)
int writepng_init(mainprog_info *mainprog_ptr)
int writepng_encode_row(mainprog_info *mainprog_ptr)
int writepng_encode_image(mainprog_info *mainprog_ptr)
int writepng_encode_finish(mainprog_info *mainprog_ptr)