summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorJyri Sarha <jsarha@ti.com>2016-08-10 23:16:39 +0300
committerJyri Sarha <jsarha@ti.com>2016-08-11 12:20:29 +0300
commit3788242e4fdc57b1421b4721120477ebb2298e52 (patch)
treec2b0c7fe512daaee254859fa530bafd5972a9796 /kms++/inc
parentbd5f6471e619a6ba2987bc7f66ef78a531f94d6c (diff)
Add BGR888 (BG24) and BGR565 (BG16) pixelformats.
Note colorbar does not support 24 bit modes (RGB888 or BGR888) yet.
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/pixelformats.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/inc/kms++/pixelformats.h b/kms++/inc/kms++/pixelformats.h
index 8ecfcb3..6392de1 100644
--- a/kms++/inc/kms++/pixelformats.h
+++ b/kms++/inc/kms++/pixelformats.h
@@ -28,8 +28,10 @@ enum class PixelFormat : uint32_t
ABGR8888 = MakeFourCC("AB24"),
RGB888 = MakeFourCC("RG24"),
+ BGR888 = MakeFourCC("BG24"),
RGB565 = MakeFourCC("RG16"),
+ BGR565 = MakeFourCC("BG16"),
};
static inline PixelFormat FourCCToPixelFormat(const std::string& fourcc)