diff options
Diffstat (limited to 'kms++util/inc')
-rw-r--r-- | kms++util/inc/kms++util/color.h | 9 |
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; |