80 uint8_t
data[] = { 0xde, 0xad, 0xbe, 0xef };
105 uint8_t
red[] = { 0xff, 0x00, 0x00, 0x00 };
106 uint8_t green[] = { 0x00, 0xff, 0x00, 0x00 };
107 uint8_t blue[] = { 0x00, 0x00, 0xff, 0x00 };
116 uint8_t
red[] = { 0x00, 0x00, 0x00, 0xff };
117 uint8_t green[] = { 0x00, 0x00, 0xff, 0x00 };
118 uint8_t blue[] = { 0x00, 0xff, 0x00, 0x00 };
static Pixel pixel_blue(0x00, 0x00, 0xff)
static const PixelConverter rgba8888_le
Predefined 32-bit RGB (red in least significant bits, 8 bits/channel, little endian) conversion helpe...
static Pixel pixel_red(0xff, 0x00, 0x00)
static const PixelConverter rgb565_le
Predefined 16-bit RGB565 (red in least significant bits, little endian) conversion helper...
static Pixel pixel_green(0x00, 0xff, 0x00)
void setCase(const char *newCase)
Sets the current test case.
Internal gem5 representation of a Pixel.
unsigned printResults()
Function to call at the end of a test that prints an overall result and a summary of how many checks ...
static const PixelConverter rgba8888_be
Predefined 32-bit RGB (red in least significant bits, 8 bits/channel, big endian) conversion helper...
#define EXPECT_EQ(lhs, rhs)
A macro which verifies that lhs and rhs are equal to each other.
uint32_t fromPixel(const Pixel &pixel) const
Convert a Pixel into a color word.