a2ab22efbf
Speeds up decoding of 128k opus files by 1.2MHz on AMSv2. Rounding error is 1 bit due to KissFFT using a 15 bit shift instead of a 16 bit shift. Also, change an LDMIA in the armv4 code to LDM as the pointer should not increment. Change-Id: I626a207c6a056a1984e33cfe89415c35d0caed93 Reviewed-on: http://gerrit.rockbox.org/377 Reviewed-by: Michael Giacomelli <giac2000@hotmail.com> Tested-by: Michael Giacomelli <giac2000@hotmail.com> |
||
---|---|---|
.. | ||
celt | ||
ogg | ||
silk | ||
libopus.make | ||
opus.h | ||
opus_config.h | ||
opus_custom.h | ||
opus_decoder.c | ||
opus_defines.h | ||
opus_header.c | ||
opus_header.h | ||
opus_private.h | ||
opus_types.h | ||
README.rockbox | ||
SOURCES |
Libraries: Opus (snapshot) / Opus-tools (snapshot) / libogg 1.3 Imported: September 15th, 2012 Steps taken to adapt original opus/opus-tool/ogg source files to rockbox (useful when for example syncing a new snapshot) Opus: * copied .c/.h files from opus/src lib/rbcodec/codecs/libopus * copied .h files from opus/include to lib/rbcodec/codecs/libopus * copied .c/.h files from opus/celt to lib/rbcodec/codecs/libopus/celt * copied .c/.h files from opus/silk to lib/rbcodec/codecs/libopus/silk * renamed opus config.h file to opus_config.h and replaced #include "config.h", for example find . -name "*.h" -print | xargs sed -i 's/include "config.h"/include "opus_config.h"/g' find . -name "*.c" -print | xargs sed -i 's/include "config.h"/include "opus_config.h"/g' Opus-tools: * copied src/opus_header.h and src/opus_header.c to lib/rbcodec/codecs/libopus * changed #include <ogg/ogg.h> to #include "ogg/ogg.h" in opus_header.c Ogg: * copied libogg/src/framing.c to lib/rbcodec/codecs/libopus/ogg * copied libogg/include/ogg.h to lib/rbcodec/codecs/libopus/ogg * changed #include "ogg/ogg.h" to #include "ogg.h" in framing.c * added os_config.h to lib/rbcodec/codecs/libopus/ogg