summaryrefslogtreecommitdiff
path: root/kms++/src
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++/src
parentff9de1ab494ee5d48dba7aa84dfa1ce114464f09 (diff)
Add AR12 & AR15 support
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/pixelformats.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kms++/src/pixelformats.cpp b/kms++/src/pixelformats.cpp
index 84ea924..819853b 100644
--- a/kms++/src/pixelformats.cpp
+++ b/kms++/src/pixelformats.cpp
@@ -26,6 +26,9 @@ static const map<PixelFormat, PixelFormatInfo> format_info_array = {
{ PixelFormat::XBGR8888, { 1, { { 32, 1, 1 } }, } },
{ PixelFormat::ARGB8888, { 1, { { 32, 1, 1 } }, } },
{ PixelFormat::ABGR8888, { 1, { { 32, 1, 1 } }, } },
+
+ { PixelFormat::ARGB4444, { 1, { { 16, 1, 1 } }, } },
+ { PixelFormat::ARGB1555, { 1, { { 16, 1, 1 } }, } },
};
const struct PixelFormatInfo& get_pixel_format_info(PixelFormat format)