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
BmpWriter(const FrameBuffer *fb)
Create a bitmap that takes data in a given mode & size and outputs to an ostream.
const CompleteV1Header getCompleteHeader() const
const char * getImgExtension() const override
Internal gem5 representation of a frame buffer.
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
BmpPixel32 & operator=(const Pixel &rhs)
Internal gem5 representation of a Pixel.