[Android] [RFC PATCH 0/3] OMX: android hardware buffers
Martin Storsjö
martin at martin.st
Sun Jun 29 22:08:56 CEST 2014
On Thu, 26 Jun 2014, Thomas Guillem wrote:
> Hi,
>
> Here is my set of patches that goes with my other set of patches I proposed on
> vlc-devel mailing list that enable android hardware buffers on OMX.
>
> - I added some symbols on android-libs that are needed by GraphicBuffer on
> iomx.cpp.
>
> - I also added some gingerbread headers to enable iomx_hwbuffer.c build, but
> I'm not sure that we can use HW buffer on gingerbread, I need to check that
> later.
>
> I also have local big patches that add headers for jb, jbmr2 and kitkat, but I
> don't know if submitting a 6MB patch is well appreciated on a mailing list.
It's probably better to push those to a git clone somewhere (e.g. github)
and we can fetch them from there, instead of mailing them.
I'm pretty sure plain jb used to work with the ics headers at least for
the normal indirect rendering, but the ABI for direct rendering might
require separate headers.
I also thought that the normal iomx decoding on jbmr2 worked fine with ics
headers, but when I tested this now I do indeed need new headers for this
as well. So either we should add those and build a separate
libiomx-jbmr2.so, or change the limits in
vlc-android/src/org/videolan/libvlc/LibVLC.java to make sure we don't try
to load libiomx-ics.so on JB MR 2. (Is there any modern device where
MediaCodec is available, where it works worse than IOMX?)
// Martin
More information about the Android
mailing list