Lines Matching refs:write_ptr
974 png_structp write_ptr, png_infop write_info, in write_png() argument
1000 png_set_compression_level(write_ptr, Z_BEST_COMPRESSION); in write_png()
1040 png_set_IHDR(write_ptr, write_info, imageInfo.width, imageInfo.height, in write_png()
1045 png_set_PLTE(write_ptr, write_info, rgbPalette, paletteEntries); in write_png()
1047 png_set_tRNS(write_ptr, write_info, alphaPalette, paletteEntries, (png_color_16p) 0); in write_png()
1049 png_set_filter(write_ptr, 0, PNG_NO_FILTERS); in write_png()
1051 png_set_filter(write_ptr, 0, PNG_ALL_FILTERS); in write_png()
1076 png_set_keep_unknown_chunks(write_ptr, PNG_HANDLE_CHUNK_ALWAYS, in write_png()
1078 png_set_unknown_chunks(write_ptr, write_info, unknowns, chunk_count); in write_png()
1084 png_set_unknown_chunk_location(write_ptr, write_info, 0, PNG_HAVE_PLTE); in write_png()
1086 png_set_unknown_chunk_location(write_ptr, write_info, 1, PNG_HAVE_PLTE); in write_png()
1091 png_write_info(write_ptr, write_info); in write_png()
1095 png_set_filler(write_ptr, 0, PNG_FILLER_AFTER); in write_png()
1100 png_write_image(write_ptr, rows); in write_png()
1105 png_write_end(write_ptr, write_info); in write_png()
1114 png_get_IHDR(write_ptr, write_info, &width, &height, in write_png()
1149 png_structp write_ptr = NULL; in preProcessImage() local
1190 write_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, 0, (png_error_ptr)NULL, in preProcessImage()
1192 if (!write_ptr) in preProcessImage()
1197 write_info = png_create_info_struct(write_ptr); in preProcessImage()
1203 png_set_write_fn(write_ptr, (void*)file.get(), in preProcessImage()
1206 if (setjmp(png_jmpbuf(write_ptr))) in preProcessImage()
1211 write_png(printableName.string(), write_ptr, write_info, imageInfo, in preProcessImage()
1232 if (write_ptr) { in preProcessImage()
1233 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImage()
1252 png_structp write_ptr = NULL; in preProcessImageToCache() local
1314 write_ptr = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL); in preProcessImageToCache()
1315 if (!write_ptr) { in preProcessImageToCache()
1316 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImageToCache()
1322 write_info = png_create_info_struct(write_ptr); in preProcessImageToCache()
1324 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImageToCache()
1332 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImageToCache()
1337 png_init_io(write_ptr, fp); in preProcessImageToCache()
1340 if (setjmp(png_jmpbuf(write_ptr))) { in preProcessImageToCache()
1342 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImageToCache()
1347 write_png(dest.string(), write_ptr, write_info, imageInfo, in preProcessImageToCache()
1365 png_destroy_write_struct(&write_ptr, &write_info); in preProcessImageToCache()