summaryrefslogtreecommitdiff
path: root/sys/kms/gstkmsutils.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2016-02-12 14:21:27 +0100
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2016-04-11 19:57:48 +0200
commit2f51985191aeeb384c853eba563dd54726aa7fac (patch)
tree11142e19063ffcbc7093ff6f9dc2b691dfdf9185 /sys/kms/gstkmsutils.c
parent360e9343f9732ee4f03cd35a40a731ce5e988ad5 (diff)
kmssink: enable UYVY, YUY2, and YVYU (interleaved YUV 4:2:2) formats
https://bugzilla.gnome.org/show_bug.cgi?id=761059
Diffstat (limited to 'sys/kms/gstkmsutils.c')
-rw-r--r--sys/kms/gstkmsutils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/kms/gstkmsutils.c b/sys/kms/gstkmsutils.c
index e7f605db2..ddf8d2df7 100644
--- a/sys/kms/gstkmsutils.c
+++ b/sys/kms/gstkmsutils.c
@@ -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),