Nils Wallménius
b086458e4e
FS#12231
...
Centralize the selection of codec compilation flags to codec.make
to avoid having to duplicate the per cpu selection logic and the
build rule in the individual codec lib make files and make tweaking
easier.
The two special cases, libmad and libspeex were left alone.
I plan to introduce a var for arm generation so that appropriate flags
can be selected per generation as benchmarking results have shown that
different arm arches might have different optimal flags.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30330 a1c6a512-1295-4272-9138-f99709370657
2011-08-18 16:33:41 +00:00
Nils Wallménius
c45e1254c6
FS#11454 Tuning of codec compiler options
...
Tested with h300 and sansa c200v1
h300 speedups:
a52: 2%
cook: 9-17%
aac: 0.5%
vorbis: 0.5%
wma: 6-12%
c200v1 speedups:
alac: 1.5%
wma 3-4%
wavpack 2%
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27486 a1c6a512-1295-4272-9138-f99709370657
2010-07-18 19:05:53 +00:00
Andree Buschmann
3f5f3524d4
Change liba52 and libmad to the original 8-spaced tabbing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24863 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 21:02:57 +00:00
Andree Buschmann
398b37124e
Remove all tabs within codec path.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24862 a1c6a512-1295-4272-9138-f99709370657
2010-02-22 19:44:05 +00:00
Dave Hooper
42774d3128
Merge from branches/mdctexp - faster ifft+imdct in codec lib
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24712 a1c6a512-1295-4272-9138-f99709370657
2010-02-17 00:49:53 +00:00
Jens Arnold
5f3fbd1bb9
Actually qualify the tables put into .irodata in r22849 as 'const'. Also mark fftorder[] as 'const'.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22860 a1c6a512-1295-4272-9138-f99709370657
2009-09-30 19:36:06 +00:00
Michael Giacomelli
065e8e082a
Change IDATA to ICONST for lookup tables since they're actually constant.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22849 a1c6a512-1295-4272-9138-f99709370657
2009-09-29 01:34:11 +00:00
Jens Arnold
6421f94c0d
Silence warning from 'ar' if the archive had to be created.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20151 a1c6a512-1295-4272-9138-f99709370657
2009-03-01 09:04:15 +00:00
Daniel Stenberg
2e6d604bb6
Stop hiding errors by redirecting stderr to /dev/null. If we really need to do re-introduce somewhere we should rather make it dependent on the V variable so that make V=1 would still show the error and only "normal" builds would hide it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20090 a1c6a512-1295-4272-9138-f99709370657
2009-02-23 08:45:16 +00:00
Björn Stenberg
a091d20ba0
Added 'keywords' and 'eol-style' properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19218 a1c6a512-1295-4272-9138-f99709370657
2008-11-25 19:54:23 +00:00
Björn Stenberg
303b455ceb
Remove .a files before running ar, to avoid problems with renamed files remaining in the library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19160 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 16:49:55 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Michael Giacomelli
9bc16e491d
Add simple ASMed fixed point multiply functions for ARM to AC3. Gives a 38% speed up on my one sample with a Sansa.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18570 a1c6a512-1295-4272-9138-f99709370657
2008-09-23 00:51:22 +00:00
Nicolas Pennequin
357ffb3c46
Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Thom Johansen
59d6b08d9c
Make AC3 codec use Rockbox' native bitswap routines.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14886 a1c6a512-1295-4272-9138-f99709370657
2007-09-28 15:42:09 +00:00
Dave Chapman
f02cba8096
Code cleaning - remove some unnecessary defined(SIMULATOR) checks
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13369 a1c6a512-1295-4272-9138-f99709370657
2007-05-10 13:16:08 +00:00
Magnus Holmgren
02da4e6130
Update several codec Makefiles so that the codec libs build again on Coldfire targets, after the recent move of system-related things to the target tree. (Note to admins: make errors aren't detected on the CVS build page. :))
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11401 a1c6a512-1295-4272-9138-f99709370657
2006-10-30 18:14:12 +00:00
Jens Arnold
a796260a6b
Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Jens Arnold
d1ce4e779e
Consistent style of 'make' messages. Always use ranlib after ar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +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
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
65fe5f144d
Some more IBSS_ATTR changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7697 a1c6a512-1295-4272-9138-f99709370657
2005-10-31 13:00: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
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
5f12af28fb
Big performance improvement for liba52. A couple of small ASM opts, and lots IRAM usage.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6676 a1c6a512-1295-4272-9138-f99709370657
2005-06-11 14:45:48 +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
101b7e4c91
Cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6069 a1c6a512-1295-4272-9138-f99709370657
2005-02-26 10:31:38 +00:00
Jens Arnold
2ad0dec0b7
Renamed config.h to config-a52.h to avoid name clash with rockbox' config.h
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6068 a1c6a512-1295-4272-9138-f99709370657
2005-02-26 10:31:20 +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
3038abc827
A temporary solution to build liba52 on the simulators - assume little-endian for simulators, big-endian for targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6010 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 16:26:42 +00:00
Dave Chapman
9cba5b64dc
Trivial changes to avoid compiler warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5975 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 12:48:24 +00:00
Dave Chapman
562627c213
Correct typo - liba52 is in apps/codecs, not apps/plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5974 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 12:47:18 +00:00
Dave Chapman
5f73673eeb
IMDCT lookup tables are pre-generated in imdct_lookups.h and not calculated at run-time as part of the a52_init function - which is time-consuming and requires floating point and libm
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5972 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:16:34 +00:00
Dave Chapman
3bd167771d
Initial import of the unmodified version of liba52-0.7.5-cvs, checked out of the Sourceforge CVS repository today.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5970 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 11:02:11 +00:00