summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
...
* 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
* Fix a bug introduced in r27463 that caused the line spectral pair look up ↵Michael Giacomelli2011-07-28
| | | | | | tables to overwrite the noise coding VLC tables. Should fix decoding of files that have both noise coding and line spectral pairs, which are usually very low bitrate WMAs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30220 a1c6a512-1295-4272-9138-f99709370657
* Fix musepack resume for resume positions > 7:30m.Andree Buschmann2011-07-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30202 a1c6a512-1295-4272-9138-f99709370657
* AAC: Another gapless fix, this one for the end of the file. The real size of ↵Magnus Holmgren2011-07-17
| | | | | | the last frame was lost in r29727, as indicated by Yusaku Inui in FS#12185, so bring it back. Now the decoded length of test1_nero.m4a (in FS#12185) only differs by one sample compared to Foobar2000 (Rockbox has one more leading sample, for some reason). Also moved a few lines to a better place. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30149 a1c6a512-1295-4272-9138-f99709370657
* Do not use double/float calculations but predefined tables in mod codec. ↵Andree Buschmann2011-06-30
| | | | | | Reduces codesize by several kilobytes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30107 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12142 by Sean Bartell with minor chnages by myself. Removes unused ↵Andree Buschmann2011-06-24
| | | | | | code and irrelevant files from libmad. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30065 a1c6a512-1295-4272-9138-f99709370657
* SPC Codec: Restore correct FIR buffer alignment when an address mask is ↵Michael Sevakis2011-06-24
| | | | | | used. It must be FIR_BUF_ALIGN. Fix Coldfire assembly constraint where an input parameter was also being written. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30063 a1c6a512-1295-4272-9138-f99709370657
* Submit FS#12164 by Sean Bartell with minor changes by myself. Fixes possible ↵Andree Buschmann2011-06-24
| | | | | | decoding corruption of RealAudio files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30060 a1c6a512-1295-4272-9138-f99709370657
* FS#12161: Correct the gapless processing for AAC, so that it doesn't remove ↵Magnus Holmgren2011-06-18
| | | | | | too much from the start of a track. Also simplify the logic a bit. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30012 a1c6a512-1295-4272-9138-f99709370657
* libtremor: comment out unused struct member.Nils Wallménius2011-06-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29987 a1c6a512-1295-4272-9138-f99709370657
* codeclib: make selective inclusion of macros and inline functions from the ↵Nils Wallménius2011-06-08
| | | | | | codeclib_misc.h header easier and clean out some old libtremor stuff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29985 a1c6a512-1295-4272-9138-f99709370657
* FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app ↵Nils Wallménius2011-06-07
| | | | | | builds and enable it for 32 bit too. Fixes linking errors on simbuilds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
* libtremor: Implement a memory configuration for targets that don't use ↵Nils Wallménius2011-06-06
| | | | | | | | | | | separate iram for codecs. Such targets would previously default to using the configuration for targets with small iram which uses an extra memcpy per block. This saves 2MHz decoding a 128kbps vorbis file on the Gigabeat S and saves a bit of codec buffer. Patch from FS#11268, also replaces patch from FS#12147. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29976 a1c6a512-1295-4272-9138-f99709370657
* Safe part of FS#11268, saving some codec buffer space for targets that don't ↵Nils Wallménius2011-06-05
| | | | | | use separate iram. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29975 a1c6a512-1295-4272-9138-f99709370657
* FS#12146: Fix libcook bugs introduced in r22055 by Sean Bartell.Nils Wallménius2011-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29973 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#12143 (NSF codec clean up): Declare local stuff static, comment ↵Andree Buschmann2011-06-05
| | | | | | unused variables and functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29972 a1c6a512-1295-4272-9138-f99709370657
* Delete old unused macro.Nils Wallménius2011-06-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29962 a1c6a512-1295-4272-9138-f99709370657
* Disable some unused code in speex to save binsize.Nils Wallménius2011-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29949 a1c6a512-1295-4272-9138-f99709370657
* Build the voice codec speex with core -O switch to save size on targets ↵Nils Wallménius2011-06-02
| | | | | | using -Os. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29948 a1c6a512-1295-4272-9138-f99709370657
* Fix define name.Nils Wallménius2011-06-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29947 a1c6a512-1295-4272-9138-f99709370657