summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
...
* Correct comment.Andree Buschmann2010-11-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28540 a1c6a512-1295-4272-9138-f99709370657
* update the asap codec to version 2.1.2Dominik Wenger2010-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28535 a1c6a512-1295-4272-9138-f99709370657
* Clean up libmad, remove unused compile options and source paths.Andree Buschmann2010-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28532 a1c6a512-1295-4272-9138-f99709370657
* Tiny refactoring of libmad's synthesis filter. This allows minor speed up ↵Andree Buschmann2010-11-07
| | | | | | and higher precision on ARM, plus a simplification in dct32 configuration. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28531 a1c6a512-1295-4272-9138-f99709370657
* set mode argument for open() where O_CREAT flag is/can be set.Teruaki Kawashima2010-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28527 a1c6a512-1295-4272-9138-f99709370657
* libmusepack: use postindexing on the pointer when storing to increment it ↵Nils Wallménius2010-11-05
| | | | | | for free, saves another instruction in the loop in mpc_decoder_windowing_D speed difference is in the noise though. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28492 a1c6a512-1295-4272-9138-f99709370657
* libmusepack: tiny optimization of the ARMv4 mpc_decoder_windowing_D ↵Nils Wallménius2010-11-05
| | | | | | implementations, using register indexed addressing to store data, saving one instruction in the loop and deleting one instruction adter the loop which isn't needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28488 a1c6a512-1295-4272-9138-f99709370657
* libmusepack: ARMv6 assembler for mpc_decoder_windowing_D, speeds up decoding ↵Nils Wallménius2010-11-05
| | | | | | of 128kbps sample file 2MHz, or 8%, on gigabeat S. The output difference to the c implementation and the other ARM implementation is +/-1 in less than 0.1% of the output samples. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28487 a1c6a512-1295-4272-9138-f99709370657
* Minor optimization of mpc codec via moving dewindowing asm to icode section ↵Andree Buschmann2010-11-02
| | | | | | for S5L870x. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28454 a1c6a512-1295-4272-9138-f99709370657
* Using icode attribute for S5L870x is faster on some codecs. Speed up for mpc ↵Andree Buschmann2010-11-02
| | | | | | is ~3%, for aac ~1%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28453 a1c6a512-1295-4272-9138-f99709370657
* Optimize mpc's synthesis filter by reducing stalls for arm9 and above. Speed ↵Andree Buschmann2010-11-02
| | | | | | up ranges from 4% (nano 2g) to 11% (beast). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28452 a1c6a512-1295-4272-9138-f99709370657
* Fix typo from r28026 causing warnings on newer gcc.Nils Wallménius2010-11-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28439 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11710. On Coldfire CPU's mpc uses a speed optimization which was not ↵Andree Buschmann2010-11-01
| | | | | | correctly re-initialized when rebuffering. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28437 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
* Rearrange and remove some manual register assignments, make use of pointer ↵Dave Hooper2010-10-12
| | | | | | address increments for free on arm, and remove macros in favour of explicit inline fns. also add memory clobbers to all uses of stm in inline asm. appears to resolve issues with codeclib failing to work as expected when using ARM_ASM optimisations on targets with native position independent code (e.g. android rockbox targets, but also tremor on non-rockbox targets that has been patched with the fastermdct patches) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28262 a1c6a512-1295-4272-9138-f99709370657
* Invalidate the CPU cache after clearing bss, to make sure that bss variables ↵Frank Gevaerts2010-10-10
| | | | | | | | | that are used via non-cached aliases don't read garbage. This fixes FS#11653 for me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28236 a1c6a512-1295-4272-9138-f99709370657
* Fix a few div0 cases forgotten in r27684 to enable enabling asm ↵Thomas Martitz2010-10-10
| | | | | | optimizations for android builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28235 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11650. Correct sliencing of subband in mpc decoder. Thanks to Leo ↵Andree Buschmann2010-10-02
| | | | | | Witt for reporting and supporting. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28200 a1c6a512-1295-4272-9138-f99709370657
* Optimization of mpc's buffering routines through using the maximum possible ↵Andree Buschmann2010-10-02
| | | | | | buffer size. This reduces read access calls. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28198 a1c6a512-1295-4272-9138-f99709370657
* Finally fix FS#11476 (data abort when playing some sv8 mpc files on lowmem ↵Andree Buschmann2010-10-02
| | | | | | targets like Clip+/Fuzev1/Fuzev2). This fix disables loading of seek tables from the sv8 bitstream. Those table are located at the end of sv8-files. When playing sv8 files this resulted in seek to filebegin, then fileend, then back to filebegin. Such seeking behaviour results in heavy rebuffering when playing files on targets with low RAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28197 a1c6a512-1295-4272-9138-f99709370657
* ARMv6 supports unaligned memory accesses and they are enabled on our only ↵Nils Wallménius2010-09-29
| | | | | | ARMv6 target so we might as well use them. Speeds up decoding of a flac8 file by 3.5%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28183 a1c6a512-1295-4272-9138-f99709370657
* Remove some unused variables.Michael Giacomelli2010-09-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28118 a1c6a512-1295-4272-9138-f99709370657
* flac: more detailed debug messageRafaël Carré2010-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28087 a1c6a512-1295-4272-9138-f99709370657
* Minor macro redefinition in libfaad to avoid FIXED_POINT ifdef'ing.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28085 a1c6a512-1295-4272-9138-f99709370657
* More unification of FIXED_POINT and FLOAT. Small refactoring.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28084 a1c6a512-1295-4272-9138-f99709370657
* Also correct autocorrelation for yet undefined SBR_LOW_POWER. Unify ↵Andree Buschmann2010-09-14
| | | | | | FIXED_POINT and FLOAT implementation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28083 a1c6a512-1295-4272-9138-f99709370657
* Fix scaling error that was introduced with r28069. With this fix the level ↵Andree Buschmann2010-09-14
| | | | | | of the hf-spectrum will be correct when decoding aac-he files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28081 a1c6a512-1295-4272-9138-f99709370657
* Correct comment.Andree Buschmann2010-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28080 a1c6a512-1295-4272-9138-f99709370657
* Correct autocorrelation function in libfaad. It used the wrong fract part ↵Andree Buschmann2010-09-14
| | | | | | for the multiplication macros. Introduce appropriate solution to avoid overflow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28079 a1c6a512-1295-4272-9138-f99709370657
* Further libfaad cleanup. Make libfaad compilable for floating point. ↵Andree Buschmann2010-09-14
| | | | | | Floating point cannot be used as reference though, as errorous noise is the result. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28071 a1c6a512-1295-4272-9138-f99709370657
* Further libfaad cleanup.Andree Buschmann2010-09-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28070 a1c6a512-1295-4272-9138-f99709370657
* Clean up libfaad's fixed point implementation.Andree Buschmann2010-09-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28069 a1c6a512-1295-4272-9138-f99709370657
* Extend lc_open() to also being able to load overlay plugins.Thomas Martitz2010-09-09
| | | | | | | For this it needs to look at the plugin header. Since lc_open() doesn't know it's a plugin, the header needs to be changed slightly to include the new lc_header (which needs to be the first element in plugin_header so it can be casted savely). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28054 a1c6a512-1295-4272-9138-f99709370657
* codecs_crt0.c needs to call cpucache_invalidate after copying code around.Thomas Martitz2010-09-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28052 a1c6a512-1295-4272-9138-f99709370657
* workaround weird gcc behaviourRafaël Carré2010-09-07
| | | | | | | it might a bug in the 4 years old gcc version, but __ASSEMBLER__ is not defined when preprocessing .S files with -std=gnu99 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28026 a1c6a512-1295-4272-9138-f99709370657
* Ged rid of uisimulator/common/io.c for android builds.Thomas Martitz2010-09-01
| | | | | | | | | | | Use host's functions for file i/o directly (open(), close() ,etc.), not the sim_* variants. Some dir functions need to be wrapped still because we need to cache the parents dir's path (host's dirent doesn't let us know). For the same reason (incompatibility) with host's dirent) detach some members from Rockbox' dirent struct and put it into an extra one, the values can be retrieved via the new dir_get_info(). Get rid of the sim_ prefix for sleep as well and change the signature to unix sleep(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27968 a1c6a512-1295-4272-9138-f99709370657
* libdemac: ARMv7 assembler optimisation for the filters, tested on Nokia ↵Jens Arnold2010-08-30
| | | | | | N900. Speedup is 2.1x for -c5000 compared to the ARMv6 asm. Note that actually compiling it on device requires hand-assembling the 'vadd' and 'vsub' instructions due to a bug in binutils 2.18.50, and making the standalone decoder use it requires Makefile and demac_config.h hacks. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27944 a1c6a512-1295-4272-9138-f99709370657
* Restore libfaad's IRAM configuration.Andree Buschmann2010-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27942 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#11539. Undo r23967 and use another way to achieve results for ↵Andree Buschmann2010-08-29
| | | | | | negative exponents for pow(2,x). This solves heavy distortions on some aac encoded files and clicks/noise on track change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27941 a1c6a512-1295-4272-9138-f99709370657
* Fix red.Andree Buschmann2010-08-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27940 a1c6a512-1295-4272-9138-f99709370657
* Clean up alac/acc demux structure on next track. Solves issues with some ↵Andree Buschmann2010-08-29
| | | | | | files only being playable on direct selection, but not if switched to via playback engine or skip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27939 a1c6a512-1295-4272-9138-f99709370657
* Make M4A demuxer more flexible when handling the stsd atom. Allows file ↵Magnus Holmgren2010-08-29
| | | | | | reported in the forum to play. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27938 a1c6a512-1295-4272-9138-f99709370657
* Use system headers a bit more: use host's fcntl.h for O_RDONLY etc.Thomas Martitz2010-08-27
| | | | | | | | Removes the need to fix up those in the simulator. Also work around some posix-mingw incompatibilities (e.g. getcwd()). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27904 a1c6a512-1295-4272-9138-f99709370657
* Fix residual aac-he distortion reported via forum. Bug was introduded with ↵Andree Buschmann2010-08-26
| | | | | | r27364. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27898 a1c6a512-1295-4272-9138-f99709370657
* Move setjmp to lib and add setjmp for sh (imported from newlib) and compile ↵Thomas Martitz2010-08-24
| | | | | | | | | it as separate library. It's used by both, plugins and codecs, and sh/hwcodec doesn't compile codecs so it doesn't fit into sources. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27869 a1c6a512-1295-4272-9138-f99709370657
* Fix libfaad error that was introduced with r27225. Noise bursts during ↵Andree Buschmann2010-08-23
| | | | | | playback of several files were reported in the forums. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27868 a1c6a512-1295-4272-9138-f99709370657
* Reinitialise ogg_malloc system on each track change with the vorbis codec - ↵Bertrik Sikken2010-08-23
| | | | | | part of FS #11533 by me git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27866 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