video: add support for Y212 format
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 11 Mar 2020 02:58:00 +0000 (10:58 +0800)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 27 Mar 2020 13:19:34 +0000 (13:19 +0000)
commitea063721d269068ece8023b52a680762b65abfbe
treedb2010e0616365a4d0289b7264989d90a0eaedd7
parent0e74e190adecd209d142669cd200e2822fcec97e
video: add support for Y212 format

Y212 is a packed 12 bits 4:2:2 format in the order Y, U, Y, V, 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#L174
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