gem5  v20.1.0.0
Classes | Functions
pngwriter.cc File Reference
#include "base/pngwriter.hh"
#include <png.h>
#include <cstdio>
#include <cstdlib>
#include "base/logging.hh"

Go to the source code of this file.

Classes

struct  PngWriter::PngStructHandle
 

Functions

static void writePng (png_structp pngPtr, png_bytep data, png_size_t length)
 Write callback to use with libpng APIs. More...
 

Function Documentation

◆ writePng()

static void writePng ( png_structp  pngPtr,
png_bytep  data,
png_size_t  length 
)
static

Write callback to use with libpng APIs.

Parameters
pngPtrpointer to the png_struct structure
datapointer to the data being written
lengthnumber of bytes being written

Definition at line 64 of file pngwriter.cc.

References data, and length.

Referenced by PngWriter::write().


Generated on Wed Sep 30 2020 14:02:18 for gem5 by doxygen 1.8.17