summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
...
* codeclib: coldfire asm for the TRANSFORM* functions in the fft and a little ↵Nils Wallménius2011-09-12
| | | | | | for the mdct, speeds up codecs using the codeclib mdct 0.5-1.5MHz on h300. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30513 a1c6a512-1295-4272-9138-f99709370657
* AAC: Enable SBR decoding for all targetsRafaël Carré2011-09-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30510 a1c6a512-1295-4272-9138-f99709370657
* libgme: make local functions static, where possibleBertrik Sikken2011-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30498 a1c6a512-1295-4272-9138-f99709370657
* Fully remove floating point code from libmusepack. Introduce two small const ↵Andree Buschmann2011-09-10
| | | | | | arrays for precalculated scalefactors, correct the integer type of scalefactors to unsigned, migrate some metadata calculations to fixed point. No impact to decoder output. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30497 a1c6a512-1295-4272-9138-f99709370657
* Remove residual floating point code from libgme's ym2612_emu. Saves several ↵Andree Buschmann2011-09-10
| | | | | | KB of codesize. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30496 a1c6a512-1295-4272-9138-f99709370657
* Further work on libgme's emu2413. Fully remove floating point, introduce ↵Andree Buschmann2011-09-10
| | | | | | another precalculated table, directly use predefined tables instead of copying them. Reduces memory and codesize by several KB. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30494 a1c6a512-1295-4272-9138-f99709370657
* Migrate some floating point code to fixed point in libgme.Andree Buschmann2011-09-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30493 a1c6a512-1295-4272-9138-f99709370657
* Bugfixes for libgme by Mauricio Garrido: added missing call of ↵Andree Buschmann2011-09-09
| | | | | | Blip_set_modified(), correctly set PSG voices in vgm_emu, correctly set current_track in vgm_emu, correct call of Sound_mute_voices() in nsf_emu. Additionally migrate few floating point code to fixed point -- even though this is unused and therefor commented out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30490 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12258. Do not use '-ffunction-sections' and '-fdata-sections' when ↵Andree Buschmann2011-09-07
| | | | | | compiling. Fixes compiler warnings for mingw and cygwin simulatior builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30468 a1c6a512-1295-4272-9138-f99709370657
* Fix residual red, thanks to Zagor.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30400 a1c6a512-1295-4272-9138-f99709370657
* Fix some more libgme compile issues.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30399 a1c6a512-1295-4272-9138-f99709370657
* Check for CPU_ARM in libgme/blip_buffer.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30398 a1c6a512-1295-4272-9138-f99709370657
* Update libgme to Blargg's Game_Music_Emu 0.6-pre.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30397 a1c6a512-1295-4272-9138-f99709370657
* Get rid of strict aliasing warnings for ARMv6 spc_dsp.c. Just do load in asm ↵Michael Sevakis2011-08-31
| | | | | | block instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30396 a1c6a512-1295-4272-9138-f99709370657
* Build libgme with the same compiler settings as other codecs.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30395 a1c6a512-1295-4272-9138-f99709370657
* Declare several libgme functions static.Andree Buschmann2011-08-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30394 a1c6a512-1295-4272-9138-f99709370657
* Submit parts of FS#12189 regarding codec API. Replaces access to global ↵Andree Buschmann2011-08-30
| | | | | | settings with a dedicated function to determine if the current track shall be looped. Used by several synthesizer codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30391 a1c6a512-1295-4272-9138-f99709370657
* Introduce CPU dependent IRAM configuration for libgme. Use ICODE_ATTR for an ↵Andree Buschmann2011-08-30
| | | | | | emu2413-function to speed up PP5022 by up to 6%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30379 a1c6a512-1295-4272-9138-f99709370657
* codec_main() prototype inside codec_crt0.c is no longer needed since it's in ↵Michael Sevakis2011-08-28
| | | | | | codecs.h now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30373 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some more unused functions, make a function param ↵Nils Wallménius2011-08-28
| | | | | | unsigned to simplify generated code, gives a small speedup on cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30372 a1c6a512-1295-4272-9138-f99709370657
* libtremor: remove some inline cf asm that is no longer needed with the new ↵Nils Wallménius2011-08-28
| | | | | | toolchain, no speed diff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30371 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out some unused functions and mark some file local ↵Nils Wallménius2011-08-28
| | | | | | functions static, saves a few hundred bytes and might give a tiny speedup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30370 a1c6a512-1295-4272-9138-f99709370657
* Remove obsolete 'ci->set_elapsed()' from mpc.Andree Buschmann2011-08-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30368 a1c6a512-1295-4272-9138-f99709370657
* Commit work started in FS#12153 to put timing/position information in PCMMichael Sevakis2011-08-28
| | | | | | | | | | | | | | | | | | | | | | | | | buffer chunks. * Samples and position indication is closely associated with audio data instead of compensating by a latency constant. Alleviates problems with using the elapsed as a track indicator where it could be off by several steps. * Timing is accurate throughout track even if resampling for pitch shift, whereas before it updated during transition latency at the normal 1:1 rate. * Simpler PCM buffer with a constant chunk size, no linked lists. In converting crossfade, a minor change was made to not change the WPS until the fade-in of the incoming track, whereas before it would change upon the start of the fade-out of the outgoing track possibly having the WPS change with far too much lead time. Codec changes are to set elapsed times *before* writing next PCM frame because time and position data last set are saved in the next committed PCM chunk. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30366 a1c6a512-1295-4272-9138-f99709370657
* Minor libwmavoice fixes; initialise the entire VBM tree and remove file ↵Steve Bavin2011-08-26
| | | | | | handle leak from test util. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30360 a1c6a512-1295-4272-9138-f99709370657
* Fix an issue in libfaad found by static code analysis. Two arrays within the ↵Andree Buschmann2011-08-26
| | | | | | drc_info structure require a size of 64 due to the related implementation. This code section would not have been called as the decoder checks the number of channels and rejects decoding for files using more than MAX_CHANNELS (2). Closes FS#12245. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30356 a1c6a512-1295-4272-9138-f99709370657
* Clean up redundant assignmentThomas Jarosch2011-08-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30347 a1c6a512-1295-4272-9138-f99709370657
* Optimized compiler settings for libgme. ARM now uses -O1 except for the 2413 ↵Andree Buschmann2011-08-18
| | | | | | emulator. The speed on PP5022 increases by 0-5% (NSF, YM2413-VGM), 5-10% (GBS, VGM) and 10-15% (SGC, KSS, AY). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30331 a1c6a512-1295-4272-9138-f99709370657
* FS#12231Nils Wallménius2011-08-18
| | | | | | | | | | | | | | | | | Centralize the selection of codec compilation flags to codec.make to avoid having to duplicate the per cpu selection logic and the build rule in the individual codec lib make files and make tweaking easier. The two special cases, libmad and libspeex were left alone. I plan to introduce a var for arm generation so that appropriate flags can be selected per generation as benchmarking results have shown that different arm arches might have different optimal flags. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30330 a1c6a512-1295-4272-9138-f99709370657
* Roll back r30328. Sorry for any inconvenience.Andree Buschmann2011-08-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30329 a1c6a512-1295-4272-9138-f99709370657
* Allow to use different compiler settings for codecs built from libgme. ARM ↵Andree Buschmann2011-08-18
| | | | | | now uses -O1 except for the 2413 emulator. The speed on PP5022 increases by 0-5% (NSF, YM2413-VGM), 5-10% (GBS, VGM) and 10-15% (SGC, KSS, AY). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30328 a1c6a512-1295-4272-9138-f99709370657
* Submit a patch to the VGM codec by Mauricio Gama which saves some more RAM ↵Andree Buschmann2011-08-17
| | | | | | through changes of the buffer configuration and an update of the resampler code. Additionally enable VGM for low memory targets and update the manual. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30327 a1c6a512-1295-4272-9138-f99709370657
* Reduce memory consumption of VGM codec for low memry targets at the costs of ↵Andree Buschmann2011-08-17
| | | | | | some performance for tracks using the 2616 emulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30326 a1c6a512-1295-4272-9138-f99709370657
* Save some RAM in a libgme emulator used for VGM codec. LFO_ENV_TAB[] and ↵Andree Buschmann2011-08-15
| | | | | | LFO_FREQ_TAB[] are obselete. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30319 a1c6a512-1295-4272-9138-f99709370657
* Remove further float operations from emu2413 in libgme to speed up synthesis.Andree Buschmann2011-08-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30313 a1c6a512-1295-4272-9138-f99709370657
* Remove a couple of duplicate #includesBertrik Sikken2011-08-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30301 a1c6a512-1295-4272-9138-f99709370657
* Remove all IRAM attributes from libGME to be able to restart the IRAM ↵Andree Buschmann2011-08-13
| | | | | | optimization on a clean code base. As first step move the sample buffers to IRAM which results in a 1-5% speedup for all codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30284 a1c6a512-1295-4272-9138-f99709370657
* 6th part of FS#12176. Reduce memory consumption of libgme emulators to allow ↵Andree Buschmann2011-08-12
| | | | | | enabling of NSF and SGC codecs for low memory targets. The main lookup table only requires byte precision and can be used by 2413 and 8950 emulators. Update the manual accordingly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30283 a1c6a512-1295-4272-9138-f99709370657
* Remove unused sources from libgme.Andree Buschmann2011-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30282 a1c6a512-1295-4272-9138-f99709370657
* 5th part of FS#12176. Further fixed point migration. Only two emulators ↵Andree Buschmann2011-08-11
| | | | | | (ym2413, ym2612) still use floating point. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30281 a1c6a512-1295-4272-9138-f99709370657
* libgme: make local functions static where possibleBertrik Sikken2011-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30280 a1c6a512-1295-4272-9138-f99709370657
* Reduce gain of VGM codec to avoid clipping.Andree Buschmann2011-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30279 a1c6a512-1295-4272-9138-f99709370657
* 4th part of FS#12176. Volume settings migrated to fixed point for libgme.Andree Buschmann2011-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30278 a1c6a512-1295-4272-9138-f99709370657
* 3rd part of FS#12176. Gain setting migrated to fixed point for libgme.Andree Buschmann2011-08-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30277 a1c6a512-1295-4272-9138-f99709370657
* 2nd part of FS#12176. Tempo setting migrated to fixed point for libgme.Andree Buschmann2011-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30274 a1c6a512-1295-4272-9138-f99709370657
* Remove a floating point calculation from ay codec.Andree Buschmann2011-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30268 a1c6a512-1295-4272-9138-f99709370657
* Remove 'set but not used' warning.Andree Buschmann2011-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30267 a1c6a512-1295-4272-9138-f99709370657
* Fix yellow and red. Disable NSF, VGM, SGC and KSS formats for low memory ↵Andree Buschmann2011-08-07
| | | | | | targets for now. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30265 a1c6a512-1295-4272-9138-f99709370657
* Submit initial patch from FS#12176. Adds support for several new game music ↵Andree Buschmann2011-08-07
| | | | | | formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
* Sync rockbox to r475 of musepack's svn.Andree Buschmann2011-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30240 a1c6a512-1295-4272-9138-f99709370657