Efficient scaling and/or conversion from YUV420 (NV12) to RGBA

Nicolas Dufresne nicolas at ndufresne.ca
Fri Aug 31 15:08:57 UTC 2018


Le vendredi 31 août 2018 à 10:26 +0200, Michael Olbrich a écrit :
> Hi,
> 
> On Thu, Aug 02, 2018 at 03:03:47PM +0200, Iñigo Huguet wrote:
> > My kernel and Mali blob are quite old: kernel 3.4, mali blob r3p0. Do you
> > know if with this versions the problem is, as you say, unsupported DMABuf
> > importation? When graphics and video acceleration are available in mainline,
> > and other things we need as well, we are planning to move to mainline, but
> > for the moment it's not possible.
> > 
> > Do you really think that the bottleneck is glupload? With this pipeline I
> > get over 25fps:
> > 
> > v4l2src device=/dev/video1 !
> > video/x-raw,format=NV12,width=1440,height=1152,framerate=25/1 ! glupload !
> > fakesink silent=false
> 
> I don't think that the buffers are actually uploaded here. You need to
> force the memory:GLMemory caps feature. Otherwise glupload runs in bypass
> mode.

glupload output are strictly GL, so it won't go passthrough in that
context. glupload will be passthrough if the input is already GL.

> 
> Michael
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180831/57996f86/attachment.sig>


More information about the gstreamer-devel mailing list