• Home
  • Raw
  • Download

Lines Matching refs:writePtr

92 static void writeDataToStream(png_structp writePtr, png_bytep data,  in writeDataToStream()  argument
94 BigBuffer* outBuffer = reinterpret_cast<BigBuffer*>(png_get_io_ptr(writePtr)); in writeDataToStream()
434 static bool writePng(IDiagnostics* diag, png_structp writePtr, in writePng() argument
436 if (setjmp(png_jmpbuf(writePtr))) { in writePng()
463 png_set_compression_level(writePtr, Z_BEST_COMPRESSION); in writePng()
511 png_set_IHDR(writePtr, infoPtr, info->width, info->height, 8, colorType, in writePng()
516 png_set_PLTE(writePtr, infoPtr, rgbPalette, paletteEntries); in writePng()
518 png_set_tRNS(writePtr, infoPtr, alphaPalette, paletteEntries, in writePng()
521 png_set_filter(writePtr, 0, PNG_NO_FILTERS); in writePng()
523 png_set_filter(writePtr, 0, PNG_ALL_FILTERS); in writePng()
571 png_set_keep_unknown_chunks(writePtr, PNG_HANDLE_CHUNK_ALWAYS, chunkNames, in writePng()
573 png_set_unknown_chunks(writePtr, infoPtr, unknowns, chunkCount); in writePng()
577 png_set_unknown_chunk_location(writePtr, infoPtr, 0, PNG_HAVE_PLTE); in writePng()
579 png_set_unknown_chunk_location(writePtr, infoPtr, 1, PNG_HAVE_PLTE); in writePng()
584 png_write_info(writePtr, infoPtr); in writePng()
590 png_set_filler(writePtr, 0, PNG_FILLER_AFTER); in writePng()
596 png_write_image(writePtr, rows); in writePng()
603 png_write_end(writePtr, infoPtr); in writePng()
613 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, in writePng()
1255 png_structp writePtr = nullptr; in process() local
1289 writePtr = in process()
1291 if (!writePtr) { in process()
1296 writeInfoPtr = png_create_info_struct(writePtr); in process()
1302 png_set_error_fn(writePtr, nullptr, nullptr, logWarning); in process()
1305 png_set_write_fn(writePtr, (png_voidp)outBuffer, writeDataToStream, in process()
1308 if (!writePng(mDiag, writePtr, writeInfoPtr, &pngInfo, in process()
1319 if (writePtr) { in process()
1320 png_destroy_write_struct(&writePtr, &writeInfoPtr); in process()