38 #include <gtest/gtest.h>
46 TEST(FBTest, PixelConversionRGBA8888)
63 TEST(FBTest, PixelConversionRGB565)
74 TEST(FBTest, PixelToMemRGBA8888LE)
76 uint8_t
data[] = { 0xde, 0xad, 0xbe, 0xef };
99 TEST(FBTest, MemToPixelRGBA8888LE)
101 uint8_t
red[] = { 0xff, 0x00, 0x00, 0x00 };
102 uint8_t green[] = { 0x00, 0xff, 0x00, 0x00 };
103 uint8_t blue[] = { 0x00, 0x00, 0xff, 0x00 };
110 TEST(FBTest, MemToPixelRGBA8888BE)
112 uint8_t
red[] = { 0x00, 0x00, 0x00, 0xff };
113 uint8_t green[] = { 0x00, 0x00, 0xff, 0x00 };
114 uint8_t blue[] = { 0x00, 0xff, 0x00, 0x00 };