glimagesink: add support for BGR10A2_LE / RGB10A2_LE
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 5 Jun 2019 01:26:08 +0000 (09:26 +0800)
committerMatthew Waters <matthew@centricular.com>
Tue, 18 Jun 2019 02:58:16 +0000 (02:58 +0000)
commit3f63295280034f52d58783b9a18c24f69022b6b1
treec7dfb21a61f437dcfcbde1be8dc8529b439b26cb
parentd15a516037936c4eafef760e828978f857b1b5e8
glimagesink: add support for BGR10A2_LE / RGB10A2_LE

This makes a pipeline below work:

gst-launch-1.0 videotestsrc ! video/x-raw,format={BGR10A2_LE, \
RGB10A2_LE} ! glimagesink
gst-libs/gst/gl/egl/gsteglimage.c
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglcolorconvert.h
gst-libs/gst/gl/gstglformat.c
gst-libs/gst/gl/gstglformat.h
gst-libs/gst/gl/gstglmemory.h