summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2018-10-16 11:35:44 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-10-17 11:09:49 +0300
commit47e808023f98f74673906ef7de34e774cd26f52b (patch)
tree61692a33768f49d508ac92f8b64af2f8c4e8c0dc /kms++/inc
parentff9de1ab494ee5d48dba7aa84dfa1ce114464f09 (diff)
Add AR12 & AR15 support
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/pixelformats.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/inc/kms++/pixelformats.h b/kms++/inc/kms++/pixelformats.h
index 6392de1..1e273ef 100644
--- a/kms++/inc/kms++/pixelformats.h
+++ b/kms++/inc/kms++/pixelformats.h
@@ -32,6 +32,9 @@ enum class PixelFormat : uint32_t
RGB565 = MakeFourCC("RG16"),
BGR565 = MakeFourCC("BG16"),
+
+ ARGB4444 = MakeFourCC("AR12"),
+ ARGB1555 = MakeFourCC("AR15"),
};
static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc)