summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* Fix red.Andree Buschmann2010-07-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27232 a1c6a512-1295-4272-9138-f99709370657
* r27225 broke AAC HE profile decoding due to missing check for buffersize. ↵Andree Buschmann2010-07-02
| | | | | | Introduce a check of needed buffersize and decide whether to use a static buffer from IRAM or faad's internal allocation routines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27231 a1c6a512-1295-4272-9138-f99709370657
* Remove false comment.Andree Buschmann2010-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27228 a1c6a512-1295-4272-9138-f99709370657
* Fix red and yellow. Needed to remove one codebook from IRAM due to full IRAM ↵Andree Buschmann2010-07-01
| | | | | | on iPod4G. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27226 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11445. Speed up of faad (aac) decoder via several optimizations ↵Andree Buschmann2010-07-01
| | | | | | like refactoring some requantization routines, moving several arrays and code tables to IRAM, using an optimized swap32() function and inlining several huffman decoder functions. Decoding is sped up by ~10% (PP5002, PP5022, MCF5249) and ~22% (MCF5250). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27225 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
* mp3 encoder (codec): left and right channels were inverted in monoRafaël Carré2010-07-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27219 a1c6a512-1295-4272-9138-f99709370657
* encoders are not built in sim buildsRafaël Carré2010-07-01
| | | | | | no need to check for SIMULATOR in the .c files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27209 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
* Remove unneeded libmad files from build.Andree Buschmann2010-06-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27163 a1c6a512-1295-4272-9138-f99709370657
* Comment further unused code in libmad.Andree Buschmann2010-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27160 a1c6a512-1295-4272-9138-f99709370657
* Comment unused code in libmad. Clean up initialization and memset'ing of ↵Andree Buschmann2010-06-27
| | | | | | decoder arrays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27159 a1c6a512-1295-4272-9138-f99709370657
* Fix inline asm argument. Shouldn't have much impact in practice but might ↵Nils Wallménius2010-06-27
| | | | | | save a load if gcc is clever. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27157 a1c6a512-1295-4272-9138-f99709370657
* Refacture libmad's synthesis filter via macro usage. Comment unused special ↵Andree Buschmann2010-06-27
| | | | | | synthesis filter for half bandwidth. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27153 a1c6a512-1295-4272-9138-f99709370657
* Housekeeping. Comment musepack code seqments unused in rockbox.Andree Buschmann2010-06-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27111 a1c6a512-1295-4272-9138-f99709370657
* Clean up comments.Andree Buschmann2010-06-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27078 a1c6a512-1295-4272-9138-f99709370657
* Disable unneeded parts of mpc's file-I/O interface.Andree Buschmann2010-06-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27024 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
* Add a patch file in libwmapro to make it easier to add the library and the ↵Mohamed Tarek2010-06-21
| | | | | | decoder to the main build and modify README.rockbox accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27012 a1c6a512-1295-4272-9138-f99709370657
* Remove the stubbed main() from wmaprodec.c since it's useless now and remove ↵Mohamed Tarek2010-06-21
| | | | | | Makefile for the same reason. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27010 a1c6a512-1295-4272-9138-f99709370657
* Fix reds. (Actually removed wmapro from main build, which was added in a ↵Mohamed Tarek2010-06-21
| | | | | | previous commit) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27008 a1c6a512-1295-4272-9138-f99709370657
* Wrote apps/codecs/wmapro.c and modified libwmapro to make the codec work in ↵Mohamed Tarek2010-06-21
| | | | | | | | | | the sim. Neither libwmapro nor wmapro.c have been added to the main build yet, codecs.make should be edited to compile both with rockbox. current status of the decoder : - Plays and seeks in the sim - Still in floating point git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27006 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11416. Resuming mpc was broken since r26032 due to false assumption ↵Andree Buschmann2010-06-20
| | | | | | of amount of buffered data. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26990 a1c6a512-1295-4272-9138-f99709370657
* libmad: Optimize away 2 instructions from coldfire III_imdct, no measurable ↵Nils Wallménius2010-06-18
| | | | | | speed difference. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26918 a1c6a512-1295-4272-9138-f99709370657
* Make sure files which aren't windows-specific use \n line endings onlyRafaël Carré2010-06-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26893 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
* ARMv6 versions of X(N)PROD31 macros and MULT32 macro. Saves about 1MHz or 3% ↵Nils Wallménius2010-06-17
| | | | | | decoding vorbis on gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26889 a1c6a512-1295-4272-9138-f99709370657
* Clean up libmad/mad.h to avoid double or inconsistent definitions of types, ↵Andree Buschmann2010-06-14
| | | | | | functions and structs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26838 a1c6a512-1295-4272-9138-f99709370657
* Build h10 GB with EABI toolchain. Remove some pointless ICODE attributes ↵Michael Sevakis2010-06-11
| | | | | | from mp3_enc.codec and, to make it build, move one function out of IRAM there since it really shouldn't matter. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26800 a1c6a512-1295-4272-9138-f99709370657
* Configure Gigabeat S with EABI compiler by default. Implement the INIT ↵Michael Sevakis2010-06-11
| | | | | | section that this enables (due to selective need for long calls). Remove pcm_postinit from INIT section since it's asynchronous. Disable strict aliasing on SPC codec for now just to shut it up. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26779 a1c6a512-1295-4272-9138-f99709370657
* FS#11335 by me: make ARM assembly functions thumb-friendlyRafaël Carré2010-06-11
| | | | | | | | | | | | | We can't pop into pc on ARMv4t when using thumb: the T bit won't be modified if we are returning to a thumb function Code running on ARMv4t should use the new ldrpc / ldmpc macros instead of ldr pc, [sp], #4 and ldm(cond) sp!, {regs, pc} No modification on pure ARM builds and ARMv5+ Note: USE_THUMB is currently never defined, no targets can currently be built with -mthumb, see FS#6734 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26756 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11365. Speed up mp3 decoding on ARM processors. It is faster to ↵Andree Buschmann2010-06-10
| | | | | | use the C-implementation of dct32 compiled with -O1 as the asm implementation of dct32 compiled with -O2. Configuration for Coldfire processors is untouched. In the new configuration the stack of the COP decoding thread needs to be increased on dualcore targets. Speed is increasing by up to 0.9 MHz (-O2 against -O1 using eabi). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26746 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#11381. Use -O2 for ffmpegFLAC on ARM targets. This will give ↵Andree Buschmann2010-06-09
| | | | | | reasonable speed-up (+3% on PP502x) for svn and major speed-up when switching to eabi tool chain (+9% on PP502x). Coldfire was tested to be faster when keeping -O1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26712 a1c6a512-1295-4272-9138-f99709370657
* Some asm code beautification in the mpc decoder.Andree Buschmann2010-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26592 a1c6a512-1295-4272-9138-f99709370657
* SPC codec: The inline asm 'memory' clobbers should be unneeded since the ASM ↵Michael Sevakis2010-06-04
| | | | | | either does not modify memory (only loads values), or it modifies things only other ASM blocks deal with and the operand constraints mark them as in/out/both. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26538 a1c6a512-1295-4272-9138-f99709370657
* tta codec: optimize for arm target. pp502x: ~1% speed up.Yoshihisa Uchida2010-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26478 a1c6a512-1295-4272-9138-f99709370657
* ARM: use BX when branch to an address in registerRafaël Carré2010-05-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26432 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
* Small changes to asm for better readability.Andree Buschmann2010-05-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26375 a1c6a512-1295-4272-9138-f99709370657
* Rename seek() to asf_seek()Mohamed Tarek2010-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26237 a1c6a512-1295-4272-9138-f99709370657
* Move seek() from wma.c to libasf since it's really ASF-specific.Mohamed Tarek2010-05-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26235 a1c6a512-1295-4272-9138-f99709370657
* fix redNils Wallménius2010-05-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26085 a1c6a512-1295-4272-9138-f99709370657
* Since we no longer use -fno-strict-aliasing in CFLAGS we don't need to strip ↵Nils Wallménius2010-05-16
| | | | | | it out for the codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26084 a1c6a512-1295-4272-9138-f99709370657
* Fix logf lines in codecs (type mismatches)Jeffrey Goode2010-05-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26038 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11261 (slow seek forward in mpc files). Since the introduction of the ↵Andree Buschmann2010-05-14
| | | | | | sv8 library mpc did not use efficient buffering when seeking forward. With this change the implementation will not flush the buffer on each frame but will keep the already buffered data as long as possible. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26032 a1c6a512-1295-4272-9138-f99709370657
* updates the README document.Yoshihisa Uchida2010-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26017 a1c6a512-1295-4272-9138-f99709370657
* Set up EMAC mode in cook, fixing whitenois when transitioning from a codec ↵Nils Wallménius2010-05-14
| | | | | | using different emac mode.' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26016 a1c6a512-1295-4272-9138-f99709370657
* fix: The second playback time is not correct in playing TTA musics continuously.Yoshihisa Uchida2010-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26015 a1c6a512-1295-4272-9138-f99709370657
* Restor setting of EMAC mode on coldfire lost in r25056 fixes whitenoise when ↵Nils Wallménius2010-05-14
| | | | | | transitioning from a codec using a different EMAC mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26013 a1c6a512-1295-4272-9138-f99709370657