]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android/external-libkmsxx.git/blobdiff - libkms++/dumbframebuffer.cpp
testpat: add NV12/NV21 support
[android/external-libkmsxx.git] / libkms++ / dumbframebuffer.cpp
index cb815dacfca96093ce67f585a733a3a86f11c40d..9de02da0074b61f8892040b9aa9f5dbc2fd7a2ef 100644 (file)
@@ -55,8 +55,11 @@ static const map<PixelFormat, FormatInfo> format_info_array = {
        /* YUV packed */
        { PixelFormat::UYVY, { 1, { { 32, 2, 1 } }, } },
        { PixelFormat::YUYV, { 1, { { 32, 2, 1 } }, } },
+       { PixelFormat::YVYU, { 1, { { 32, 2, 1 } }, } },
+       { PixelFormat::VYUY, { 1, { { 32, 2, 1 } }, } },
        /* YUV semi-planar */
        { PixelFormat::NV12, { 2, { { 8, 1, 1, }, { 16, 2, 2 } }, } },
+       { PixelFormat::NV21, { 2, { { 8, 1, 1, }, { 16, 2, 2 } }, } },
        /* RGB16 */
        { PixelFormat::RGB565, { 1, { { 16, 1, 1 } }, } },
        /* RGB32 */