GL bayer2rgba

Cyril Baletaud cyril.baletaud at gmail.com
Mon Apr 3 16:24:38 UTC 2017


Oki,

bayer2rgb is not a good solution because high CPU load (1600*1200 at 50).
I'll try to modify glupload to apply demosaic shader into the element.

Not easy but not impossible.

regards,
Cyril



2017-04-03 17:53 GMT+02:00 Nicolas Dufresne <nicolas at ndufresne.ca>:

> Le lundi 03 avril 2017 à 15:14 +0200, Cyril Baletaud a écrit :
> > I'm porting my cpu memory pipeline to handle GiGE Vision buffer to GL
> > Memory.
> > Overlay drawing and text is ready and i need now to transform bayer
> > image to GL RGBA texture.
> >
> > I use glupload to upload from CPU to GL texture, and i want to derive
> > GstGLBaseFilter for my GLBayer2Rgba.
> >
> > Is the "video/x-bayer" type can be uploaded by the glupload element ?
> >
> > If not, what is the best approch to add this feature to GLUpload
> > element.
>
> A separate element would share a lot of GLUpload code, so I think I
> would recommended adding this to glupload directly. It's not currently
> supported, you would have to implement it. If you just want to make it
> work for now, there is a CPU base converter, bayer2rgb.
>
> regards,
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170403/18b6190f/attachment.html>


More information about the gstreamer-devel mailing list