[vlc-commits] omxil: Allow using IOMX on Android

Martin Storsjö git at videolan.org
Wed Sep 21 22:10:47 CEST 2011


vlc | branch: master | Martin Storsjö <martin at martin.st> | Wed Sep 21 21:25:06 2011 +0300| [c79789502fcc9f979afc47fc45bbb9a2150528ed] | committer: Jean-Baptiste Kempf

omxil: Allow using IOMX on Android

This adds a fake OMX core implementation, relying the calls
via IOMX to the media server, which contains the actual
OMX core.

Building with IOMX requires private Android headers from the
Android source tree, namely the frameworks/base and
system/core repositories. (Either froyo or gingerbread
should work for building.) This API is not public, has no
ABI guarantees and isn't supported.

Linking also requires libraries extracted from a
froyo/gingerbread device or emulator.

Since there are no ABI guarantees, linking to this API might
make the .so fail to load on some devices, so for proper use
it should be in a dynamically loaded module, separate from the
rest of the VLC core and modules.

Since this can lead to crashes on unsupported devices, it should
only be used in production on whitelisted device/firmware
combinations that are known to work.

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c79789502fcc9f979afc47fc45bbb9a2150528ed
---

 configure.ac                   |   21 +++
 modules/codec/omxil/Modules.am |    5 +
 modules/codec/omxil/iomx.cpp   |  390 ++++++++++++++++++++++++++++++++++++++++
 modules/codec/omxil/iomx.h     |   33 ++++
 modules/codec/omxil/omxil.c    |    7 +
 5 files changed, 456 insertions(+), 0 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=c79789502fcc9f979afc47fc45bbb9a2150528ed


More information about the vlc-commits mailing list