gem5 v24.0.0.0
Loading...
Searching...
No Matches
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) ( 0x00 ,
0x00 ,
0xff  )
static

Referenced by TEST(), TEST(), TEST(), TEST(), and TEST().

◆ pixel_green

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

Referenced by TEST(), TEST(), TEST(), TEST(), and TEST().

◆ pixel_red

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

Referenced by TEST(), TEST(), TEST(), TEST(), and TEST().


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0