imx6 / mainline linux / basic problems

Jean-Michel Hautbois jhautbois at gmail.com
Thu Feb 5 12:16:57 PST 2015


Hi,

2015-02-05 18:14 GMT+01:00 Ian Molton <imolton at ad-holdings.co.uk>:
> On 05/02/15 16:18, Carlos Rafael Giani wrote:
>>>
>>>
>>
>> Yeah, my thought as well. But another very relevant question is what
>> to use as the video sink. Doesn't the v4l video sink work? fbdevsink
>> will always be slow. Ideally, v4l could be used for output as well,
>> without CPU frame copies.
>
>
> I've been attempting to resurrect this driver:
>
> git://git.pengutronix.de/git/pza/linux.git imx-ipu-csi/wip

In fact, resurrect is the good word :) this branch is ~2 years old !

>From what I understand you are trying to decode and display. So,
basically, you will probably bet more on latest imx-drm than on the
csi part.
Apart from that, on what are you displaying ? HDMI ? If so, the HDMI
phy supports YUV to RGB conversion.
If you can avoid using an IPU scaler it would be better but, if you
really want to, it is possible.
There is actually two main drivers, one beeing here (not tested) :
http://git.pengutronix.de/?p=pza/linux.git;a=shortlog;h=refs/heads/tmp/imx-ipu-scaler

The other one is based on Steve's work, and in our tree :
https://github.com/Vodalys/linux-2.6-imx/tree/scaler_debug/drivers/staging/media/imx6/m2m

This one is working correctly on a driver side, could make it convert
YUY2 to NV12 1080p @30fps easily.

It needs some effort to work with gstreamer, and we have started
something here. But no time right now to go to the end of it.

JM


More information about the gstreamer-devel mailing list