]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/blobdiff - kms++/src/pixelformats.cpp
Support RGB888
[android/external-libkmsxx.git] / kms++ / src / pixelformats.cpp
index f2b1137db41a77222db1ceda53d231e5fbc84d19..ee2356debfa64afedf616250bcce9a77809174a4 100644 (file)
@@ -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 } }, } },