[Interest] I.MX6 and QT5

Thomas Senyk thomas.senyk at pelagicore.com
Wed Jan 16 11:05:20 CET 2013


On Tue, January 15, 2013 15:52:48 Eric Nelson wrote:
> On 01/15/2013 03:43 PM, qtnext wrote:
> > thanks for the info ... I hopes that with I.MX6 it's possible to decode
> > HD video in hardware and for example remap to an opengl texture or
> > quick2 item , but I have checked on freescale website and I am not sure
> > if accelerated decoding is not only for overlay display...
> > 
>  > <snip>
> 
> Possible? yes.
> 
> Easy? Maybe for someone with a very precise set of knowledge...
> 
> The VPU decoder natively supports YUV output, which, as you mention
> can be directly fed to a hardware overlay layer.

Yes I've see that on a setup I helped to prepare ... we used a property video-
playback software which was ported to imx6/libVPU

They rendered into /dev/fb1, Qt rendered into /dev/fb0.
fb0 had a 32bit plane 
  => everywhere where alpha<1.0 the video was visible

> 
> The Vivante GPU also supports a variety of YUV planes though, so
> there's a possibility that a memory buffer known to the GPU can
> be used as the 'sink' for a gstreamer element and the GPU could
> work with or convert it as necessary.
> 
> Just how that magic would happen, and what else is needed to
> expose the buffer(s) to Quick2 is left as a rather large exercise
> for the reader(s).

In theory:
If gstreamer is setup properly one doesn't need to bother, everything 
should(!) work out of the box.

So far I only saw software-rendered video out of the box.
No time yet to invest further so far.

> 
> Regards,
> 
> 
> Eric
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list