Home
last modified time | relevance | path

Searched refs:mainprog_ptr (Results 1 – 4 of 4) sorted by relevance

/external/libpng/contrib/gregbook/
Dwritepng.c83 int writepng_init(mainprog_info *mainprog_ptr) in writepng_init() argument
92 png_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, mainprog_ptr, in writepng_init()
109 if (setjmp(mainprog_ptr->jmpbuf)) { in writepng_init()
117 png_init_io(png_ptr, mainprog_ptr->outfile); in writepng_init()
140 if (mainprog_ptr->pnmtype == 5) in writepng_init()
142 else if (mainprog_ptr->pnmtype == 6) in writepng_init()
144 else if (mainprog_ptr->pnmtype == 8) in writepng_init()
151 interlace_type = mainprog_ptr->interlaced? PNG_INTERLACE_ADAM7 : in writepng_init()
154 png_set_IHDR(png_ptr, info_ptr, mainprog_ptr->width, mainprog_ptr->height, in writepng_init()
155 mainprog_ptr->sample_depth, color_type, interlace_type, in writepng_init()
[all …]
Dreadpng2.c170 int readpng2_init(mainprog_info *mainprog_ptr) in readpng2_init() argument
178 png_ptr = png_create_read_struct(PNG_LIBPNG_VER_STRING, mainprog_ptr, in readpng2_init()
200 if (setjmp(mainprog_ptr->jmpbuf)) { in readpng2_init()
241 png_set_progressive_read_fn(png_ptr, mainprog_ptr, in readpng2_init()
276 if (mainprog_ptr->nommxfilters) in readpng2_init()
281 if (mainprog_ptr->nommxcombine) in readpng2_init()
283 if (mainprog_ptr->nommxinterlace) in readpng2_init()
337 mainprog_ptr->png_ptr = png_ptr; in readpng2_init()
338 mainprog_ptr->info_ptr = info_ptr; in readpng2_init()
351 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length) in readpng2_decode_data() argument
[all …]
Dwritepng.h125 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);
Dreadpng2.h117 int readpng2_init(mainprog_info *mainprog_ptr);
119 int readpng2_decode_data(mainprog_info *mainprog_ptr, uch *rawbuf, ulg length);
121 void readpng2_cleanup(mainprog_info *mainprog_ptr);