path: root/apps/codecs
AgeCommit message (Collapse)AuthorFilesLines
2012-04-25Add codecs to librbcodec.Sean Bartell740-247189/+0
Change-Id: Id7f4717d51ed02d67cb9f9cb3c0ada4a81843f97 Reviewed-on: Reviewed-by: Nils Wallménius <> Tested-by: Nils Wallménius <>
2012-04-22cook: fix incorrect memset size argumentBertrik Sikken1-1/+1
Change-Id: I927380cd789c1a86ac2d4d6af667c6f39cf933d9
2012-04-22libgme: fix incorrect memset size argumentBertrik Sikken1-1/+1
Change-Id: If663b3881cedaefd837a06e3f60e4d28938c2295
2012-04-05Build libspc with -03 on m68k (Coldfire).Michael Sevakis1-0/+1
Change-Id: I00d918735bde2a03f17c3bb68400bf619a8429d4
2012-04-04Refactor and unify objcopy calls in the build system. Also now properly ↵Thomas Martitz1-7/+1
handles DEBUG builds on hosted targets to keep debug symbols if necessary. Change-Id: I884031b79c6d49479e4d95752f35ced68872dd5d
2012-04-03More completely flush WMA decoder state on seek to prevent artifact.Michael Giacomelli1-7/+13
Each MDCT depends on the previous frame for reconstruction. Previosly these were not zeroed out when seeking, resulting in a few milliseconds of the previous frame playing with the current one. Fix that. Additionally, since the codec treats seeks to the start of a track as a "reset", flush the entire codec state in this event to ensure that everything is reset. Change-Id: If593621a2922b0bbfa34f926f9bff31bee6b8c6a
2012-03-28build system: completely autodetect target cpu architecture.Thomas Martitz6-7/+7
The existing ARCH Makefile variable is exported to the C code as well. Additionally the version (arm-only for now) is detected as well. This allows to for complete autodetection, i.e. that optimized ASM is picked up if determined by preprocessor (CPU_ARM, etc). Building a sim/raaa on a arm host will now automatically generate a arm optmized build like we have for native targets. Change-Id: I0b35393f8fb3ebd20beaa9e7371fa57bf3782107
2012-03-28tlsf: move to /lib (it's also used by plugins).Thomas Martitz12-1417/+3
Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
2012-03-26build system: unify/simplify library handling a bit.Thomas Martitz1-9/+8
libs in $ROOT/lib now add to $(CORE_LIBS) and $(EXTRA_LIBS) and are automatically linked by the core and codecs/plugins respectively. Change-Id: Iff482c792a8c8142718f6a16a450c6e2f1497c9a
2012-02-07Fix FS#12580 - Elapsed time nit reset after track change when playing AC3 files.Michael Sevakis2-0/+4
It wasn't only a52 but also a52_rm that didn't reset the elapsed counter on each new track. The problems seemed obvious enough so fixes are being added blind. Will leave task open for feedback from bug reporter. Change-Id: Ic6d8eb98690ff4be47547d13b6bbafeadf4da745
2012-01-22Don't filter out -O for sims.Thomas Martitz1-1/+1
It's not useful as it means we test code at a different -O level than we run it at. Fixes build errors caused by gcc 4.3. Fix some warnings the change would introduce as well. Change-Id: Id9ff31dc08694b0bfc5272f5e690c41f7918ed22
2012-01-22Use ARCH instead of CPU for selecting optimization levels.Thomas Martitz1-2/+2
This way it works for sim/application too. Change-Id: I27aa7ce9971e7cb4521106a4f8b37d02503d9d09
2012-01-21libspeex: Get rid of some bad trickery with the stack pointer.Thomas Martitz1-8/+7
Using the stack pointer for anything else than pointing to the current stack can have in very bad effects, especially on hosted platforms (e.g. when mixed with signals). Remove this at a neglible performance cost. Change-Id: I9545d701bd13c32456c224b87c708d907880c0ff
2012-01-21Hosted: Output map files after linking.Thomas Martitz1-1/+1
Change-Id: I5ac64d781aaa1aa2b3157589f8e689c0d946a39f
2012-01-21Move supprt-arm.S to separate library.Thomas Martitz2-5/+1
Core, codecs and plugins link it separately so this gets rid of SOURCES trickery. Don't build it for hosted targets. Change-Id: If15ef90e93cd218a4352ae8e89eea95d3122452f
2012-01-21libmad: Get rid of some bad trickery with the stack pointer.Thomas Martitz1-147/+141
Using the stack pointer for anything else than pointing to the current stack can have in very bad effects, especially on hosted platforms (e.g. when mixed with signals). Remove this at very slight performance cost.
2012-01-21libmad: Fix section attrs for hosted platforms.Thomas Martitz1-0/+8
2012-01-04AAC/M4A: Playback time wrapped after 2 hours and 42 minutes. Increase the ↵Magnus Holmgren1-1/+2
wrap limit to about 27 hours. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2012-01-03Adjust a few makefiles to generate smaller (upto 80%) binaries on RaaA throughThomas Martitz1-3/+5
stripping. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-21libtremor: fix memory corruption bug introduced in r30728 that could cause ↵Nils Wallménius1-2/+5
crashes or playback failures for some album art infested files. Closes FS#12448. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-19FS#12463: Improve performance for multichannel FLAC decoding. Speeds up ↵Andree Buschmann3-14/+36
decoding by 3 MHz on PP5022, 6-7 MHz on S5L870x and 11-12 MHz on MCF5250. 5.1-88kHz-files still do not decode in realtime on Coldfire and PP502x. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-17Commit to certain names for cache coherency APIs and discard the aliases.Michael Sevakis3-6/+6
Wouldn't surprise me a bit to get some non-green. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-14FS#12443: Implement downmixing to stereo for multichannel flac.Andree Buschmann2-8/+90
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-14Correct decorrelation within flac decoding. Finally fixes FS#12371.Andree Buschmann1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-11Roll back the latest mpc upstream sync as this introduced a regression. ↵Andree Buschmann1-6/+1
Fixes FS#12429. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-10Fix decoding of multichannel flac, refactor sample buffer handling and ↵Andree Buschmann3-69/+41
decorrelation (taken from ffmpeg sources) and add some flac details to the manual. Solves FS#12371. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-12-04Collect the 16-bit signed range sample clipping routines scattered about, ↵Michael Sevakis1-19/+1
which can be optimized on armv6 and create firmware/export/dsp-util.h (for lack of better place right now). git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-11-29Rockbox does not support encrypted ADX. Clearly state this in the manual and ↵Andree Buschmann1-2/+8
the debug messages. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-11-29Resync mpc to r476 of Improves error handling after seek.Andree Buschmann1-4/+9
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-11-25Solve FS#12396 through rolling back r26592. This fixes distortions while mpc ↵Andree Buschmann1-43/+57
playback on Coldfire targets with GCC 4.5.2. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-11-06Bulk convert all DOS line endings to UNIX.Torne Wuff30-8870/+8870
For the git migration we want a nice clean repository with UNIX line endings. git does not use svn:eol-style, we just need the file contents to be sane. Sorry everybody. I know this messes up blame. Scumbag *NIX developer says migrating to git will make line ending issues go away; commits giant change to svn which changes line endings anyway. :) git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-08Remove errorneous ; after "for" statement.Thomas Jarosch1-1/+1
Detected by my upcoming cppcheck check git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-08libtremor: build with -O2 for cf, gives a slight speedup on high bitrate ↵Nils Wallménius1-1/+0
files (~1%) git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-08fix warning in debug codeNils Wallménius1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-08libtremor: hack to work around huge allocations for the comment packet in ↵Nils Wallménius6-38/+72
files with embedded album art. Should fix playback of such files on targets with large codec buffers. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-04Silence build warningJeffrey Goode1-1/+1
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-10-01Fix detuned VRC7. In VRC7 apu the 2413 emu must run at the default clock ↵Andree Buschmann1-1/+0
rate. Thanks to Mauricio Garrido. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-23libtremor: arm asm for ff_vector_fmul_window_c on v4 and v5 cores, speeds up ↵Nils Wallménius1-0/+48
c200v1 and fuzev1 by ~0.4MHz and ipod classic by ~1MHz. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-23libtremor: small whitespace cleanup.Nils Wallménius1-5/+4
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-22libtremor: cf asm for ff_vector_fmul_window_c, gives a speedup of ~0.3MHz.Nils Wallménius1-0/+53
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-22libtremor: rename file that now contains more ffmpeg code.Nils Wallménius3-2/+2
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-22libtremor: port over ffmpeg's windowing codeNils Wallménius11-416/+143
Use the windowing approach from ffmpeg in tremor, does the mdct doubling, windowing and overlap add in one go. Also uses less memory so all the processing buffers fit in iram on targets with small iram for the common blocksizes (256/2048) now. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 20MHz for 512/4096 files on h300. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 4.5MHz for 512/4096 on the beast. Speeds up decoding of vorbis files by 0.3MHz for 256/2048 and 1MHz for 512/4096 on c200v1. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-21codeclib/libtremor: Clean up duplication of inline funcs, constify the ones ↵Nils Wallménius9-274/+84
in codeclib and copy over the slightly faster MULT31_SHIFT15 from tremor for cf. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-19libtremor: pass the floor1 lookup table pointer as a param to the ↵Nils Wallménius2-11/+11
render_line function to make this a little nicer. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-16libtremor: save a kB or two limiting an array size to the maximum number of ↵Nils Wallménius2-5/+7
channels we support and using a shorter type for another. No speed diff. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-16libtremor: small tweak to cf channel coupling asm, speeding up vorbis ↵Nils Wallménius1-13/+16
decoding by ~0.1MHz. Drop unused macro params and add some comments. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-15codeclib: more cf asm for the mdct, saves ~0.7MHz decoding vorbis on h300.Nils Wallménius1-1/+115
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-14codeclib: further tweaks to the cf fft asm for a small speedup.Nils Wallménius1-16/+16
git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-14Roll back r30509 after discussion on irc. Activating AAC-HE SBR will not ↵Andree Buschmann1-2/+1
work on Sansa Clip v1. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657
2011-09-13codeclib: tweak coldfire mdct asm a bit more, flip usage of mac/msac instead ↵Nils Wallménius1-30/+65
of explicit negation, changes output slightly but is as close to the c version as before. Gives about 0.4MHz speedup of vorbis on cf. git-svn-id: svn:// a1c6a512-1295-4272-9138-f99709370657