diff options
author | Peter Korsgaard <peter@korsgaard.com> | 2014-02-17 10:16:27 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-02-17 10:16:27 +0100 |
commit | 0510e34783b871c68273479e0f5ba7295c11339d (patch) | |
tree | a4c4399a8973ce1847e341ddde3592097200f8a9 /package/vo-aacenc | |
parent | fc075564085ed1ebaf19847bd6ea078ff8b992d6 (diff) |
package: add vo-aacenc (aac encoder)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/vo-aacenc')
-rw-r--r-- | package/vo-aacenc/Config.in | 9 | ||||
-rw-r--r-- | package/vo-aacenc/vo-aacenc.mk | 32 |
2 files changed, 41 insertions, 0 deletions
diff --git a/package/vo-aacenc/Config.in b/package/vo-aacenc/Config.in new file mode 100644 index 000000000..b5487dc96 --- /dev/null +++ b/package/vo-aacenc/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_VO_AACENC + bool "vo-aacenc" + help + This library contains an encoder implementation of the + Advanced Audio Coding (AAC) audio codec. The library is + based on a codec implementation by VisualOn as part of the + Stagefright framework from the Google Android project. + + http://sourceforge.net/projects/opencore-amr/ diff --git a/package/vo-aacenc/vo-aacenc.mk b/package/vo-aacenc/vo-aacenc.mk new file mode 100644 index 000000000..8f01c34b7 --- /dev/null +++ b/package/vo-aacenc/vo-aacenc.mk @@ -0,0 +1,32 @@ +################################################################################ +# +# vo-aacenc +# +################################################################################ + +VO_AACENC_VERSION = 0.1.3 +VO_AACENC_SITE = http://downloads.sourceforge.net/project/opencore-amr/vo-aacenc +VO_AACENC_LICENSE = Apache-2.0 +VO_AACENC_LICENSE_FILES = COPYING +VO_AACENC_INSTALL_STAGING = YES + +# arm specific asm optimizations +ifeq ($(BR2_arm),y) + +ifeq ($(BR2_ARM_CPU_HAS_NEON),y) +VO_AACENC_CONF_OPT += --enable-armv7neon +# mfpu=neon needed to assemble neon code +VO_AACENC_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -mfpu=neon" +else +VO_AACENC_CONF_OPT += --disable-armv7neon + +ifeq ($(BR2_arm7tdmi)$(BR2_arm720t)$(BR2_arm920t)$(BR2_arm922t)$(BR2_strongarm)$(BR2_fa526),) +VO_AACENC_CONF_OPT += --enable-armv5e +else +VO_AACENC_CONF_OPT += --disable-armv5e +endif + +endif # !neon +endif # arm + +$(eval $(autotools-package)) |