gst-plugins-bad: libgstgl: run a custom shader to convert YUV to RGB on mac and ios

Sebastian Dröge sebastian at centricular.com
Thu Jan 29 08:21:16 PST 2015


On Do, 2015-01-29 at 05:34 -0800, Alessandro Decina wrote:
> Module: gst-plugins-bad
> Branch: master
> Commit: 3655e8b8bcfa5079dc26788596cb26b0c72a8900
> URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=3655e8b8bcfa5079dc26788596cb26b0c72a8900
> 
> Author: Alessandro Decina <alessandro.d at gmail.com>
> Date:   Wed Jan 28 00:48:27 2015 +1100
> 
> libgstgl: run a custom shader to convert YUV to RGB on mac and ios
> 
> When GL_APPLE_ycbcr_422 is available, run a custom shader to convert
> GL_TEXTURE_RECTANGLE textures from YUV to RGB.
> 
> See https://www.opengl.org/registry/specs/APPLE/ycbcr_422.txt

I don't think this is the correct way of solving this problem. First of
all see my follow-up commit c2492b3a6b7b06906272fcd78ab29400f842fca5

But also I think such custom shaders should be somehow attached to the
GstGLMemory instead of magic hardcoding somewhere. See my comment in the
related bug report too :)

This needs some more work IMHO

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150129/75c71d35/attachment.sig>


More information about the gstreamer-devel mailing list