summaryrefslogtreecommitdiff
path: root/apps/codecs (follow)
Commit message (Collapse)AuthorAge
* from ffmpeg: replace FIR with finite differences.Marcoen Hirschberg2007-11-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15530 a1c6a512-1295-4272-9138-f99709370657
* Change oggmalloc.c to use size_t and kill a warning about type-punning. ↵Michael Sevakis2007-11-08
| | | | | | Align the size before checking out-of-mem so no overlap may occur between tmp and alloc. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15525 a1c6a512-1295-4272-9138-f99709370657
* from ffmpeg: Add decoding support for variable block size FLAC files using ↵Marcoen Hirschberg2007-11-07
| | | | | | the latest FLAC specification. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15521 a1c6a512-1295-4272-9138-f99709370657
* Revert to old ADX codec, works around broken bacwards seekAdam Gashlin2007-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15518 a1c6a512-1295-4272-9138-f99709370657
* from ffmpeg: Add support for FLAC's new RICE2 entropy coding method. fixes ↵Marcoen Hirschberg2007-11-07
| | | | | | 24-bit FLAC files encoded with flac-1.2.1 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15517 a1c6a512-1295-4272-9138-f99709370657
* Ifdef out some more stuff we don't need.Thom Johansen2007-11-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15515 a1c6a512-1295-4272-9138-f99709370657
* Assembler versions of signal_mul. Decent speedup for Coldfire and small ↵Thom Johansen2007-11-07
| | | | | | speedup for ARM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15502 a1c6a512-1295-4272-9138-f99709370657
* Smaller and more correctly sized statically allocated arrays in decoder ↵Thom Johansen2007-11-06
| | | | | | state structs. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15500 a1c6a512-1295-4272-9138-f99709370657
* Exclude some unneeded LSP code. Add some #endif clarification comments here ↵Thom Johansen2007-11-06
| | | | | | and there. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15497 a1c6a512-1295-4272-9138-f99709370657
* Better behaved buffering.Adam Gashlin2007-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15494 a1c6a512-1295-4272-9138-f99709370657
* Don't if this, it's a good idea for codecs to explicit seekBrandon Low2007-11-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15482 a1c6a512-1295-4272-9138-f99709370657
* Fix mp3 resumeBrandon Low2007-11-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15481 a1c6a512-1295-4272-9138-f99709370657
* Remove conf_filechunk, it should never have been a setting and its ↵Brandon Low2007-11-05
| | | | | | implementation doesn't do what it claims any way git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15478 a1c6a512-1295-4272-9138-f99709370657
* Remove unused conf_preseek from buffering.c and all of its accountraments. ↵Brandon Low2007-11-05
| | | | | | This is _not_ a setting. This is a guessing tool used by either playback or buffering to serve its clients better. Use the REBUFFER_GUESS size in resume to help obviate pondlife's bug. This will also need to be used when FS8092 gets fixed correctly with a complete rebuffer for backward movements. It may also belong in buffering not playback, haven't decided for sure git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15475 a1c6a512-1295-4272-9138-f99709370657
* Don't keep useless id3v2 or other leading tag data on the buffer, it could ↵Brandon Low2007-11-05
| | | | | | be large git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15465 a1c6a512-1295-4272-9138-f99709370657
* Make Speex read its input directly from the Ogg packet, which makes for less ↵Thom Johansen2007-11-01
| | | | | | copying and one less malloc(). Thanks to Jean-Marc Valin for the tip. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15395 a1c6a512-1295-4272-9138-f99709370657
* First attempt at ifdeffing out as much of the encoder stuff as possible from ↵Thom Johansen2007-11-01
| | | | | | Speex. Gives a smaller binary and allows me to remove a couple more files from SOURCES. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15394 a1c6a512-1295-4272-9138-f99709370657
* ARM assembler versions of iir_mem16() and qmf_synth(), yielding a very nice ↵Thom Johansen2007-11-01
| | | | | | speedup. Touch some comments in filters_cf.S git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15393 a1c6a512-1295-4272-9138-f99709370657
* Argh.Michael Giacomelli2007-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15368 a1c6a512-1295-4272-9138-f99709370657
* Copyright.Michael Giacomelli2007-10-29
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15367 a1c6a512-1295-4272-9138-f99709370657
* We removed the old Q15.16 precision trig functions from decoding ages ago, ↵Michael Giacomelli2007-10-29
| | | | | | so no need to leave them in. Also, this code needs a GPL header. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15366 a1c6a512-1295-4272-9138-f99709370657
* Remove unnecessary #include - this fixes compilation of the standalone demac ↵Dave Chapman2007-10-26
| | | | | | tool git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15320 a1c6a512-1295-4272-9138-f99709370657
* QMF filter memory doesn't need to be 32 bits, so convert it to 16 bits. ↵Thom Johansen2007-10-26
| | | | | | Alter assembler code to reflect this. Also do a small optimization in the reverse block copy of the qmf_synth() Coldfire assembler. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15315 a1c6a512-1295-4272-9138-f99709370657
* Forgot a file. Remove files we don't need to build from SOURCES.Thom Johansen2007-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15311 a1c6a512-1295-4272-9138-f99709370657
* Sync with Speex SVN. Syntactic change in filters_cf.S.Thom Johansen2007-10-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15310 a1c6a512-1295-4272-9138-f99709370657
* Fix a fixme in flac and make the usage of the read_filebuf codec api more ↵Brandon Low2007-10-25
| | | | | | consistent with its actual contract. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15303 a1c6a512-1295-4272-9138-f99709370657
* Further optimised the filter vector math assembly for coldfire, and added ↵Jens Arnold2007-10-25
| | | | | | assembly filter vector math for ARM. Both make use of the fact that the first argument of the vector functions is longword aligned. * The ARM version is tailored for ARM7TDMI, and would slow down arm9 or higher. Introduced a new CPU_ macro for ARM7TDMI. Speedup for coldfire: -c3000 104%->109%, -c4000 43%->46%, -c5000 1.7%->2.0%. Speedup for PP502x: -c2000 66%->75%, -c3000 37%->48%, -c4000 11%->18%, -c5000 2.5%->3.7% git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15302 a1c6a512-1295-4272-9138-f99709370657
* * Flip argument order for scalarproduct() so that the first argument is ↵Jens Arnold2007-10-25
| | | | | | always 32 bit aligned, like it is already the case for vector_add() and vector_sub(), for upcoming optimisations. * Un-inline the apply_filter functions for better cache utilisation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15301 a1c6a512-1295-4272-9138-f99709370657
* Negate _after_ output so we don't negate the whole output signal.Thom Johansen2007-10-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15294 a1c6a512-1295-4272-9138-f99709370657
* Coldfire assembler version of inner_prod() for another small speedup.Thom Johansen2007-10-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15293 a1c6a512-1295-4272-9138-f99709370657
* Coldfire assembler version of qmf_synth(). Wideband and ultra-wideband Speex ↵Thom Johansen2007-10-24
| | | | | | files should see a great speedup. Also add faster and symmetric clipping in iir_mem16(). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15292 a1c6a512-1295-4272-9138-f99709370657
* iir_mem16() in assembler for Coldfire for a decent performance boost. Add ↵Thom Johansen2007-10-22
| | | | | | EMAC init in nb_celp.c, since all modes need this as a base. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15274 a1c6a512-1295-4272-9138-f99709370657
* Fix ultra-wideband mode. Disable big parts of the encoder stuff for a ↵Thom Johansen2007-10-22
| | | | | | smaller binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15263 a1c6a512-1295-4272-9138-f99709370657
* Change decoder struct dynamic array members to static arrays sized based on ↵Thom Johansen2007-10-21
| | | | | | current maximums. Move decoder state structs into IRAM for big speedups This means only one decoder can be instantiated at a time, but that should not be a problem. Tweak Makefile to use -O2 for Coldfire. Update SVN revision info to sync-time revision. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15256 a1c6a512-1295-4272-9138-f99709370657
* Shuffle some instructions around for that extra percent of performance. Fix ↵Jens Arnold2007-10-19
| | | | | | a bunch of comments. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15216 a1c6a512-1295-4272-9138-f99709370657
* APE codec: Assembler optimised predictor for coldfire. Heavily based on the ↵Jens Arnold2007-10-19
| | | | | | arm version atm, instruction reordering will probably allow for a bit more speedup soon. Speedup: -c1000: 177% -> 210%, -c2000: 135% -> 147%, -c3000: 97% -> 103%. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15211 a1c6a512-1295-4272-9138-f99709370657
* Squish a warning.Thom Johansen2007-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15210 a1c6a512-1295-4272-9138-f99709370657
* Sync Speex to SVN. Add new header file to adapt to Speex' new way of doing ↵Thom Johansen2007-10-19
| | | | | | wrapper functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15209 a1c6a512-1295-4272-9138-f99709370657
* Remove some Speex distribution test code we won't use.Thom Johansen2007-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15208 a1c6a512-1295-4272-9138-f99709370657
* Move multiply routines into the header. Give Coldfire a fixmul32b(). Remove ↵Thom Johansen2007-10-19
| | | | | | some tabs and empty lines. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15205 a1c6a512-1295-4272-9138-f99709370657
* APE codec: Further optimised filtering yields 3..4% speedup for -c2000 (now ↵Jens Arnold2007-10-19
| | | | | | 135% realtime), -c3000 (now 97% realtime) and higher modes. Single 32 bit stores are faster than movem/lea in IRAM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15200 a1c6a512-1295-4272-9138-f99709370657
* APE codec: Assembler optimised vector math routines for coldfire. -c2000 is ↵Jens Arnold2007-10-18
| | | | | | now usable at 130% realtime (was 107%), -c3000 is near realtime (93%, was 64%). -c1000 doesn't change. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15194 a1c6a512-1295-4272-9138-f99709370657
* Oversight in syncing on my end, sorry.Thom Johansen2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15184 a1c6a512-1295-4272-9138-f99709370657
* Add Coldfire and ARM assembler for "reverse multiply and copy" function too. ↵Thom Johansen2007-10-18
| | | | | | Gives big speedup on Coldfire, small on ARM. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15183 a1c6a512-1295-4272-9138-f99709370657
* Woops, movem.l needs other order.Thom Johansen2007-10-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15178 a1c6a512-1295-4272-9138-f99709370657
* Add Coldfire assembler for window and add function, yielding a nice speedup. ↵Thom Johansen2007-10-18
| | | | | | Tweak ARM assembler version of same routine to act the same as the Coldfire version. Remove an error condition that newer ffmpegs do not bail out on. Files requiring this new behaviour have been observed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15177 a1c6a512-1295-4272-9138-f99709370657
* Make a fix for the WMA seek to start bug that actually works...Thom Johansen2007-10-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15170 a1c6a512-1295-4272-9138-f99709370657
* Fix FS #7973. Hack a way to make skip to start of track work for WMA until ↵Thom Johansen2007-10-17
| | | | | | we have proper seeking. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15166 a1c6a512-1295-4272-9138-f99709370657
* Fix FS #5852 by trying to properly close and update the recorded file, and ↵Peter D'Hoye2007-10-10
| | | | | | give the FAT the correct file info. Add filehandle checks to some file functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15072 a1c6a512-1295-4272-9138-f99709370657
* move structures around in the header filesMarcoen Hirschberg2007-10-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14941 a1c6a512-1295-4272-9138-f99709370657