video: add VUYA pixel format
authorHaihao Xiang <haihao.xiang@intel.com>
Fri, 15 Mar 2019 05:13:52 +0000 (13:13 +0800)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 21 Mar 2019 23:05:09 +0000 (23:05 +0000)
commit90f8cca04eff4ccb1404185ff97d3b310b8cd175
treec26f41ab125a9ac577412ffd29dcd41a3908321a
parentc1a5a36bba1b3b5e83bc59f7293ff58b7415e89e
video: add VUYA pixel format

AYUV in gstreamer was defined in A-Y-U-V order in memory[1], however
Microsoft defined another AYUV format in V-U-Y-A order in memory[2]. Add
VUYA format for the latter in order to distinguish the two formats

[1] https://gstreamer.freedesktop.org/documentation/design/mediatype-video-raw.html#formats
[2] https://docs.microsoft.com/en-us/windows/desktop/medfound/recommended-8-bit-yuv-formats-for-video-rendering#ayuv)
gst-libs/gst/video/video-converter.c
gst-libs/gst/video/video-format.c
gst-libs/gst/video/video-format.h
gst-libs/gst/video/video-info.c
gst-libs/gst/video/video-orc.orc