summaryrefslogtreecommitdiff
path: root/libkms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@iki.fi>2015-10-08 22:56:14 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2015-10-09 11:19:27 +0300
commitfb82bce04e5f0958d2c7cad7daa4f6e458a7988c (patch)
tree4ede3d38a9d53a5f16113ca0c6e77d7187005e0c /libkms++
parentbfe5ccecd9d6473b69dc8ea43ace8e5642b73a0c (diff)
testpat: add NV12/NV21 support
Diffstat (limited to 'libkms++')
-rw-r--r--libkms++/dumbframebuffer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libkms++/dumbframebuffer.cpp b/libkms++/dumbframebuffer.cpp
index f422081..9de02da 100644
--- a/libkms++/dumbframebuffer.cpp
+++ b/libkms++/dumbframebuffer.cpp
@@ -59,6 +59,7 @@ static const map<PixelFormat, FormatInfo> format_info_array = {
{ 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 */