[Libav-user] HW decoding on Android

Abel Alonso abelalon at gmail.com
Wed Jun 26 15:34:03 CEST 2013


I have there some Android libraries and headers. That directory is
generated by Android NDK  r8e after execute the following line:

$NDK/build/tools/make-standalone-toolchain.sh --platform=android-9
--install-dir=/tmp/vplayer/sysroot/

Where $NDK points to the NDK's installation directory.


2013/6/26 Alex Cohn <alexcohn at netvision.net.il>

> On Wed, Jun 26, 2013 at 1:48 PM, Abel Alonso <abelalon at gmail.com> wrote:
> > 2013/6/26 Carl Eugen Hoyos <cehoyos at ag.or.at>
> >>
> >>
> >> How does the part of config.log look like
> >> starting with "check_func posix_memalign"?
> >
> >
> > check_func posix_memalign
> > check_ld cc
> > check_cc
> > BEGIN /tmp/ffconf.OWpbPrDe.c
> >     1 extern int posix_memalign();
> >     2 int main(void){ posix_memalign(); }
> > END /tmp/ffconf.OWpbPrDe.c
> > arm-linux-androideabi-gcc --sysroot=/tmp/vplayer/sysroot/
> -D_ISOC99_SOURCE
> > -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Dstrtod=avpriv_strtod -DPIC
> > -I/tmp/vplayer/sysroot//usr/include/
> > -I../android-source/frameworks/base/include
> > -I../android-source/system/core/include
> > -I../android-source/frameworks/av/include
> > -I../android-source/hardware/libhardware/include
> > -I../android-source/frameworks/av/include/media/stagefright
> > -I../android-source/frameworks/native/include
> > -I../android-source/frameworks/native/include/media/openmax
> >
> -I/home/aalonso/Work/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/include
> >
> -I/home/aalonso/Work/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/include
> > -Wall -mthumb -pipe -fpic -fasm -g -finline-limit=300 -ffast-math
> > -fmodulo-sched -fmodulo-sched-allow-regmoves -fstrict-aliasing
> > -Werror=strict-aliasing -Wno-psabi -Wa,--noexecstack -D__ARM_ARCH_5__
> > -D__ARM_ARCH_5E__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5TE__ -DANDROID -DNDEBUG
> > -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=softfp -march=armv5 -std=c99
> > -fPIC -marm -c -o /tmp/ffconf.0oGOKy9k.o /tmp/ffconf.OWpbPrDe.c
> > arm-linux-androideabi-gcc -Wl,--fix-cortex-a8 -L../android-libs
> >
> -L/home/aalonso/Work/Android/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a
> > -Wl,-rpath-link,../android-libs --sysroot=/tmp/vplayer/sysroot/
> > -Wl,--as-needed -o /tmp/ffconf.RTbjtA2w /tmp/ffconf.0oGOKy9k.o
>
> What do you have in /tmp/vplayer/sysroot/ ? Where does its contents come
> from?
>
> Alex
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130626/8a916c95/attachment.html>


More information about the Libav-user mailing list