summaryrefslogtreecommitdiff
path: root/apps/codecs
AgeCommit message (Collapse)Author
2009-04-25Commit FS#9882 - make better use of iram at different quality encodings, ↵Dave Hooper
remove redundant memsets, implement doublebuffer if it will fit in iram to save a mempcy each frame, and some alignment fixes for coldfire git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20783 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Might as well enable SPC so that all codecs build on the Clip. Not yet real ↵Michael Giacomelli
time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20782 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Disable AAC-SBR, AAC-SSR, and AAC-PS on Sansa clip. Clean up warnings ↵Michael Giacomelli
introduced by this. Enable compiling the AAC codec on the Clip. Due to lack of memory for seek tables, files over 10 minutes long or so will probably fail. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20781 a1c6a512-1295-4272-9138-f99709370657
2009-04-25Enable WMA, MPC, ASAP, NSF, APE, and SID playback on the Sansa clip as these ↵Michael Giacomelli
codecs already fit into IRAM. SPC could be made to fit by changing BRRcache define, but without MMU I doubt it would be realtime anyway. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20780 a1c6a512-1295-4272-9138-f99709370657
2009-04-22Fix redMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20777 a1c6a512-1295-4272-9138-f99709370657
2009-04-22Fix yellowMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20776 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Allow higher precision in calculation of seek position and elapsed time for ↵Andree Buschmann
mpc codec. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20756 a1c6a512-1295-4272-9138-f99709370657
2009-04-20Fix FS#10139 (broken seek for very long mp3 files) through avoiding int32 ↵Andree Buschmann
overflow in calculation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20755 a1c6a512-1295-4272-9138-f99709370657
2009-04-16Clean code a bit (no functional changes)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20715 a1c6a512-1295-4272-9138-f99709370657
2009-04-16Fix headerMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20714 a1c6a512-1295-4272-9138-f99709370657
2009-04-16Add setjmp implementation for MIPS targets from newlibMaurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20713 a1c6a512-1295-4272-9138-f99709370657
2009-04-10Fix FS#10111 - Pops and clicks when playing 24 bit FLAC files. This fixes ↵Boris Gjenero
decoding of RICE2 entropy coding. Backported from ffmpeg. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20671 a1c6a512-1295-4272-9138-f99709370657
2009-03-29Fix FS#10067: Crash when playing very short (less than a second) FLAC files.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20567 a1c6a512-1295-4272-9138-f99709370657
2009-03-23Correct Björn's name in various file headers.Nicolas Pennequin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20491 a1c6a512-1295-4272-9138-f99709370657
2009-03-10Enable libmad ASM optimized fixed point routines for MIPS.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20280 a1c6a512-1295-4272-9138-f99709370657
2009-03-10Fix endianness defines in the mdctlib code.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20279 a1c6a512-1295-4272-9138-f99709370657
2009-03-08Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the ↵Magnus Holmgren
Vorbis codec to better handle out of memory conditions (to exit rather than crash; the AAC codec could use it too). setjmp/longjmp comes from newlib 1.17.0 with a few minor changes (combine parts of some files, remove support for some architectures, change some ifdef's). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20235 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Cosmetic fix: remove duplicate semicolonsBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20198 a1c6a512-1295-4272-9138-f99709370657
2009-03-04Overlooked one place where the 'archive created' warning needs to be suppressed.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20197 a1c6a512-1295-4272-9138-f99709370657
2009-03-02Fix some slight inconsistencies.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20172 a1c6a512-1295-4272-9138-f99709370657
2009-03-01Make tremor check for very long ogg tags and truncate them if they're larger ↵Michael Giacomelli
then 10000 characters rather then seg faulting. Fixes FS#9866. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20156 a1c6a512-1295-4272-9138-f99709370657
2009-03-01Silence warning from 'ar' if the archive had to be created.Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
2009-02-27Mac doesn't handle placing variables in specific sections very well. ↵Tom Ross
Building the sim on OS X is now possible once again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20124 a1c6a512-1295-4272-9138-f99709370657
2009-02-23Stop hiding errors by redirecting stderr to /dev/null. If we really need to ↵Daniel Stenberg
do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
2009-02-17Commit FS#9915 by Sei Aoyumi. Adds hints to help GCC better optimize vorbis ↵Michael Giacomelli
decoding. Gives a minor speed increase. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20030 a1c6a512-1295-4272-9138-f99709370657
2009-02-11Make basic cache functions into calls, and get rid of ↵Michael Sevakis
CACHE_FUNCTION_WRAPPERS and CACHE_FUNCTIONS_AS_CALL macros. Rename flush/invalidate_icache to cpucache_flush/invalidate. They're inlined only if an implementation isn't provided by defining HAVE_CPUCACHE_FLUSH/INVALIDATE. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19971 a1c6a512-1295-4272-9138-f99709370657
2009-02-09make sure plugin.lds is not processed when building sims since it isn't used ↵Daniel Stenberg
for anything then! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19957 a1c6a512-1295-4272-9138-f99709370657
2009-02-08Commit fix suggested by Siaoru Lee in FS#9776. Fixes a bug in our ASF parser.Michael Giacomelli
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19946 a1c6a512-1295-4272-9138-f99709370657
2009-01-24Include divide-by-zero handling within plugins and codecs for ARM processors.Michael Sevakis
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19834 a1c6a512-1295-4272-9138-f99709370657
2009-01-23initialize the codecs API in the codec loader, using the same method as used ↵Andrew Mahone
in the plugin loader git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19824 a1c6a512-1295-4272-9138-f99709370657
2009-01-21Remove floor0 stuff from IRAM. Results in a tiny speed decrease for files ↵Michael Giacomelli
encoded with 6+ year old versions of the Xiph encoder, but saves IRAM which can be better used elsewhere. Thanks Nils Wallmenius in FS#7832 for the idea. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19811 a1c6a512-1295-4272-9138-f99709370657
2009-01-12Added missing dependencies for codeclib and pluginlib. This required ↵Björn Stenberg
renaming some files that have twins in other places. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19756 a1c6a512-1295-4272-9138-f99709370657
2009-01-10Calculate watermark from bitrate and harddisk spinup time.Björn Stenberg
Use a smaller PCM buffer on targets with 2MB or less ram. (FS#9703) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19743 a1c6a512-1295-4272-9138-f99709370657
2009-01-07Removed the sim_ prefix from the plugin api.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19704 a1c6a512-1295-4272-9138-f99709370657
2009-01-02static/const/#include/tab police on various filesBertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19643 a1c6a512-1295-4272-9138-f99709370657
2008-12-29Make local functions static in codecs, where possible.Bertrik Sikken
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19612 a1c6a512-1295-4272-9138-f99709370657
2008-12-22Slight speedup for the APE filters. Most noticeable on coldfire (+3.5% for ↵Jens Arnold
-c2000), but also helps on the arm targets (+0.9% for -c2000 on PP5002). This transformation is oveflow safe, as absres < 2^24 is guaranteed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19556 a1c6a512-1295-4272-9138-f99709370657
2008-12-21Fix decoding of stereo frames with silence in only one channel. * Make the ↵Jens Arnold
standalone decoder contain debugging information. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19552 a1c6a512-1295-4272-9138-f99709370657
2008-12-21Fix handling of 8 bit mono and stereo APE files, and also optimise 16 and 24 ↵Jens Arnold
bit output in the standalone decoder a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19517 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Sync some changes found in ffmpeg plus a spelling correction I forgot to commit.Tom Ross
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19503 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Don't read a full byte if less than 8 bits are available. The change doesn't ↵Tom Ross
fix any problem samples, but the current code makes no sense. Also some spelling corrections in debugfs and comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19502 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Wrap some of the more ridiculously long lines introduced in the previous ↵Michael Giacomelli
revision. Whitespace changes only. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19501 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Correctly implement remaining portions of ffmpeg's r8627 that I'd forgotten ↵Michael Giacomelli
about. This fixes a table overflow in low bitrate files that use noise coding, and in theory should be substantial improvement, but I haven't found any files were it makes a difference. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19500 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Fix occasional glitch when switching from stereo to mono tracks due to ↵Michael Giacomelli
uninitialized m/s coding flag. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19498 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Commit fix by Tom Ross in FS#7488 wherein a silly mistake noise coding ↵Michael Giacomelli
initialization is corrected. This sample alone has probably resulted in more WMA fixes then all other combined and I suspect there will still be at least one more. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19496 a1c6a512-1295-4272-9138-f99709370657
2008-12-20Fix bug where a mono file using noise coding would be corrupted if it was ↵Michael Giacomelli
played immediately after a stereo files using noise coding due to incorrect initialization of the decoder state. Thanks to Tom Ross for pointing out that initialization was incomplete on these files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19494 a1c6a512-1295-4272-9138-f99709370657
2008-12-15Better file suffix replacement. Bug fix by Nils Wallménius. Closes FS #9644.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19443 a1c6a512-1295-4272-9138-f99709370657
2008-12-10Use cookies for thread identification instead of pointers directly which ↵Michael Sevakis
gives a buffer against wrongly identifying a thread when the slot is recycled (which has been nagging me for awhile). A slot gets 255 uses before it repeats. Everything gets incompatible so a full update is required. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19377 a1c6a512-1295-4272-9138-f99709370657
2008-12-09Assembler optimised mono predictor for ARM. Speedup for -c1000 mono is ~5% ↵Jens Arnold
on PP, ~8% on Gigabeat S (less for higher compression levels). Also fix some overlooked comments in the stereo predictor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19375 a1c6a512-1295-4272-9138-f99709370657
2008-12-02Implement mono predictor in assembler for coldfire, yielding a ~6% speedup ↵Jens Arnold
for mono -c1000. Apply ideas gained from it back to the stereo predictor, saving 4 instructions. No speed increase for stereo, probably due to cache aliasing effects. * 80-column police. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19296 a1c6a512-1295-4272-9138-f99709370657