summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-16 17:59:07 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-06-16 17:59:12 +0300
commit34e63f641195019e903104c8b9e6eb855efeee2c (patch)
tree71054520c956ec9ce9f7a588a913921fa4175b2f /kms++/src
parenta17a7364011f30d40c8ef214addda814c0513fb8 (diff)
Support RGB888
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/pixelformats.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/kms++/src/pixelformats.cpp b/kms++/src/pixelformats.cpp
index f2b1137..ee2356d 100644
--- a/kms++/src/pixelformats.cpp
+++ b/kms++/src/pixelformats.cpp
@@ -17,6 +17,8 @@ static const map<PixelFormat, PixelFormatInfo> format_info_array = {
{ PixelFormat::NV21, { 2, { { 8, 1, 1, }, { 8, 2, 2 } }, } },
/* RGB16 */
{ PixelFormat::RGB565, { 1, { { 16, 1, 1 } }, } },
+ /* RGB24 */
+ { PixelFormat::RGB888, { 1, { { 24, 1, 1 } }, } },
/* RGB32 */
{ PixelFormat::XRGB8888, { 1, { { 32, 1, 1 } }, } },
{ PixelFormat::XBGR8888, { 1, { { 32, 1, 1 } }, } },