glimagesink: add support for P010 variants
authorHaihao Xiang <haihao.xiang@intel.com>
Thu, 13 Jun 2019 05:07:06 +0000 (13:07 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Tue, 18 Jun 2019 08:32:00 +0000 (16:32 +0800)
commit6d0f7965911a9bf7490f04612d3962cbb452967d
tree878c82d17a3cb752e6109311eb307bce7cdaeb59
parent49f16489ab7c2b21fddd16525d9f8291368c3814
glimagesink: add support for P010 variants

This makes a pipeline below works:

little endian:
gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10LE ! glimagesink

big endian:
gst-launch-1.0 videotestsrc ! video/x-raw,format=P010_10BE ! 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