gem5
|
#include <bitmap.hh>
Classes | |
struct | BmpPixel32 |
struct | CompleteV1Header |
struct | FileHeader |
struct | InfoHeaderV1 |
Public Member Functions | |
Bitmap (const FrameBuffer *fb) | |
Create a bitmap that takes data in a given mode & size and outputs to an ostream. More... | |
~Bitmap () | |
void | write (std::ostream &bmp) const |
Write the frame buffer data into the provided ostream. More... | |
Private Types | |
typedef BmpPixel32 | PixelType |
Private Member Functions | |
const CompleteV1Header | getCompleteHeader () const |
Private Attributes | |
struct Bitmap::FileHeader | M5_ATTR_PACKED |
struct Bitmap::InfoHeaderV1 | M5_ATTR_PACKED |
struct Bitmap::CompleteV1Header | M5_ATTR_PACKED |
struct Bitmap::BmpPixel32 | M5_ATTR_PACKED |
const FrameBuffer & | fb |
|
private |
Bitmap::Bitmap | ( | const FrameBuffer * | fb | ) |
|
private |
Definition at line 60 of file bitmap.cc.
References FrameBuffer::area(), fb, FrameBuffer::height(), and FrameBuffer::width().
Referenced by write().
void Bitmap::write | ( | std::ostream & | bmp | ) | const |
Write the frame buffer data into the provided ostream.
bmp | stream to write to |
Definition at line 93 of file bitmap.cc.
References fb, getCompleteHeader(), FrameBuffer::height(), FrameBuffer::pixel(), FrameBuffer::width(), and X86ISA::x.
Referenced by Pl111::dmaDone(), and HDLcd::pxlFrameDone().
|
private |
Definition at line 122 of file bitmap.hh.
Referenced by getCompleteHeader(), and write().
|
private |
|
private |
|
private |
|
private |