![Sven Neumann](/assets/img/avatar_default.png)
The default of choosing the fixed-point implementation if the target hardware does not have floating-point unit is not always the best choice. Modern ARM hardware has floating point support but most likely the fixed-point implementation in Opus will still perform better. In particular if your CPU supports the NEON extension. This commit allows to select the fixed-point implementation manually and sets the default based on the availability of a floating-point unit. [Peter: force option for sw float, slightly reword] Signed-off-by: Sven Neumann <neumann@teufel.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
27 lines
802 B
Plaintext
27 lines
802 B
Plaintext
config BR2_PACKAGE_OPUS
|
|
bool "opus"
|
|
help
|
|
The Opus codec is designed for interactive speech and audio
|
|
transmission over the Internet. It is designed by the IETF
|
|
Codec Working Group and incorporates technology from Skype's
|
|
SILK codec and Xiph.Org's CELT codec.
|
|
|
|
It is intended to suit a wide range of interactive audio
|
|
applications, including Voice over IP, videoconferencing,
|
|
in-game chat, and even remote live music performances. It
|
|
can scale from low bit-rate narrowband speech to very high
|
|
quality stereo music.
|
|
|
|
http://opus-codec.org
|
|
|
|
if BR2_PACKAGE_OPUS
|
|
|
|
config BR2_PACKAGE_OPUS_FIXED_POINT
|
|
bool "use fixed-point" if !BR2_SOFT_FLOAT
|
|
default y if BR2_SOFT_FLOAT
|
|
help
|
|
Compile without floating point operations (for machines
|
|
without a fast enough FPU).
|
|
|
|
endif
|