gl: add support for P012_LE / P012_BE format
authorHaihao Xiang <haihao.xiang@intel.com>
Tue, 24 Mar 2020 04:39:50 +0000 (12:39 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Tue, 24 Mar 2020 06:29:38 +0000 (14:29 +0800)
commit1db94e52052c96713f74e4f57e4e6075b679c91b
treead8f7c58327dd8335784357ef577586a44fcc064
parent7cd2f5a29f76a9237026abaaf4225401aae1d00e
gl: add support for P012_LE / P012_BE format

Because the color value is stored in MSB, so we can reuse the
P016_LE / P016_BE code for P012_LE / P012_BE
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/gstglmemory.h