gl: add support for RGBP and BGRP formats
authorHaihao Xiang <haihao.xiang@intel.com>
Mon, 10 May 2021 06:43:23 +0000 (14:43 +0800)
committerHaihao Xiang <haihao.xiang@intel.com>
Tue, 11 May 2021 04:24:41 +0000 (12:24 +0800)
commit74129211e44d170b69291d5b5daa59a6e02a7eb1
tree64032578131d27cd07920dfee2f96ae2d11d78ff
parentca046ca73cf5e673f669a382a1589fe3c2ce8752
gl: add support for RGBP and BGRP formats

gst-launch-1.0 videotestsrc ! video/x-raw,format=RGBP ! glimagesink
gst-launch-1.0 videotestsrc ! video/x-raw,format=BGRP ! glimagesink

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1141>
gst-libs/gst/gl/gstglcolorconvert.c
gst-libs/gst/gl/gstglcolorconvert.h
gst-libs/gst/gl/gstglformat.c
gst-libs/gst/gl/gstglmemory.h