On Wed, 5 Dec 2012, Mans Rullgard wrote:

This allows compiling optimised functions for features not enabled
in the core build and selecting these at runtime if the system has
the necessary support.

Signed-off-by: Mans Rullgard <[email protected]>
---
This version does not rely on headers missing on Android, but rather
includes a copy of the (trivial) definitions.  The kernel interface is
stable, so this does not pose a compatibility problem.

Also changed is the returned flags if /proc/self/auxv could not be opened.
Instead of returning zero as in previous versions of the patch, the flags
corresponding to the base build options are used.  Features signalled in
auxv are merely added to this set with nothing being removed.  This way
the base feature set is always fully utilised, even if runtime detection
somehow fails.
---
configure           |  4 ++-
libavutil/arm/cpu.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 86 insertions(+), 1 deletion(-)

Ok - tested on an android device, built with the NDK.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to