opengl: Add NV12_4L4 conversion support
authorNicolas Dufresne <nicolas.dufresne@collabora.com>
Thu, 14 Apr 2022 19:02:11 +0000 (15:02 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 2 May 2022 19:10:43 +0000 (19:10 +0000)
commit79ea87f256ec2f1a02920fb535d7ee520915d65d
tree2a292c350bd3d626c7864da64eb93b523475a798
parent39615e4f3c7c247c89f9c9982e54038cc7699dc5
opengl: Add NV12_4L4 conversion support

This format is produced notably by Hantro G1/G2 HW. Using a shader instead of
the Hantro embedded converter helps reduce drastrictly the memory usage at a
relatively small GPU overhead.

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