2012-09-27, 13:27
(2012-09-27, 07:51)gimli Wrote:Ok then we should substitute the row 255 of DVDVideoCodecA10.cpp:(2012-09-27, 06:56)wizziwig Wrote: I think the build you guys are testing uses a texture to store the decoded video frames which are then rendered on a full-screen quad using the Mali. This is not the correct way to display video on low-power Android devices. Their GPU's are way too slow for that, especially combined with a complex alpha blended UI like XBMC. Not even Tegra3 could manage that at 1080p @60hz. The VPU needs to directly decode frames to a hardware overlay surface which is displayed directly without any copies/yuv conversion or GPU rendering involved. The GPU can then render the UI at 20 fps without interfering/blocking full FPS video displayed asynchronously in the background. This is how all the Android hardware accelerated players work. I suspect it was easier to get working with textures in Linux.
Correct.
Code:
m_yuvdata = (u8*)mem_palloc(ysize + csize, 1024);