Commit graph

51 commits

Author SHA1 Message Date
Magnus Holmgren
9613b91164 Fix bug #3003 (old Vorbis encode crashes Rockbox), and hopefully not break any other files. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9516 a1c6a512-1295-4272-9138-f99709370657
2006-04-05 14:01:08 +00:00
Jens Arnold
3e8568980d Remove all references to errno, it's unnecessary since the codec doesn't directly access files. Should really fix the TLS issues with errno this time...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8873 a1c6a512-1295-4272-9138-f99709370657
2006-03-01 01:07:56 +00:00
Marcoen Hirschberg
f16c1f341a prevent rockbox from using the wrong includes
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Thom Johansen
5947e49f46 Make Tremor usable on ARM targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8475 a1c6a512-1295-4272-9138-f99709370657
2006-01-28 21:21:21 +00:00
Brandon Low
05dccc3551 Profiling support, tools and documentation.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Dave Chapman
88f4c11789 iPod - Tremor code has become too big for IRAM (as of 28 December 2005), so temporarily disable ICODE_ATTR to fix the broken builds. This needs reviewing anyway when the time comes to optimise Tremor for the iPod.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8298 a1c6a512-1295-4272-9138-f99709370657
2006-01-03 11:58:39 +00:00
Magnus Holmgren
41cea75095 Vorbis optimizations from Brandon Low (part of patch 1387611). Reduces cpu boost ratio on a test track by about 6 percentage points. Also fixes broken simulator playback caused by my previous Tremor commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8291 a1c6a512-1295-4272-9138-f99709370657
2005-12-28 20:42:24 +00:00
Magnus Holmgren
085f2f428e Inspired by patch #1377739 by Brandon Low: Inline oggpack_adv and the most used part of oggpack_look. Reduces CPU boost on a test track (208 kbps) by 2-3 percentage points.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8274 a1c6a512-1295-4272-9138-f99709370657
2005-12-21 19:46:34 +00:00
Magnus Holmgren
1b0d1daf38 Codec makefile cleanup: remove redundant things, don't generate dependency files when cleaning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8154 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 19:32:13 +00:00
Daniel Stenberg
76667e2a5b fix gcc4 (un)signed warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8124 a1c6a512-1295-4272-9138-f99709370657
2005-12-02 08:42:48 +00:00
Magnus Holmgren
265b16ecba iRiver: Reduced stack usage in the Vorbis decoder, so files created by old versions of the encoder can be played. Also moved some small floor0-related arrays to IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8069 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 13:39:57 +00:00
Dave Chapman
18dff12614 iPod: Work around a problem with one Tremor function not being happy in IRAM (relocation truncated to fit linker error)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7843 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:52:57 +00:00
Linus Nielsen Feltzing
dc9e201671 Support for a colon-separated path in APPEXTRA
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Thom Johansen
292e4e90d7 Introduced usage of IBSS_ATTR and ICONST_ATTR in codec libraries.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7660 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 11:39:01 +00:00
Magnus Holmgren
37011258d6 iriver: more codec library cleanup: remove codec_alloca and a some extraneous defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7637 a1c6a512-1295-4272-9138-f99709370657
2005-10-17 18:46:46 +00:00
Magnus Holmgren
f273f354eb iRiver/Vorbis: And don't specify -O2 twice...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7616 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 21:41:37 +00:00
Magnus Holmgren
07e375c369 iRiver/Vorbis: Actually use the rule in the makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7615 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 20:54:30 +00:00
Thom Johansen
1b79209ea7 Avoid EMAC stall in MULT31_SHIFT15.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7530 a1c6a512-1295-4272-9138-f99709370657
2005-09-21 23:09:19 +00:00
Thom Johansen
735208a541 Adapted codecs and DSP system to having MACSR saved in thread context.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7485 a1c6a512-1295-4272-9138-f99709370657
2005-09-07 00:24:27 +00:00
Miika Pekkarinen
6b807b2d24 Fixed MAC initialization problem with mpa codec and removed workaround
for that bug.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7260 a1c6a512-1295-4272-9138-f99709370657
2005-07-30 13:46:38 +00:00
Magnus Holmgren
7e33f16aee Tweaked IRAM usage in the Vorbis codec. Speeds up decoding by about 10% on a couple of test files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7249 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 12:04:41 +00:00
Magnus Holmgren
4a53787992 ReplayGain support for Ogg Vorbis files (also called VorbisGain) added.
Note that there is a small delay from leaving a setting until the change
can be heard (due to audio data buffering).


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7234 a1c6a512-1295-4272-9138-f99709370657
2005-07-24 15:32:28 +00:00
Christian Gmeiner
6753fb5138 oops... should compile without warnings now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7187 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 13:09:05 +00:00
Christian Gmeiner
c6ff1f5eb5 Added CPU_COLDFIRE define - one step closer to iAudio-port
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7186 a1c6a512-1295-4272-9138-f99709370657
2005-07-18 12:40:29 +00:00
Ryan Jackson
a20f127d43 Added another call to mcf5249_init_mac in ov_pcm_seek, just in case. Fixed tag corruption bug and allowed non-numeric characters in year and tracknum tags. Added support for composer tag
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7168 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 23:07:51 +00:00
Ryan Jackson
b5b8f05aed Removed calls to mcf5249_init_mac() from asm_mcf5249.h, added call for it to ov_read().
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7158 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 17:08:14 +00:00
Ryan Jackson
f580941b5a Changed assembly optimizations to re-init the MAC each time they're called. Fixes resampling problems with Ogg Vorbis.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7149 a1c6a512-1295-4272-9138-f99709370657
2005-07-15 06:24:22 +00:00
Daniel Stenberg
2d8fd9cf8a I find it weird that there is a private copy of this file here, but I'm
not fixing this now. I'm just making sure that this is in perfect sync
with the firmware one by simply #including it here!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7119 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 11:04:57 +00:00
Daniel Stenberg
28bd327559 Fix possible use of uninitialized variable
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7052 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 08:23:21 +00:00
Pedro Vasconcelos
1b3622d589 Use asm optimised memset() in vorbis_apply_window.
Slight speed improvement. "Toughest" Q10 encodings play without skipping now.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6792 a1c6a512-1295-4272-9138-f99709370657
2005-06-21 20:14:18 +00:00
Thom Johansen
ca19564eec Enabled minor Tremor opt.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6688 a1c6a512-1295-4272-9138-f99709370657
2005-06-12 12:53:10 +00:00
Pedro Vasconcelos
6b9350b4d3 A little improvement on Vorbis block synthesis.
Added myself to the list of contributors.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6664 a1c6a512-1295-4272-9138-f99709370657
2005-06-10 22:34:57 +00:00
Thom Johansen
f6d3cebdfa Kill warning. I suck.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6612 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:49:09 +00:00
Thom Johansen
9415629f4c Oops.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6610 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:43:20 +00:00
Thom Johansen
668205f427 We clear our accumulators after we're done with them on Coldfire. No need to clear them on init.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6609 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:41:07 +00:00
Pedro Vasconcelos
0a3f8e0924 Vorbis opts: keep floor1 lookup table in IRAM.
Slightly faster 16-bit clipping function.
Misc: changed tabs for spaces to conform with Rockbox coding standards.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6608 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:09:30 +00:00
Pedro Vasconcelos
0f10e898f0 Vorbis optimizations: allocation of PCM buffers in IRAM, avoiding copying.
Slight code improvements to the MDCT functions.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6590 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 23:01:51 +00:00
Pedro Vasconcelos
024db0a766 Basic optimizations of the Vorbis decoder for the ihp-1x0.
Capable of real-time decoding with cpu freq at 120mhz.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6527 a1c6a512-1295-4272-9138-f99709370657
2005-05-27 09:14:00 +00:00
Daniel Stenberg
b8a23f9e49 Fixed makefiles for autoconf.g include.
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Daniel Stenberg
8ebff817a2 Use the new generic SRC build "macro" in tools/makesrc.inc to process the
SOURCES file. Hopefully this now works better for Mac OS X people.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6152 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 15:40:03 +00:00
Linus Nielsen Feltzing
f513da28c9 Use EXTRA_DEFINES for the SOURCES parsing in the codec makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6114 a1c6a512-1295-4272-9138-f99709370657
2005-03-03 14:00:24 +00:00
Linus Nielsen Feltzing
3e1d8e4a5d Handle .S files in the codec Makefiles
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6101 a1c6a512-1295-4272-9138-f99709370657
2005-03-02 11:59:40 +00:00
Linus Nielsen Feltzing
f0cfd275b5 Correct dependencies for codec builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6089 a1c6a512-1295-4272-9138-f99709370657
2005-03-01 13:35:15 +00:00
Jens Arnold
b363d65625 Get malloc() and friends out of the way for the cygwin linker (and maybe others), to make plugins work properly in the simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6086 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 20:55:31 +00:00
Jens Arnold
80b786afd0 Renamed config.h to config-tremor.h to avoid name clash with rockbox' config.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6075 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 00:49:37 +00:00
Jens Arnold
52356d88b4 Show compiled source files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6067 a1c6a512-1295-4272-9138-f99709370657
2005-02-26 06:31:45 +00:00
Marcoen Hirschberg
191b8ba402 Compile Tremor with _LOW_ACCURACY_ to increase speed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6048 a1c6a512-1295-4272-9138-f99709370657
2005-02-24 00:48:34 +00:00
Dave Chapman
52e43cb6e1 Cosmetic changes to remove compiler warnings and compile cleanly under Rockbox
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6015 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 11:58:42 +00:00
Marcoen Hirschberg
48ff82e46b tremor.a -> libTremor.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5998 a1c6a512-1295-4272-9138-f99709370657
2005-02-17 09:24:59 +00:00
Marcoen Hirschberg
101f0f6a69 Tremor does not encode
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5997 a1c6a512-1295-4272-9138-f99709370657
2005-02-17 09:23:47 +00:00