Thom Johansen
831cfb8e44
Add ASM optimised subband filtering loop for ARM targets. Restructure
...
other loops a little bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8754 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:40:29 +00:00
Thom Johansen
d1fbd12189
Common internal sample format for AC3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8684 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 19:51:53 +00:00
Thom Johansen
37a165d796
Convert to use common internal sample format.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8681 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 19:26:18 +00:00
Thom Johansen
153f906d74
Start converting codecs to use internal sample format (28 bits + sign,
...
or s3.28 fixed point).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8680 a1c6a512-1295-4272-9138-f99709370657
2006-02-13 19:24:36 +00:00
Brandon Low
f1c4152ac3
Let's not leave the codecs empty
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8640 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 07:28:58 +00:00
Brandon Low
c8f15f0857
Fix simulator builds (not positive sims are parallel make compliant still)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8639 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 05:28:17 +00:00
Brandon Low
4872825ed2
Various build sytem cleanups
...
* Parallel build appears to work properly
* Use $(SILENT) instead of @ about everywhere
* Less calls to bash by using make builtin substitutions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8638 a1c6a512-1295-4272-9138-f99709370657
2006-02-09 04:27:57 +00:00
Dave Chapman
8e46ab85a9
Patch #1426489 - Shorten codec optimisations from Mark Arigo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8615 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 22:16:35 +00:00
Jens Arnold
e6e8aa9519
Added memmove() to codec API & plugin API, and changed codeclib and plugin libs to use it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:04:01 +00:00
Dave Bryant
ff40af42ba
Streamlined WavPack decoder by utilizing dsp functionality where it was
...
applicable (like mono conversion and clipping) and eliminating the
conversion to 16-bit samples (everything is now returned as 28-bit).
This reduced boost ratio (on iRiver) by about 7% on those tracks that
require it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8598 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 07:40:35 +00:00
Dave Chapman
1a03c37947
A better count_leading_zeros() function, courtesy of Jens Arnold
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8577 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 09:12:57 +00:00
Tomasz Malesinski
bcd22f000a
Undefined DEBUG, so that it compiles on DEBUG builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8553 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:21:36 +00:00
Dave Chapman
347992e9d9
Optimised C version of count_leading_zeros() taken from alac-0.1.1. This makes ALAC very close to realtime on the ipod (just the very occasional skip during disk reading - it is realtime when the disk is sleeping).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8545 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 08:27:53 +00:00
Linus Nielsen Feltzing
f5f000fe03
Minor code policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8525 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 17:58:10 +00:00
Dave Chapman
fbd8e5d29c
Patch #1421483 - AIFF codec by Jvo Studer
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8524 a1c6a512-1295-4272-9138-f99709370657
2006-02-01 16:42:02 +00:00
Thom Johansen
8ac932fcb4
Fix warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8490 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 01:42:23 +00:00
Thom Johansen
b978acc59d
Fix mpc.c to use new mpc_bool_t type to remove some warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8489 a1c6a512-1295-4272-9138-f99709370657
2006-01-30 01:04:43 +00:00
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