[Android] [PATCH 0/4] Patches for hooking up iomx direct rendering
Martin Storsjö
martin at martin.st
Fri Jul 25 11:58:35 CEST 2014
On Fri, 25 Jul 2014, Martin Storsjö wrote:
> Hi,
>
> Most of these are from Thomas, but I did a bit of splitting and
> restructuring and want to have him to look at it before pushing
> (patches 1-2 are unmodified from him, I did a bit of
> splitting/simplification in patch 3, and patch 4 is from me).
>
> This is marginally complicated because vlc-android mainly builds
> using the vlc-2.2 branch, which still doesn't have the iomx
> direct rendering code. These patches make sure that things still
> can be built with either vlc-2.2 or vlc-master.
>
> This is the bare minimum for building the iomx direct rendering
> code, working on a bunch of devices on 4.0 - 4.2 (although we prefer
> MediaCodec on versions >= 4.1). This doesn't work properly on Nexus S
> yet.
>
> We've got a few extra patches that can be pushed separately later
> which enable building separate libiomx versions for 4.3 and 4.4 to
> ease debugging, but I'm not sending them for review now.
Ok, so now all of this is pushed (with more consistent option defaults in
patch 4), including the patches for easing debugging on 4.3/4.4.
Current known issues are that it doesn't work at all on mediatek devices
(which have changed the IOMX headers in a way that breaks the internal ABI
compared to other devices from the same age) - luckily most such devices
come with >= 4.1 nowadays so it isn't much of an issue.
Secondly, the iomx direct rendering on Nexus S doesn't run smoothly - this
has now been debugged further to the point that it's "iomx direct
rendering on devices with very few buffers doesn't run smoothly". (And
increasing the number of buffers seems to expose some other weird bug on
this particular phone.)
// Martin
More information about the Android
mailing list