I think i have two problems:

1. When i decode video i need to find a way to show it under GUI 
application by using Display Engine (DRM in this case think) as a separate 
layer that is always on top. On legacy kernel, i used Display Engine by 
/dev/disp but it does not exist anymore.
2. Find a way how to speed up firefox. I tried to set 
'layers.acceleration.force-enabled' under about:config but i didn't get any 
improvement. QT unfortunately is not an option because of license and guy 
who will maintain GUI application in the future currently does not have 
time to learn QT.
I suspect that my window manager uses LIMA in the right way, actually, i 
suspect that it uses lima at all because of errors which i posted in the 
previous message.

About cedar VE:
If you are interested in video encoding/decoding and PoC i have written a 
good example of how to do this in legacy kernel 3.4 a few years ago.
With my PoC you can have more than one operation simultaneously. I wrote it 
according to a few PoC which you could find on sunxi at that time. You can 
do H264 encoding/decoding and MJPEG encoding/decoding at the same time and 
it works like a charm without any CPU load and 25fps for each task (100 fps 
in total) for PAL resolution.
The good thing about this PoC beside simultaneous operation is H264 decoder 
which you couldn't find anywhere outside of VDPAU and cedrus. Because if 
you use VDPAU you can't do any other cedar task in parallel (only one 
operation is available) i decide to rewrite it by looking to source code 
for vdpau cedar plugin for GStreamer i think, i am not sure anymore.
This is the only example of how to direct use cedar VE for H264 decoding in 
a raw way.
I have to say that for input i used composite CVBS input which is not 
available in the mainline. It also wasn't available for legacy 3.4 but i 
patched it to get it working.
This PoC should also work on the mainline but it needs slight modification. 
Some cedar VE IOCTLs were changed and for video input you have to use some 
digital camera instead of TV in.

Best regards,
Milos

-- 
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].
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/linux-sunxi/1da93125-02c4-420f-89a7-ede13ff6101co%40googlegroups.com.

Reply via email to