bayer to YV12 conversion

Nicolas Dufresne nicolas.dufresne at collabora.com
Thu Jul 23 08:23:42 PDT 2015


Le jeudi 23 juillet 2015 à 15:15 +0100, Hamdi Rakkez a écrit :
> - x-bayer,format=any -------> x-raw,format=YV12
> 
> I don't want to use bayer2rgb then use glcolorspace or videoconvert 
> to pass from RGB to YV12.

There is no direct converter at the moment. The fact that bayer is not
considered a video/x-raw format might make it difficult to get into
videoconvert in the end. Someone would have to put serious thought into
that. Dealing with bayer format in software is also rare, which means
rare are the hackers that cares. Feel free to propose an element for
that. If you think it can be done with GL shaders, you could consider
adding glbayer2yuv filter (or using two GPU pass, glbayer2rgb followed
by glcolorscale (would ideally be glcolorconvert in 1.5+).

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: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150723/c01dbb2b/attachment-0001.sig>


More information about the gstreamer-devel mailing list