summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* Bulk convert all DOS line endings to UNIX.Torne Wuff2011-11-06
| | | | | | | | | | | | | | For the git migration we want a nice clean repository with UNIX line endings. git does not use svn:eol-style, we just need the file contents to be sane. Sorry everybody. I know this messes up blame. Scumbag *NIX developer says migrating to git will make line ending issues go away; commits giant change to svn which changes line endings anyway. :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30924 a1c6a512-1295-4272-9138-f99709370657
* Remove errorneous ; after "for" statement.Thomas Jarosch2011-10-08
| | | | | | Detected by my upcoming cppcheck check git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30731 a1c6a512-1295-4272-9138-f99709370657
* libtremor: build with -O2 for cf, gives a slight speedup on high bitrate ↵Nils Wallménius2011-10-08
| | | | | | files (~1%) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30730 a1c6a512-1295-4272-9138-f99709370657
* fix warning in debug codeNils Wallménius2011-10-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30729 a1c6a512-1295-4272-9138-f99709370657
* libtremor: hack to work around huge allocations for the comment packet in ↵Nils Wallménius2011-10-08
| | | | | | files with embedded album art. Should fix playback of such files on targets with large codec buffers. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30728 a1c6a512-1295-4272-9138-f99709370657
* Silence build warningJeffrey Goode2011-10-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30708 a1c6a512-1295-4272-9138-f99709370657
* Fix detuned VRC7. In VRC7 apu the 2413 emu must run at the default clock ↵Andree Buschmann2011-10-01
| | | | | | rate. Thanks to Mauricio Garrido. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30623 a1c6a512-1295-4272-9138-f99709370657
* libtremor: arm asm for ff_vector_fmul_window_c on v4 and v5 cores, speeds up ↵Nils Wallménius2011-09-23
| | | | | | c200v1 and fuzev1 by ~0.4MHz and ipod classic by ~1MHz. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30584 a1c6a512-1295-4272-9138-f99709370657
* libtremor: small whitespace cleanup.Nils Wallménius2011-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30583 a1c6a512-1295-4272-9138-f99709370657
* libtremor: cf asm for ff_vector_fmul_window_c, gives a speedup of ~0.3MHz.Nils Wallménius2011-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30582 a1c6a512-1295-4272-9138-f99709370657
* libtremor: rename file that now contains more ffmpeg code.Nils Wallménius2011-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30581 a1c6a512-1295-4272-9138-f99709370657
* libtremor: port over ffmpeg's windowing codeNils Wallménius2011-09-22
| | | | | | | | | | | | Use the windowing approach from ffmpeg in tremor, does the mdct doubling, windowing and overlap add in one go. Also uses less memory so all the processing buffers fit in iram on targets with small iram for the common blocksizes (256/2048) now. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 20MHz for 512/4096 files on h300. Speeds up decoding of vorbis files by 3MHz for 256/2048 and 4.5MHz for 512/4096 on the beast. Speeds up decoding of vorbis files by 0.3MHz for 256/2048 and 1MHz for 512/4096 on c200v1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30580 a1c6a512-1295-4272-9138-f99709370657
* codeclib/libtremor: Clean up duplication of inline funcs, constify the ones ↵Nils Wallménius2011-09-21
| | | | | | in codeclib and copy over the slightly faster MULT31_SHIFT15 from tremor for cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30578 a1c6a512-1295-4272-9138-f99709370657
* libtremor: pass the floor1 lookup table pointer as a param to the ↵Nils Wallménius2011-09-19
| | | | | | render_line function to make this a little nicer. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30573 a1c6a512-1295-4272-9138-f99709370657
* libtremor: save a kB or two limiting an array size to the maximum number of ↵Nils Wallménius2011-09-16
| | | | | | channels we support and using a shorter type for another. No speed diff. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30559 a1c6a512-1295-4272-9138-f99709370657
* libtremor: small tweak to cf channel coupling asm, speeding up vorbis ↵Nils Wallménius2011-09-16
| | | | | | decoding by ~0.1MHz. Drop unused macro params and add some comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30558 a1c6a512-1295-4272-9138-f99709370657
* codeclib: more cf asm for the mdct, saves ~0.7MHz decoding vorbis on h300.Nils Wallménius2011-09-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30552 a1c6a512-1295-4272-9138-f99709370657
* codeclib: further tweaks to the cf fft asm for a small speedup.Nils Wallménius2011-09-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30541 a1c6a512-1295-4272-9138-f99709370657
* Roll back r30509 after discussion on irc. Activating AAC-HE SBR will not ↵Andree Buschmann2011-09-14
| | | | | | work on Sansa Clip v1. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30540 a1c6a512-1295-4272-9138-f99709370657
* codeclib: tweak coldfire mdct asm a bit more, flip usage of mac/msac instead ↵Nils Wallménius2011-09-13
| | | | | | of explicit negation, changes output slightly but is as close to the c version as before. Gives about 0.4MHz speedup of vorbis on cf. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30516 a1c6a512-1295-4272-9138-f99709370657
* 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