glimagesink: add support for Y210 format
authorHaihao Xiang <haihao.xiang@intel.com>
Sat, 12 Oct 2019 04:00:46 +0000 (12:00 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Wed, 16 Oct 2019 00:30:31 +0000 (08:30 +0800)
commitb3e9e3f747f6e7473a9e6e566cf7816838fcef52
tree313f60abd33e124661b562afefdb9a7f2e7ad416
parent0b362e5a4bdb624435ba4351f2bbc66920481d7c
glimagesink: add support for Y210 format

Y210 is a 10-bit YUY2, so we may re-use the YUY2 shaders but gl format
is set to RG16

Sample pipeline:
gst-launch-1.0 videotestsrc ! video/x-raw,format=Y210 ! glimagesink
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglcolorconvert.h
gst-libs/gst/gl/gstglformat.c
gst-libs/gst/gl/gstglmemory.h