Hi all,

Up to now, I have successfully debugged and fixed CSI issues in 3.4 kernel 
so that it works more-less closer to the spec of sun7i (driver is only 
sun4i compatible by default - for more advanced features, you'll need some 
changes in the code). For more info, you can visit:

https://groups.google.com/forum/#!searchin/linux-sunxi/A20$20csi/linux-sunxi/vU5-3Pc3iOs/aVpmpfb1FkAJ

This is all for A20 or sun7i (as I have Olinuxino A20).

Right now I'd need some help regarding overlay framebuffer - my initial 
idea was to have a full screen video, while having a small functional GUI 
(more like a widget) on the overlay channel to use for controls (this would 
be done using Qt).
However, this seems to be much harder than on i.MX6 for instance (I have 
previous experience with i.MX6), mainly because Freescale is using 2 
separate framebuffers for one screen. So to sum up:
1. fb0 is BG (video for instance),
2. fb1 is FG (overlay, ideal for GUI).

When I look at the HW layout (especially page 414 of the A20 user manual), 
I see that the Allwinner's intent was to make something similar, as DEBE 
does the mixing of the overlay/background. However, the driver does not 
seem to have such an option (or I am not familiar with this).

At the end, I can make video show up in Qt - this is not a huge problem (I 
have taken libv4l2 made for Qt and I get the output) - the problem is that 
it's painfully slow (like barely 3fps), as it doesn't use HW mixer - it 
only copies the data from V4L2 buffers into the userland and into QImage 
object, which is quite slow.

So the way it would have worked on i.MX6 is that video is simply driven 
into fb0 via small library using DMA, while Qt would be configured to use 
fb1 only - I'm after something like this on A20.
Maybe I'm missing something obvious here, but still I couldn't find a good 
solution up to now.

Of course, if I find something out, I'll post back.

All help greatly appreciated!

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to