gl: add support for Y412_LE / Y412_BE format
authorHaihao Xiang <haihao.xiang@intel.com>
Wed, 1 Apr 2020 05:55:50 +0000 (13:55 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Wed, 1 Apr 2020 05:55:50 +0000 (13:55 +0800)
commit77db5a0e21619fb2f40057279baa5b5ba692b116
tree4a9721b4d1b9ea4998ae556004631a8890c3dd09
parent5f859203ad6a5a08bca5472b37050ffb16b26f1a
gl: add support for Y412_LE / Y412_BE format

Reuse Y410 code for Y412_LE / Y412_BE except gl format. The gl format is
RGBA16 for Y412_LE / Y412_BE.

Sample pipeline:
gst-launch-1.0 videotestsrc ! video/x-raw,format=Y412_LE ! 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