From e689ae60dafcc5db6a7266906f38410f0d6f3e24 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Thu, 8 Oct 2015 19:12:24 +0300 Subject: Add support for YVYU and VYUY --- libkms++/dumbframebuffer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libkms++/dumbframebuffer.cpp') diff --git a/libkms++/dumbframebuffer.cpp b/libkms++/dumbframebuffer.cpp index cb815da..f422081 100644 --- a/libkms++/dumbframebuffer.cpp +++ b/libkms++/dumbframebuffer.cpp @@ -55,6 +55,8 @@ static const map 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 } }, } }, /* RGB16 */ -- cgit v1.2.3