diff options
author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:54:08 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2016-05-23 09:54:08 +0300 |
commit | a5c28bcb2ead34e921617711ebf94ffcb5d72878 (patch) | |
tree | e2f93259f63407357c70b06a7d59c24fde5a3901 /libkmstest/color.h | |
parent | 0bc5bbd6766949d651f98e12981d79c86ce0bf99 (diff) |
File/dir renames
Diffstat (limited to 'libkmstest/color.h')
-rw-r--r-- | libkmstest/color.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/libkmstest/color.h b/libkmstest/color.h deleted file mode 100644 index ef85a67..0000000 --- a/libkmstest/color.h +++ /dev/null @@ -1,39 +0,0 @@ -#pragma once - -#include <cstdint> - -namespace kms -{ -struct YUV; - -struct RGB -{ - RGB(); - RGB(uint8_t r, uint8_t g, uint8_t b); - RGB(uint8_t a, uint8_t r, uint8_t g, uint8_t b); - RGB(uint32_t argb); - - uint32_t rgb888() const; - uint32_t argb8888() const; - uint32_t abgr8888() const; - uint16_t rgb565() const; - YUV yuv() const; - - uint8_t b; - uint8_t g; - uint8_t r; - uint8_t a; -}; - -struct YUV -{ - YUV(); - YUV(uint8_t y, uint8_t u, uint8_t v); - YUV(const RGB& rgb); - - uint8_t v; - uint8_t u; - uint8_t y; - uint8_t a; -}; -} |