summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor (follow)
Commit message (Collapse)AuthorAge
...
* libtremor: Use larger cachesize for codebook decoding on targets with 1MB ↵Nils Wallménius2010-11-18
| | | | | | | | | | | | | | | codec buffer. speedups as follows: ~3%/2MHz on high bitrate files (500kbps) on Gigabeat S ~1%/0.5MHz on high bitrate files (500kbps) on Fuze v1 ~3%/1MHz (128kbps) - 12%/7MHz (500kbps) on H300 ~2%/0.5MHz (128kbps) - 10%/3.5MHz (500kbps) on C200 v1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28615 a1c6a512-1295-4272-9138-f99709370657
* libtremor: correct constraint for coldfire asm, swap can only be used on ↵Nils Wallménius2010-11-15
| | | | | | data registers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28604 a1c6a512-1295-4272-9138-f99709370657
* libtremor: tweak a hot function for codebook decoding, mostly moving pointer ↵Nils Wallménius2010-10-31
| | | | | | lookups outside the loop. Speeds up decoding by 3-6% on Coldfire and a small speedup on arm too git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28419 a1c6a512-1295-4272-9138-f99709370657
* libtremor: introduce asm optimized version of the channel_couple function ↵Nils Wallménius2010-10-31
| | | | | | for Coldfire and optimize the arm as version, speedup ~1% on Coldfire and PortalPlayer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28405 a1c6a512-1295-4272-9138-f99709370657
* libtremor: tiny optimization 0.5%-1.5% on coldfire and PPNils Wallménius2010-10-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28285 a1c6a512-1295-4272-9138-f99709370657
* Move ffmpeg functions to their own file to avoid mixing code under different ↵Nils Wallménius2010-08-22
| | | | | | liceses in the same file. Licensing is fun! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27859 a1c6a512-1295-4272-9138-f99709370657
* forgot commentNils Wallménius2010-08-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27858 a1c6a512-1295-4272-9138-f99709370657
* libtremor: use render_line from ffmpeg (libavcodec/vorbis.c), speedup ~1% on ↵Nils Wallménius2010-08-22
| | | | | | both arm and coldfire, output unchanged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27857 a1c6a512-1295-4272-9138-f99709370657
* libtremor: fix possible memoryleak when playing several ogg vorbis files in ↵Nils Wallménius2010-08-12
| | | | | | sequence, hopefully fixes FS#11533 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27776 a1c6a512-1295-4272-9138-f99709370657
* Factor out sane code list bisection code and use instead of insane code, ↵Nils Wallménius2010-07-01
| | | | | | clean up some tests for readability's sake. Gives a small speedup on h300 (coldfire, 0.1-0.6MHz) and a tiny speedup on gigabeat s (armv6 0.1-0.2MHz), no real difference on PP. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27223 a1c6a512-1295-4272-9138-f99709370657
* Clean up a leftover preprocessor symbol and improve the workaround for the ↵Nils Wallménius2010-06-29
| | | | | | 'arm-elf and static functions in iram' quirk so it doesn't affect builds with eabi toolchain (only affects nano2g). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27176 a1c6a512-1295-4272-9138-f99709370657
* Rockbox as an application: Replace many occurences of #ifdef SIMULATOR with ↵Thomas Martitz2010-06-21
| | | | | | | | | | | #if (CONFIG_PLATFORM & PLATFORM_HOSTED) (or equivalently). The simulator defines PLATFORM_HOSTED, as RaaA will do (RaaA will not define SIMULATOR). The new define is to (de-)select code to compile on hosted platforms generally. Should be no functional change to targets or the simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27019 a1c6a512-1295-4272-9138-f99709370657
* ARMv6 vector mutiplication asm, speeds up vorbis decoding about 0.1MHz on ↵Nils Wallménius2010-06-17
| | | | | | gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26892 a1c6a512-1295-4272-9138-f99709370657
* Delete some duplicate inline asm macros since they now live in the codeclib.Nils Wallménius2010-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26891 a1c6a512-1295-4272-9138-f99709370657
* Correction to clobber lists of several codec's inline assembly.Andree Buschmann2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26376 a1c6a512-1295-4272-9138-f99709370657
* Two tiny tweaks to some arm asmNils Wallménius2010-05-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25993 a1c6a512-1295-4272-9138-f99709370657
* Simplify special case function, speedup of about 0.2MHz on both coldfire and ↵Nils Wallménius2010-05-12
| | | | | | pp decoding the files in the test set git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25977 a1c6a512-1295-4272-9138-f99709370657
* Move c/h files implementing/defining standard library stuff into a new libc ↵Thomas Martitz2010-05-06
| | | | | | | | directory, also standard'ify some parts of the code base (almost entirely #include fixes). This is to a) to cleanup firmware/common and firmware/include a bit, but also b) for Rockbox as an application which should use the host system's c library and headers, separating makes it easy to exclude our files from the build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25850 a1c6a512-1295-4272-9138-f99709370657
* Change various CPU_ARM defines to _ARM_ASSEM_ to be more consistent with the ↵Michael Giacomelli2010-03-16
| | | | | | rest of Tremor. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25214 a1c6a512-1295-4272-9138-f99709370657
* Simplify makefileNils Wallménius2010-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25084 a1c6a512-1295-4272-9138-f99709370657
* Use larger IRAM for M5/X5 in vorbis.Andree Buschmann2010-03-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25061 a1c6a512-1295-4272-9138-f99709370657
* Fix broken whitespace after r24862Nils Wallménius2010-03-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25031 a1c6a512-1295-4272-9138-f99709370657
* Remove leftover unused buffer from the mdctexp branchNils Wallménius2010-03-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25022 a1c6a512-1295-4272-9138-f99709370657
* Remove all tabs within codec path.Andree Buschmann2010-02-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
* Unroll and optimise channel coupling for arm gives 0.6Mhz speed for vorbis ↵Dave Hooper2010-02-21
| | | | | | on pp(ipod video) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24808 a1c6a512-1295-4272-9138-f99709370657
* Merge from branches/mdctexp - faster ifft+imdct in codec libDave Hooper2010-02-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24712 a1c6a512-1295-4272-9138-f99709370657
* Assembler optimised bitreverse for ARM, again a little bit faster and ↵Jens Arnold2009-12-23
| | | | | | smaller. * Separated 'x' and 'ret' gives gcc a bit more freedom regarding register allocation (except on coldfire where it doesn't matter). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24107 a1c6a512-1295-4272-9138-f99709370657
* Improved bitrev with approach suggested by Jens Arnold, gives 0.5%-1% ↵Nils Wallménius2009-12-23
| | | | | | speedup for tremor decoding on sansa c200 (PP) and a tiny speedup on coldfire as well git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24102 a1c6a512-1295-4272-9138-f99709370657
* Use optimised byteswap function in bitrev for a tiny speedup on coldfire and ↵Nils Wallménius2009-12-21
| | | | | | pp and about 1-2% speedup on gigabeat s (due to the armv6 rev instruction) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24095 a1c6a512-1295-4272-9138-f99709370657
* Comment var only used by already commented out debug code, delete #if 0'ed ↵Nils Wallménius2009-12-12
| | | | | | block move a comment and fix some broken indentation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23945 a1c6a512-1295-4272-9138-f99709370657
* Remove inline asm that hasn't been useful for years, no speed differenceNils Wallménius2009-12-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23928 a1c6a512-1295-4272-9138-f99709370657
* Fix warning on new gcc for checking value or truth of undefined _WIN32 and MIPS.Andrew Mahone2009-11-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23670 a1c6a512-1295-4272-9138-f99709370657
* Make the codecs use more IRAM on S5L870x, as we have plenty of it.Michael Sparmann2009-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23594 a1c6a512-1295-4272-9138-f99709370657
* Add STATICIRAM_NOT_MDCT as a workaround for the gcc bug where static ↵Dave Chapman2009-10-04
| | | | | | functions are not long called. This is currently only an issue on the Nano2G (S5L8701 CPU) which is the only ARM target with enough IRAM for these functions. Also add multiple-inclusion protection for config-tremor.h. All plugins and codecs now compile cleanly for the Nano2G. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22914 a1c6a512-1295-4272-9138-f99709370657
* Fix for FS#10492, by Aoyumi: Data abort errors when playing some Vorbis files.Magnus Holmgren2009-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22653 a1c6a512-1295-4272-9138-f99709370657
* FS#10466: Introduce a real malloc for tremor.Magnus Holmgren2009-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22528 a1c6a512-1295-4272-9138-f99709370657
* Fix condition code clobbers (and one TAB) for inline arm code in lib and ↵Dave Hooper2009-08-29
| | | | | | libtremor git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22526 a1c6a512-1295-4272-9138-f99709370657
* Remove a function accidentally added back in r21841.Magnus Holmgren2009-07-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21853 a1c6a512-1295-4272-9138-f99709370657
* Import Vorbis seeking improvements from Tremor SVN.Magnus Holmgren2009-07-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21841 a1c6a512-1295-4272-9138-f99709370657
* Commit rest of fix in FS#9866. Don't parse Vorbis comments again in ↵Michael Giacomelli2009-06-30
| | | | | | libtremor. It wastes memory and we already have the comments in memory. Looking at the spec and code, I think this fix is proper, but if it breaks any files this may need to be revisited. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21581 a1c6a512-1295-4272-9138-f99709370657
* Fix for noise after vorbis skipping introduced in r20783 - thanks to Aoyumi ↵Dave Hooper2009-05-02
| | | | | | and learman git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20843 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9882 - make better use of iram at different quality encodings, ↵Dave Hooper2009-04-25
| | | | | | 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
* Add setjmp/longjmp for ARM and ColdFire to the codec lib, and use it in the ↵Magnus Holmgren2009-03-08
| | | | | | 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
* Make tremor check for very long ogg tags and truncate them if they're larger ↵Michael Giacomelli2009-03-01
| | | | | | 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
* Silence warning from 'ar' if the archive had to be created.Jens Arnold2009-03-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
* Stop hiding errors by redirecting stderr to /dev/null. If we really need to ↵Daniel Stenberg2009-02-23
| | | | | | 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
* Commit FS#9915 by Sei Aoyumi. Adds hints to help GCC better optimize vorbis ↵Michael Giacomelli2009-02-17
| | | | | | decoding. Gives a minor speed increase. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20030 a1c6a512-1295-4272-9138-f99709370657
* Remove floor0 stuff from IRAM. Results in a tiny speed decrease for files ↵Michael Giacomelli2009-01-21
| | | | | | 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
* Added 'keywords' and 'eol-style' properties.Björn Stenberg2008-11-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
* Macros should be ALL CAPS, so rename (un)likely() to (UN)LIKELY()Nils Wallménius2008-11-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19181 a1c6a512-1295-4272-9138-f99709370657