[vlc-devel] [RFC PATCH 00/11] OMX: enable android hardware buffers (zero copy)

Martin Storsjö martin at martin.st
Tue Jun 24 18:15:30 CEST 2014


On Tue, 24 Jun 2014, Thomas Guillem wrote:

> This set of patches is my first attempt to backport android hardware buffers in
> OMX from the  Archos Video Player application that I'm working on.

Nice! I did a similar proof of concept some time ago, but it felt quite 
hacky - this does seem a little less bad.

> I did the development on a Nexus 10 with last android 4.4.3, and I have a
> performance issue using HW buffers. I need to investigate more since I know
> that I don't have any performances issue with my other player. I also tested it
> on a RK30 and a QCOM device.
> By the way, I don't know if you want the patches to enable libiomx build on jb
> and kitkat (mostly android headers patch).

Yes, even though we might not want to build the iomx code specifically for 
those versions, it'd be useful to have your patches for testing.

So far we've been able to use one single set of headers (from ICS) for 
IOMX for everything up to 4.3 - does some of the GraphicBuffer APIs change 
ABI inbetween to require building separate versions for 4.0 and 4.1-4.3?

Also, the patches seem to be missing the makefile parts (both for the 
vlc-android and the vlc project itself) - these would be useful for 
understanding better how it all fits together.

I'll follow up with comments on the individual patches...

// Martin

More information about the vlc-devel mailing list