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

Michael Olbrich m.olbrich at pengutronix.de
Fri Aug 31 08:26:06 UTC 2018


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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the gstreamer-devel mailing list