37 #ifndef __BASE_BITMAP_HH__
38 #define __BASE_BITMAP_HH__
78 void write(std::ostream &bmp)
const override;
83 unsigned char magic_number[2];
void write(std::ostream &bmp) const override
Write the frame buffer data into the provided ostream.
static const char * _imgExtension
const char * getImgExtension() const override
BmpWriter(const FrameBuffer *fb)
Create a bitmap that takes data in a given mode & size and outputs to an ostream.
const CompleteV1Header getCompleteHeader() const
Internal gem5 representation of a frame buffer.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
BmpPixel32 & operator=(const Pixel &rhs)
Internal gem5 representation of a Pixel.