Transfer Functions? Linear GL textures - gamma removed

Bruce Wheaton bwheaton at synchromeshddr.com
Sat Jan 14 00:47:25 UTC 2017


Is there an equivalent to gst_video_color_transfer_decode and friends in the GL elements?

I’d like to use shaders to remove transfer functions and get a linear buffer (will be floating point - see other thread - so bit depth shouldn’t be an issue as it would in 8-bit).

Technically, it should happen in glColorConvert, but doing an (optional) transfer function correction followed by optional gamma adjustment in GstGLColorBalance would seem like a reasonable approach too.

Does anyone have information on this please? Is this a ‘code welcome’ situation?

Thanks,

Bruce




More information about the gstreamer-devel mailing list