xref: /OK3568_Linux_fs/buildroot/package/libmad/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBMAD
2	bool "libmad"
3	help
4	  High-quality MPEG audio decoder. All computations are
5	  performed with fixed-point integer arithmetic, making it ideal
6	  for systems without a floating-point unit.
7
8	  http://www.underbit.com/products/mad/
9
10if BR2_PACKAGE_LIBMAD
11
12choice
13	prompt "Speed vs. accuracy"
14	default BR2_PACKAGE_LIBMAD_OPTIMIZATION_DEFAULT
15
16config BR2_PACKAGE_LIBMAD_OPTIMIZATION_DEFAULT
17	bool "Default"
18	help
19	  Keep optimizations balanced between speed and accuracy.
20
21config BR2_PACKAGE_LIBMAD_OPTIMIZATION_SPEED
22	bool "Optimize for speed over accuracy"
23	help
24	  Compromise accuracy for speed.
25
26config BR2_PACKAGE_LIBMAD_OPTIMIZATION_ACCURACY
27	bool "Optimize for accuracy over speed"
28	help
29	  Compromise speed for accuracy.
30
31endchoice
32
33config BR2_PACKAGE_LIBMAD_SSO
34	bool "Subband synthesis optimization"
35	help
36	  Use the subband synthesis optimization, with reduced accuracy.
37
38config BR2_PACKAGE_LIBMAD_ASO
39	bool "Architecture-specific optimizations"
40	default y
41	# arm optimization needs classic arm instructions support
42	depends on !(BR2_arm && !BR2_ARM_CPU_HAS_ARM)
43	help
44	  Use certain architecture-specific optimizations.
45
46config BR2_PACKAGE_LIBMAD_STRICT_ISO
47	bool "Strict ISO/IEC interpretations"
48	help
49	  Use strict ISO/IEC interpretations.
50
51endif
52