summaryrefslogtreecommitdiff
path: root/kms++util/src/testpat.cpp
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++util/src/testpat.cpp
parentff9de1ab494ee5d48dba7aa84dfa1ce114464f09 (diff)
Add AR12 & AR15 support
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++util/src/testpat.cpp')
-rw-r--r--kms++util/src/testpat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++util/src/testpat.cpp b/kms++util/src/testpat.cpp
index 8795cc6..ab197dc 100644
--- a/kms++util/src/testpat.cpp
+++ b/kms++util/src/testpat.cpp
@@ -114,6 +114,8 @@ static void draw_test_pattern_part(IFramebuffer& fb, unsigned start_y, unsigned
case PixelFormat::BGR888:
case PixelFormat::RGB565:
case PixelFormat::BGR565:
+ case PixelFormat::ARGB4444:
+ case PixelFormat::ARGB1555:
for (y = start_y; y < end_y; y++) {
for (x = 0; x < w; x++) {
RGB pixel = get_test_pattern_pixel(fb, x, y);