summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* Remove the event object in the kernel since it's rather extraneous at the ↵Michael Sevakis2008-10-23
| | | | | | moment. This makes the codecs and the plugins incompatible, so update fully. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18867 a1c6a512-1295-4272-9138-f99709370657
* Codec memory reorganizationNils Wallménius2008-10-19
| | | | | | | | | | | | Based on a patch by Tomasz Malesinski * Merge Codec buffer and Malloc buffer into one large buffer. * The new merged buffer is now 1MB on targets with lots of memory. * Renamed codec_get_memory to codec_get_buffer and made it behave more. like plugin_get_buffer. * Bumped Codec api and min api versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18834 a1c6a512-1295-4272-9138-f99709370657
* Split id3.c/h into metadata.c/h and metadata/mp3.c. Updated all references. ↵Björn Stenberg2008-10-15
| | | | | | Moved mp3data.c/h from firmware to apps. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18814 a1c6a512-1295-4272-9138-f99709370657
* Correct poor assumption on my part that WMA frames are 2048 samples long. ↵Michael Giacomelli2008-10-14
| | | | | | Fixed problems with sample rates < 44.1khz. Fixes FS#9242 and FS#9439. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18805 a1c6a512-1295-4272-9138-f99709370657
* New recording setting to configure how mono recordings are made. Previously, ↵Peter D'Hoye2008-10-08
| | | | | | this was always L+R, which was kinda silly if your signal was on L only. This setting allows for L, R or L+R. SWCODEC only for now, to be added for HWCODEC (although that will only be L and L+R probably) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18745 a1c6a512-1295-4272-9138-f99709370657
* Another minor improvement: better pipelining and one less register used in ↵Jens Arnold2008-10-07
| | | | | | vector addition/ subtraction. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18739 a1c6a512-1295-4272-9138-f99709370657
* APE: Further ARMv6 filter optimisations: Save 4 'ror's per round by ↵Jens Arnold2008-10-07
| | | | | | utilising the shift feature of the 'pack halfword' instructions in the unaligned vector addition/ subtraction, better pipelining in the aligned scalarproduct(), and a new method to calculate the unaligned scalarproduct(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18736 a1c6a512-1295-4272-9138-f99709370657
* Fix warnings on non-arm targets.Jens Arnold2008-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18702 a1c6a512-1295-4272-9138-f99709370657
* Various speedups: (1) Put actual decoding functions into IRAM on PP5002. (2) ↵Jens Arnold2008-10-03
| | | | | | Put the insane filter buffer into IRAM on coldfire and PP502x (just for completeness, as long as there's no better use). (3) Use the ARMv6 'ssat' instruction for saturation on Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18701 a1c6a512-1295-4272-9138-f99709370657
* Speed up decoding on Gigabeat F/X and S by lowering BLOCKS_PER_LOOP. This ↵Jens Arnold2008-10-03
| | | | | | helps keeping things in the (L1) cache (except for -c5000). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18700 a1c6a512-1295-4272-9138-f99709370657
* Put the rangecoder struct into IRAM for a nice speedup on coldfire.Jens Arnold2008-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18699 a1c6a512-1295-4272-9138-f99709370657
* Further speedup for ARMv6 by better pipelining in scalarproduct().Jens Arnold2008-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18697 a1c6a512-1295-4272-9138-f99709370657
* Fix static noise on armv6.Jens Arnold2008-10-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18694 a1c6a512-1295-4272-9138-f99709370657
* Add preliminary ARMv5te optimisations (verified working, but can probably be ↵Jens Arnold2008-10-03
| | | | | | sped up further), and fix a comment in the ARMv6 code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18693 a1c6a512-1295-4272-9138-f99709370657
* Add armv6 specific asm code for the APE filters, speeding up -c2000..-c5000 ↵Jens Arnold2008-10-03
| | | | | | a bit on Gigabeat S. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18692 a1c6a512-1295-4272-9138-f99709370657
* Opening function brace style police.Michael Sevakis2008-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18574 a1c6a512-1295-4272-9138-f99709370657
* Simplify synchronizaton for MPA codec and make it fully atomic, let synth ↵Michael Sevakis2008-09-23
| | | | | | thread exist for life of codec, do a bit of cleanup and use number of cores do determine if it is compiled as multithread instead of CPU type. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18573 a1c6a512-1295-4272-9138-f99709370657
* Add simple ASMed fixed point multiply functions for ARM to AC3. Gives a 38% ↵Michael Giacomelli2008-09-23
| | | | | | speed up on my one sample with a Sansa. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18570 a1c6a512-1295-4272-9138-f99709370657
* Correct version of memory sizes in config-logikdax.h (previous values were ↵Dave Chapman2008-09-22
| | | | | | just experimental and should not have been committed). We also need to remove two more codecs for this codec buffer size (128KB). The m200 and DAX builds now actually build. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18568 a1c6a512-1295-4272-9138-f99709370657
* Trivial changes to make the main Rockbox builds for the Sansa m200 and Logik ↵Dave Chapman2008-09-22
| | | | | | DAX ports compile. Note that some codecs are currently disabled (due to lowmem on these targets), but that needs more work and analysis to decide how much RAM we want to allocate to codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18566 a1c6a512-1295-4272-9138-f99709370657
* Fix careless typo on my part that broke MP3 playback on Coldfire.Michael Giacomelli2008-09-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18564 a1c6a512-1295-4272-9138-f99709370657
* Hopefully fix glitches when seeking in MP3s on dual core processors. Also, ↵Michael Giacomelli2008-09-22
| | | | | | clean up initialization and preprocessor commands. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18563 a1c6a512-1295-4272-9138-f99709370657
* Opps, fix mp3 decoding in the sim.Michael Giacomelli2008-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18559 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9318 - MP3 synthesis filter on COP. Loads the MP3 synth filer on ↵Michael Giacomelli2008-09-20
| | | | | | to the CoProcessor on all PortalPlayer devices, resulting in an ~90% speedup according to test_codec on the Sansa. Real world improvement is somewhat less, but still considerable. Allows MP3 decoding at 30MHz without boosting, or use of more DSP/EQ with less boosting/skipping, thus improving battery life. Minor changes to mpegplayer to retain compatibility with libmad changes. Should be no significant changes for other targets or codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18557 a1c6a512-1295-4272-9138-f99709370657
* More files that were missed in the previous commit.Michael Giacomelli2008-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18413 a1c6a512-1295-4272-9138-f99709370657
* Combine the Vorbis, WMA and AAC IMDCT functions and put them into the ↵Michael Giacomelli2008-09-04
| | | | | | codeclib. Combined IMDCT is now based on existing Tremor transform. Reduces CPU for 192k AAC by 21MHz on Coldfire, and 5MHz on PP5024. WMA and Vorbis should have no functional changes since they already used this code. Further optimization is possible and would benefit all 3 codecs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18412 a1c6a512-1295-4272-9138-f99709370657
* Made local functions static for vorbis and speex codecsBertrik Sikken2008-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18263 a1c6a512-1295-4272-9138-f99709370657
* Removed unused abort function implementationBertrik Sikken2008-08-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18261 a1c6a512-1295-4272-9138-f99709370657
* Use WMA windowing optimizations for AAC. Saves about 3.5MHz on Coldfire, ↵Michael Giacomelli2008-08-10
| | | | | | and about 2 MHz on ARM. Thanks to amiconn for help with Coldfire ASM improvements. Next step: dump faad IMDCT. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18238 a1c6a512-1295-4272-9138-f99709370657
* Actually put the output in IRAM this time by combining some buffers that ↵Michael Giacomelli2008-08-10
| | | | | | weren't used at the same time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18231 a1c6a512-1295-4272-9138-f99709370657
* Speed up WMA decoding on coldfire (14% speedup with a 128kbps test file).Jens Arnold2008-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18228 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9170 by Dave Hooper. Adds support for profiling on ARM, and fixes ↵Michael Giacomelli2008-07-28
| | | | | | various issues with compiling profile builds. Also, note that profile_reader.pl syntax has changed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18142 a1c6a512-1295-4272-9138-f99709370657
* asap: fix stereo mode and hopefully fix metadata handling.Dominik Wenger2008-07-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18140 a1c6a512-1295-4272-9138-f99709370657
* Asap codec: put outputbuffer into iram. Improves performance.Dominik Wenger2008-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18129 a1c6a512-1295-4272-9138-f99709370657
* Asap: fix a warning. Dominik Wenger2008-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18124 a1c6a512-1295-4272-9138-f99709370657
* set svn:keywords on the new files.Dominik Wenger2008-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18123 a1c6a512-1295-4272-9138-f99709370657
* ups: forgot a Makefile.Dominik Wenger2008-07-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18122 a1c6a512-1295-4272-9138-f99709370657
* commit asap codec. plays .sap files. At the moment it only plays the default ↵Dominik Wenger2008-07-26
| | | | | | song. So subSongs are ignored. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18121 a1c6a512-1295-4272-9138-f99709370657
* import ASAP codec (http://asap.sourceforge.net/). Plays Amiga 8bit Sound. ↵Dominik Wenger2008-07-26
| | | | | | (.sap and more formats). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18120 a1c6a512-1295-4272-9138-f99709370657
* Remove unused variable.Michael Giacomelli2008-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18095 a1c6a512-1295-4272-9138-f99709370657
* Make the standalone FLAC test program work again (compile with make -f ↵Dave Chapman2008-07-19
| | | | | | Makefile.test). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18093 a1c6a512-1295-4272-9138-f99709370657
* Too much on the last commit.Michael Giacomelli2008-07-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18085 a1c6a512-1295-4272-9138-f99709370657
* Use Tremor IMDCT for WMA. Gives a ~20% speedup on ARM and coldfire. All my ↵Michael Giacomelli2008-07-17
| | | | | | test samples gave equivilent or better accuracy (>>16 bit), but there may still be problems. Code becomes somewhat less readable since the IMDCT has bits of Vorbis in it, but this is not a serious issue and the old ffmpeg transform remains in SVN if anyone wants it. Also, WMA now passes Vorbis as the fastest transform codec on ARM, although MPC remains the fastest lossy codec overall. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18084 a1c6a512-1295-4272-9138-f99709370657
* Fix warning due to typo on my part.Michael Giacomelli2008-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17948 a1c6a512-1295-4272-9138-f99709370657
* More WMAv1 fixes by Rafael Carre.Michael Giacomelli2008-07-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17943 a1c6a512-1295-4272-9138-f99709370657
* Forgot that the X5/M5 use a 64/64KB IRAM split, so they can't use the ↵Michael Giacomelli2008-06-28
| | | | | | previous optimization. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17854 a1c6a512-1295-4272-9138-f99709370657
* Put the WMA windowing and output buffer into IRAM on targets with > 96KB of ↵Michael Giacomelli2008-06-28
| | | | | | it. Improves 192k WMA decoding speed by about 2MHz on PP5024, and maybe saves some more when applying DSP. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17853 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Solve possible glitch after seeking in mpc files. Documented the special ↵Andree Buschmann2008-06-28
| | | | | | treatment after seek. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17829 a1c6a512-1295-4272-9138-f99709370657
* Revert r14786 which resulted in a substantial reduction in accuracy to save ↵Michael Giacomelli2008-06-24
| | | | | | a 7.6KB of RAM. Accuracy should be greatly improved now, and if we want to make that trade off again, I think of better ways to do it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17783 a1c6a512-1295-4272-9138-f99709370657