kmssink: enable UYVY, YUY2, and YVYU (interleaved YUV 4:2:2) formats
authorPhilipp Zabel <p.zabel@pengutronix.de>
Fri, 12 Feb 2016 13:21:27 +0000 (14:21 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Mon, 11 Apr 2016 17:57:48 +0000 (19:57 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=761059

sys/kms/gstkmsutils.c

index e7f605d..ddf8d2d 100644 (file)
@@ -53,8 +53,9 @@ static const struct
   DEF_FMT (ABGR8888, ABGR),
   DEF_FMT (XBGR8888, xBGR),
 #endif
-  /* DEF_FMT (YUYV, ???), */
-  /* DEF_FMT (YVYU, ???), */
+  DEF_FMT (UYVY, UYVY),
+  DEF_FMT (YUYV, YUY2),
+  DEF_FMT (YVYU, YVYU),
   DEF_FMT (YUV420, I420),
   DEF_FMT (YVU420, YV12),
   DEF_FMT (YUV422, Y42B),