gem5  v21.1.0.2
Functions | Variables
pixel.test.cc File Reference
#include <gtest/gtest.h>
#include "base/pixel.hh"

Go to the source code of this file.

Functions

 TEST (FBTest, PixelConversionRGBA8888)
 
 TEST (FBTest, PixelConversionRGB565)
 
 TEST (FBTest, PixelToMemRGBA8888LE)
 
 TEST (FBTest, MemToPixelRGBA8888LE)
 
 TEST (FBTest, MemToPixelRGBA8888BE)
 

Variables

static Pixel pixel_red (0xff, 0x00, 0x00)
 
static Pixel pixel_green (0x00, 0xff, 0x00)
 
static Pixel pixel_blue (0x00, 0x00, 0xff)
 

Function Documentation

◆ TEST() [1/5]

TEST ( FBTest  ,
MemToPixelRGBA8888BE   
)

◆ TEST() [2/5]

TEST ( FBTest  ,
MemToPixelRGBA8888LE   
)

◆ TEST() [3/5]

TEST ( FBTest  ,
PixelConversionRGB565   
)

Definition at line 65 of file pixel.test.cc.

References pixel_blue, pixel_green, pixel_red, and gem5::PixelConverter::rgb565_le.

◆ TEST() [4/5]

TEST ( FBTest  ,
PixelConversionRGBA8888   
)

Definition at line 48 of file pixel.test.cc.

References pixel_blue, pixel_green, pixel_red, and gem5::PixelConverter::rgba8888_le.

◆ TEST() [5/5]

TEST ( FBTest  ,
PixelToMemRGBA8888LE   
)

Variable Documentation

◆ pixel_blue

Pixel pixel_blue(0x00, 0x00, 0xff)
static

Referenced by TEST().

◆ pixel_green

Pixel pixel_green(0x00, 0xff, 0x00)
static

Referenced by TEST().

◆ pixel_red

Pixel pixel_red(0xff, 0x00, 0x00)
static

Referenced by TEST().


Generated on Tue Sep 21 2021 12:26:26 for gem5 by doxygen 1.8.17