Searched refs:mainprog_ptr (Results 1 – 4 of 4) sorted by relevance
/external/libpng/contrib/gregbook/ |
D | writepng.c | 84 int writepng_init(mainprog_info *mainprog_ptr) in writepng_init() argument 93 png_ptr = png_create_write_struct(png_get_libpng_ver(NULL), mainprog_ptr, in writepng_init() 111 if (setjmp(mainprog_ptr->jmpbuf)) { in writepng_init() 119 png_init_io(png_ptr, mainprog_ptr->outfile); in writepng_init() 142 if (mainprog_ptr->pnmtype == 5) in writepng_init() 144 else if (mainprog_ptr->pnmtype == 6) in writepng_init() 146 else if (mainprog_ptr->pnmtype == 8) in writepng_init() 153 interlace_type = mainprog_ptr->interlaced? PNG_INTERLACE_ADAM7 : in writepng_init() 156 png_set_IHDR(png_ptr, info_ptr, mainprog_ptr->width, mainprog_ptr->height, in writepng_init() 157 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init() [all …]
|
D | readpng2.c | 105 int readpng2_init(mainprog_info *mainprog_ptr) in readpng2_init() argument 113 png_ptr = png_create_read_struct(png_get_libpng_ver(NULL), mainprog_ptr, in readpng2_init() 135 if (setjmp(mainprog_ptr->jmpbuf)) { in readpng2_init() 170 png_set_progressive_read_fn(png_ptr, mainprog_ptr, in readpng2_init() 176 mainprog_ptr->png_ptr = png_ptr; in readpng2_init() 177 mainprog_ptr->info_ptr = info_ptr; in readpng2_init() 190 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length) in readpng2_decode_data() argument 192 png_structp png_ptr = (png_structp)mainprog_ptr->png_ptr; in readpng2_decode_data() 193 png_infop info_ptr = (png_infop)mainprog_ptr->info_ptr; in readpng2_decode_data() 199 if (setjmp(mainprog_ptr->jmpbuf)) { in readpng2_decode_data() [all …]
|
D | writepng.h | 125 int writepng_init(mainprog_info *mainprog_ptr); 127 int writepng_encode_image(mainprog_info *mainprog_ptr); 129 int writepng_encode_row(mainprog_info *mainprog_ptr); 131 int writepng_encode_finish(mainprog_info *mainprog_ptr); 133 void writepng_cleanup(mainprog_info *mainprog_ptr);
|
D | readpng2.h | 112 int readpng2_init(mainprog_info *mainprog_ptr); 114 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length); 116 void readpng2_cleanup(mainprog_info *mainprog_ptr);
|