Thom Johansen
2b483958f9
Synced libmpcdec to musepack.net SVN.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8488 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 01:00:40 +00:00
Thom Johansen
a371ec3e77
Make Musepack work on little endian devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8485 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 17:06:20 +00:00
Dave Chapman
b0302f0cbb
Prevent unaligned memory accesses whilst reading seektable - fixes FLAC playback on iPod
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8477 a1c6a512-1295-4272-9138-f99709370657
2006-01-29 01:31:28 +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
Miika Pekkarinen
6d6ca6b6a5
Muting trick to prevent tiny pops and glitchless mp3 seeking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8416 a1c6a512-1295-4272-9138-f99709370657
2006-01-22 10:25:07 +00:00
Miika Pekkarinen
0e159f13cf
Fixed a few iriver playback quirks and issues with previous fixes.
...
Also fixed "TST.." bug when seeking and possible an enhancement to mp3
gapless playback also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8402 a1c6a512-1295-4272-9138-f99709370657
2006-01-20 22:02:44 +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
Brandon Low
1060e447f8
Part of the profiling patch to use a consistent return path in all codecs to facilitate 'on exit' functionality
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8374 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:22:03 +00:00
Jens Arnold
b8749fdf21
New codec loader, using the same mechanism as the new plugin loader. API version numbering restarted for the new system. Uses the target ID from configure, so don't change that too often. * Fixed sim_plugin_load_ram() to truncate the tempfile. * Reduced plugin buffer size to 512KB for iriver and iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8362 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 00:05:14 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Daniel Stenberg
0e419987e4
SDL simulator brought by Nathan Hand and Nick Lanham. This is added as a third
...
simulator with the hope that once it works fine, we can remove the other two
and only have one unified simulator.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8312 a1c6a512-1295-4272-9138-f99709370657
2006-01-09 11:22:36 +00:00
Jens Arnold
07c4254135
Don't include the .bss and .ibss sections in the binary image for codecs and plugins. Saves quite some disk space (and buffer space in case of codec changes during playback).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8308 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 22:50:14 +00:00
Dave Bryant
c78b019944
I figured out what was *really* causing the MPC track-change noise, so I
...
backed out Thom's change and made the appropriate change. Note that this
should not fix the track change *pop* because there still seems to be a
problem decoding the first and last several hundred samples of MPC files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8306 a1c6a512-1295-4272-9138-f99709370657
2006-01-08 08:38:18 +00:00
Thom Johansen
dad0011e31
Quick fix for annoying musepack noise on track change bug. Proper fix coming Some Day Soon Now (tm). Thanks go out to David Bryant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8305 a1c6a512-1295-4272-9138-f99709370657
2006-01-07 23:20:49 +00:00
Thom Johansen
557afd5f1e
Fix generic filtering routine to support non-interleaved audio as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8304 a1c6a512-1295-4272-9138-f99709370657
2006-01-07 23:16:38 +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
Dave Chapman
661e6bcb46
Add forgetten libraries to the codec "clean" rule
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8288 a1c6a512-1295-4272-9138-f99709370657
2005-12-25 20:13:27 +00:00
Magnus Holmgren
0dac8b77b8
iRiver: improved handling of bad mpeg files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8283 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 21:53:21 +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
Dave Bryant
278f2b3d5a
Explicitly declare char types to be signed when they must be
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8263 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 03:12:20 +00:00
Dave Chapman
d22938286e
Enable assembler optimisations for ARM targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8247 a1c6a512-1295-4272-9138-f99709370657
2005-12-16 10:30:22 +00:00
Magnus Holmgren
544e5ae157
Make use of the generated dependency file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8155 a1c6a512-1295-4272-9138-f99709370657
2005-12-05 19:33:02 +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
9758911be0
iRiver: re-add an end of file check, to see if it helps the reported problems with gapless MP3 playback.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8119 a1c6a512-1295-4272-9138-f99709370657
2005-12-01 21:09:09 +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
Miika Pekkarinen
9c0f1a9e39
More stable playback with reduced stuttering when skipping tracks.
...
Removed CODEC_SET_FILEBUF_LIMIT setting; now playback.c determines how
to buffer the files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7970 a1c6a512-1295-4272-9138-f99709370657
2005-11-18 20:21:13 +00:00
Thom Johansen
d2546c3dc6
ICONST_ATTR police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7893 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 14:19:39 +00:00
Thom Johansen
c38ddac43a
Speed up layer 1 decoding considerably.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7892 a1c6a512-1295-4272-9138-f99709370657
2005-11-15 13:51:14 +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
Dave Chapman
c01775ff41
Shorten updates from Mark Arigo: calculate average bitrate, skip id3v2 tags and remove debugf definition from codec
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7840 a1c6a512-1295-4272-9138-f99709370657
2005-11-13 11:04:02 +00:00
Dave Chapman
afbd4386ff
iPod: Implement plugin.lds and enable codec building for all SWCODEC platforms, not just H100 series
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7829 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 16:01:15 +00:00
Dave Chapman
f7b2e840a7
"signed char" police
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7823 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 15:06:46 +00:00
Dave Chapman
663fba1399
Oops
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7817 a1c6a512-1295-4272-9138-f99709370657
2005-11-12 02:07:19 +00:00
Dave Chapman
33df605c93
Move ff_log2_tab out of header file into its own .c file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7816 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 23:32:29 +00:00
Dave Chapman
2bf9be1c02
Patch #1352575 - Shorten codec from the ffmpeg project. Rockbox implementation by Mark Arigo.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7814 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 19:45:36 +00:00
Thom Johansen
4d9be96a81
Changed output format of libmpcdec to non-interleaved stereo for a slight speed boost. Also stopped wasting 10kb of IRAM in the output sample buffer.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7769 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 23:05:49 +00:00
Thom Johansen
c8193b8da5
The seek_time member of the codec API needs to be decremented before use as a seeking time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7768 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 19:18:04 +00:00
Thom Johansen
741012004b
Disabled Musepack seeking, since it's so slow that most users conclude the codec has crashed. Left in original seek code for those who're aware of the issue and want seek support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7767 a1c6a512-1295-4272-9138-f99709370657
2005-11-06 19:12:27 +00:00
Thom Johansen
97a21a3b36
Unrolled loops up to order 10 plus slight optimisation of default case.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7759 a1c6a512-1295-4272-9138-f99709370657
2005-11-05 17:54:37 +00:00
Thom Johansen
d5eefe8bc7
Fixed the halved volume bug, remove ad-hoc metadata loading and add ReplayGain support.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7753 a1c6a512-1295-4272-9138-f99709370657
2005-11-04 21:35:08 +00:00
Dave Chapman
4b03c14a3e
Add seekpoint parsing and dummy ICODE_ATTR macro to standalone FLAC test program
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7742 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 18:48:23 +00:00
Dave Chapman
439ba9bdbb
Move code into IRAM and explicitly inline some functions (gcc was inlining them anyway, but this way is better)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7741 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 18:14:37 +00:00
Dave Chapman
6f7f921ebe
Move all code into IRAM
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7740 a1c6a512-1295-4272-9138-f99709370657
2005-11-03 15:32:40 +00:00
Thom Johansen
0263ece7f8
Use direct non-interleaved full precision output data instead of converting to 16 bit interleaved data.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7734 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:43:52 +00:00
Thom Johansen
3661215134
Better place for EMAC init.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7733 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:23:27 +00:00
Thom Johansen
a8b9fd1cf8
Need to set sample depth before clip limits to avoid having clip limits overridden.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7732 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:15:25 +00:00
Thom Johansen
6b8bd6bc1a
Support large delay fields in LAME header, plus some cleanups.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7731 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 19:02:25 +00:00
Dave Chapman
057cc06c68
Enable replaygain for the new FLAC decoder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7729 a1c6a512-1295-4272-9138-f99709370657
2005-11-02 17:26:47 +00:00