Go to the documentation of this file.
42 #ifndef __BASE_PNG_HH__
43 #define __BASE_PNG_HH__
76 void write(std::ostream &png)
const override;
107 #endif // __BASE_PNG_HH__
struct PngWriter::PngPixel24 M5_ATTR_PACKED
static const char * _imgExtension
PngWriter(const FrameBuffer *_fb)
Create a png that takes data in a given mode & size and outputs to an ostream.
Internal gem5 representation of a Pixel.
void write(std::ostream &png) const override
Write the frame buffer data into the provided ostream.
Image writer implementing support for PNG.
PngPixel24 & operator=(const Pixel &rhs)
Internal gem5 representation of a frame buffer.
const char * getImgExtension() const override
Return Image format as a string.
Png Pixel type: not containing padding.
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17