gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
framebuffer.hh File Reference
#include <cmath>
#include <cstdint>
#include <string>
#include <vector>
#include "base/compiler.hh"
#include "base/cprintf.hh"
#include "base/str.hh"
#include "base/types.hh"
#include "sim/serialize.hh"

Go to the source code of this file.

Classes

struct  Pixel
 Internal gem5 representation of a Pixel. More...
 
class  PixelConverter
 Configurable RGB pixel converter. More...
 
struct  PixelConverter::Channel
 Color channel conversion and scaling helper class. More...
 
class  FrameBuffer
 Internal gem5 representation of a frame buffer. More...
 

Functions

bool operator== (const Pixel &lhs, const Pixel &rhs)
 
bool to_number (const std::string &value, Pixel &retval)
 
std::ostream & operator<< (std::ostream &os, const Pixel &pxl)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const Pixel pxl 
)
inline

Definition at line 227 of file framebuffer.hh.

References csprintf(), X86ISA::os, and PixelConverter::rgba8888_le.

bool operator== ( const Pixel lhs,
const Pixel rhs 
)
inline

Definition at line 73 of file framebuffer.hh.

References Pixel::blue, Pixel::green, Pixel::padding, and Pixel::red.

bool to_number ( const std::string &  value,
Pixel retval 
)
inline

Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6