[Interest] I.MX6 and QT5

Eric Nelson eric.nelson at boundarydevices.com
Thu Jan 17 17:48:29 CET 2013


On 01/16/2013 03:05 AM, Thomas Senyk wrote:
> 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.
>

The Yocto X-enabled Qt 4.8 included in the meta-freescale demos
has accelerated video working, but I think some patches to the
Qt source base were necessary.




More information about the Interest mailing list