GL bayer2rgba

Nicolas Dufresne nicolas at ndufresne.ca
Mon Apr 3 16:56:52 UTC 2017


Le lundi 03 avril 2017 à 12:52 -0400, Nicolas Dufresne a écrit :
> Le lundi 03 avril 2017 à 12:46 -0400, Nicolas Dufresne a écrit :
> > Le lundi 03 avril 2017 à 18:24 +0200, Cyril Baletaud a écrit :
> > > bayer2rgb is not a good solution because high CPU load (1600*1200
> > > @5
> > > 0)
> > > .
> > > I'll try to modify glupload to apply demosaic shader into the
> > > element.
> > > 
> > > Not easy but not impossible.
> > 
> > Reminds me my attempt to add a detiling shader, worked at low
> > resolution, but failed due to lack of precision at higher
> > resolution.
> > Hopefully for this one, the error tolerance will be better.
> 
> I've just stumbled across this, if it's correct, I believe it's much
> simpler then I thought.
> 
> https://github.com/rasmus25/debayer-rpi/blob/master/demosaic.vrt

Sorry for the noise, this is just the vertex shader, it comes from:

http://graphics.cs.williams.edu/papers/BayerJGT09/

> 
> > 
> > Nicolas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170403/7ca6b718/attachment.sig>


More information about the gstreamer-devel mailing list