Commit graph

43 commits

Author SHA1 Message Date
Thom Johansen
f004315105 Patch #5219 by Antonius Hellmann. Several optimisations to libmad. Both Coldfire and ARM targets should benefit much from this.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9821 a1c6a512-1295-4272-9138-f99709370657
2006-04-27 19:52:09 +00:00
Thom Johansen
bd6b62bc84 OK, GCC obviously has a hard time with this. Let's just pretend GCC 4.1 doesn't exist for now and revert last change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9632 a1c6a512-1295-4272-9138-f99709370657
2006-04-12 00:14:39 +00:00
Thom Johansen
e99dafa2ae Fix a couple of warnings for GCC 4.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9630 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:33:41 +00:00
Thom Johansen
81cb35d42d Various optimisations for libmad by
Antonius HellmanO5Cn. Details at
http://www.rockbox.org/tracker/task/5078


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9629 a1c6a512-1295-4272-9138-f99709370657
2006-04-11 23:29:25 +00:00
Thom Johansen
d6877bc9ae Make libmad use inttypes.h types and remove the old ad-hoc typedefs.
Makes mpa.c work somewhat better in 64 bit sims, thought there's still
another crash issue.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9199 a1c6a512-1295-4272-9138-f99709370657
2006-03-23 00:52:12 +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
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
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
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
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
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
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
58384f03fb iRiver: Make it possible to build Rockbox using GCC 4.0.1.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7569 a1c6a512-1295-4272-9138-f99709370657
2005-09-28 17:36:42 +00:00
Thom Johansen
14f2e45397 Replaced standard libmad accumulator sequence with EMAC optimised one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7514 a1c6a512-1295-4272-9138-f99709370657
2005-09-13 14:12:52 +00:00
Thom Johansen
1996dca15a Put a couple of important layer 1/2 arrays in IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7504 a1c6a512-1295-4272-9138-f99709370657
2005-09-10 10:14:35 +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
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
Thom Johansen
8771bf230a Typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6639 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 14:27:27 +00:00
Thom Johansen
cc518c5f32 Full precision synth_full and dct32. Replaced all multiplications with proper 64 bit EMAC multiplications, which yields improved sound.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6638 a1c6a512-1295-4272-9138-f99709370657
2005-06-09 14:13:09 +00:00
Thom Johansen
60d9d4b2ab Added -O2 to libmad GCC flags. Gives a nice boost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6528 a1c6a512-1295-4272-9138-f99709370657
2005-05-27 11:06:30 +00:00
Thom Johansen
ce5119cc6c Aligns in the middle of code is unnecessary.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6524 a1c6a512-1295-4272-9138-f99709370657
2005-05-25 13:32:53 +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
Thom Johansen
b0b013ea0b Nicer imdct_s, butt-ugly imdct36 that urgently needs replacing. Moved some data to iram.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6280 a1c6a512-1295-4272-9138-f99709370657
2005-04-13 13:15:58 +00:00
Jean-Philippe Bernardy
6c3a875ec7 note to self: never commit a fix in a hurry.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6186 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 22:08:42 +00:00
Jean-Philippe Bernardy
a9eda6060a oops, 1I^2 = 1...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6184 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 21:54:26 +00:00
Jens Arnold
657fdf26f2 Compile the simulators without special code & data sections. Fixes intermittent hangs/ crashes of mpa2wav.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6181 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 20:02:08 +00:00
Jean-Philippe Bernardy
7be04578ec oops, silent compilation back in
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6174 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 14:55:13 +00:00
Jean-Philippe Bernardy
a6024faa0d GMini: libmad compiled
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6173 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 14:39:52 +00:00
Thom Johansen
e78186f4cf Added asm optimized short block IMDCT and windowing.
Removed a warning in synth.c.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6159 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 22:13:44 +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
Thom Johansen
ee811a3443 Inserted optimized synth_full and put some vital data in IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6131 a1c6a512-1295-4272-9138-f99709370657
2005-03-04 10:37:15 +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
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
Dave Chapman
4601ce6bff Start to add libmad to the build system
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5962 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 00:13:36 +00:00
Dave Chapman
1ec83e2069 Very minor changes to remove compiler warnings (tested with gcc-3.4.2 under Linux)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5958 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 20:23:10 +00:00
Dave Chapman
f59bfba605 Comment out calls to sprintf in mad_timer_string() - sprintf doesn't exist in Rockbox and we probably won't use mad_time_string() anyway.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5957 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 20:21:40 +00:00
Dave Chapman
98c4f65f3a Initial check-in of unmodified libmad code (libmad-0.15.1b)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5955 a1c6a512-1295-4272-9138-f99709370657
2005-02-15 18:29:42 +00:00