kumquat-buildroot/package/libmad/Config.in
Peter Korsgaard c614db3550 libmad: disable ASO support for thumb-only ARM cores
Fixes:
http://autobuild.buildroot.net/results/8d4/8d4ea8613487297f2c33f3b9cbd8903cfb96e4c6/

The ARM specific optimizations enabled by LIBMAD_ASO needs classic ARM
instructions support, so disable for thumb-only cores.

[Peter: don't drop default y as pointed out by Baruch Siach]
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2017-01-08 09:27:08 +01:00

52 lines
1.3 KiB
Plaintext

config BR2_PACKAGE_LIBMAD
bool "libmad"
help
High-quality MPEG audio decoder. All computations are performed
with fixed-point integer arithmetic, making it ideal for systems
without a floating-point unit.
http://www.underbit.com/products/mad/
if BR2_PACKAGE_LIBMAD
choice
prompt "Speed vs. accuracy"
default BR2_PACKAGE_LIBMAD_OPTIMIZATION_DEFAULT
config BR2_PACKAGE_LIBMAD_OPTIMIZATION_DEFAULT
bool "Default"
help
Keep optimizations balanced between speed and accuracy.
config BR2_PACKAGE_LIBMAD_OPTIMIZATION_SPEED
bool "Optimize for speed over accuracy"
help
Compromise accuracy for speed.
config BR2_PACKAGE_LIBMAD_OPTIMIZATION_ACCURACY
bool "Optimize for accuracy over speed"
help
Compromise speed for accuracy.
endchoice
config BR2_PACKAGE_LIBMAD_SSO
bool "Subband synthesis optimization"
help
Use the subband synthesis optimization, with reduced accuracy.
config BR2_PACKAGE_LIBMAD_ASO
bool "Architecture-specific optimizations"
# arm optimization needs classic arm instructions support
depends on !(BR2_arm && !BR2_ARM_CPU_HAS_ARM)
default y
help
Use certain architecture-specific optimizations.
config BR2_PACKAGE_LIBMAD_STRICT_ISO
bool "Strict ISO/IEC interpretations"
help
Use strict ISO/IEC interpretations.
endif