video: add support for Y412 format
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 12 Mar 2020 02:27:34 +0000 (10:27 +0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Mar 2020 13:19:34 +0000 (13:19 +0000)
commit7816cbf9a4bdf140913a163b66607b51097834e1
treeb519d73d51afb51d11e8b8646873bab9a57ae5e0
parentea063721d269068ece8023b52a680762b65abfbe
video: add support for Y412 format

Y412 is a packed 12 bits 4:4:4:4 format in the order U, Y, V, A, 2 bytes
per component with the color value stored in the 12 most significant
bits

Refer to https://github.com/torvalds/linux/blob/master/include/uapi/drm/drm_fourcc.h#L182
for the LE variant
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