summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* 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
* 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
* Correct the check for the requested vs returned sizes in libasf. Mohamed Tarek2010-08-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27807 a1c6a512-1295-4272-9138-f99709370657
* Add uppercase M4A file type to the mp4 parser. Technically Apple says to ↵Michael Giacomelli2010-08-14
| | | | | | use lowercase, but various programs tolerate this, so we can too. Fixes FS#11536. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27805 a1c6a512-1295-4272-9138-f99709370657
* Update libwmavoice's README.Mohamed Tarek2010-08-13
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27801 a1c6a512-1295-4272-9138-f99709370657
* Fix a bug in the asf parser that led to dropping packets in WMA voice. WMA ↵Mohamed Tarek2010-08-13
| | | | | | voice now outputs the correct number of samples/packets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27800 a1c6a512-1295-4272-9138-f99709370657
* Missed some more debug statements in libasf.Michael Giacomelli2010-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27797 a1c6a512-1295-4272-9138-f99709370657
* Remove old debug line from wma.c.Michael Giacomelli2010-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27796 a1c6a512-1295-4272-9138-f99709370657
* Move memset6() declaration to string-extra.h, kills a warning compiling for ↵Thomas Martitz2010-08-12
| | | | | | android since it ships a memory.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27789 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
* add a patch to libwmavoice to make it easier to enable/disable building it.Mohamed Tarek2010-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27763 a1c6a512-1295-4272-9138-f99709370657
* WMA Voice now plays and seeks in the sim. The code is still in floating ↵Mohamed Tarek2010-08-07
| | | | | | point, and is not added to the main build. There's still a bug with the decoder in the current state that it outputs a fewer number of samples than ffmpeg's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27744 a1c6a512-1295-4272-9138-f99709370657
* Remove dsputil.[ch], they are not needed.Mohamed Tarek2010-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27743 a1c6a512-1295-4272-9138-f99709370657
* Add missing files from ffmpeg, write a README.rockbox and a makefile.Mohamed Tarek2010-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27742 a1c6a512-1295-4272-9138-f99709370657
* Mistakenly committed a modification. The files in libwmavoice currently are ↵Mohamed Tarek2010-08-07
| | | | | | exact copies of the ffmpeg files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27741 a1c6a512-1295-4272-9138-f99709370657