summaryrefslogtreecommitdiffstats
path: root/package/libmad/Config.in
blob: 1d6bdd86e9e3ce5c80b70b930e7ddf613174f95f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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"
	default y
	# arm optimization needs classic arm instructions support
	depends on !(BR2_arm && !BR2_ARM_CPU_HAS_ARM)
	help
	  Use certain architecture-specific optimizations.

config BR2_PACKAGE_LIBMAD_STRICT_ISO
	bool "Strict ISO/IEC interpretations"
	help
	  Use strict ISO/IEC interpretations.

endif
OpenPOWER on IntegriCloud