summaryrefslogtreecommitdiff
path: root/kms++util/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2019-04-09 10:20:15 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2019-04-09 10:21:47 +0300
commit626edbe2fc845803ffdd25936e21202e4f123b63 (patch)
treeca438f77a5f1bdd2057c0769d4886ac9a534ca5b /kms++util/inc
parent521a8cdc9f34cc4707731b0640e72615cc89d9cb (diff)
add support for more pixel formats
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++util/inc')
-rw-r--r--kms++util/inc/kms++util/color.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/kms++util/inc/kms++util/color.h b/kms++util/inc/kms++util/color.h
index 21eae66..2bf6e66 100644
--- a/kms++util/inc/kms++util/color.h
+++ b/kms++util/inc/kms++util/color.h
@@ -25,6 +25,15 @@ struct RGB
uint32_t bgr888() const;
uint32_t argb8888() const;
uint32_t abgr8888() const;
+ uint32_t rgba8888() const;
+ uint32_t bgra8888() const;
+
+ // XXX these functions leave the lowest 2 bits zero
+ uint32_t argb2101010() const;
+ uint32_t abgr2101010() const;
+ uint32_t rgba1010102() const;
+ uint32_t bgra1010102() const;
+
uint16_t rgb565() const;
uint16_t bgr565() const;
uint16_t argb4444() const;