42#ifndef __BASE_PNG_HH__
43#define __BASE_PNG_HH__
79 void write(std::ostream &png)
const override;
Internal gem5 representation of a frame buffer.
Image writer implementing support for PNG.
const char * getImgExtension() const override
Return Image format as a string.
static const char * _imgExtension
void write(std::ostream &png) const override
Write the frame buffer data into the provided ostream.
PngWriter(const FrameBuffer *_fb)
Create a png that takes data in a given mode & size and outputs to an ostream.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
Internal gem5 representation of a Pixel.
Png Pixel type: not containing padding.
PngPixel24 & operator=(const Pixel &rhs)