Andree Buschmann
c23f576a1c
Remove a floating point calculation from ay codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30268 a1c6a512-1295-4272-9138-f99709370657
2011-08-08 18:06:03 +00:00
Andree Buschmann
d14c96dc9a
Remove 'set but not used' warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30267 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 21:19:27 +00:00
Andree Buschmann
b8ae97fe58
Fix yellow and red. Disable NSF, VGM, SGC and KSS formats for low memory targets for now.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30265 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 20:28:47 +00:00
Andree Buschmann
acb0917556
Submit initial patch from FS#12176. Adds support for several new game music formats (AY, GBS, HES, KSS, SGC, VGM and VGZ) and replaces the current NSF and NSFE with a new implementation based on a port of the Game Music Emu library 'GME'. This first submit does not cover the full functionality provided by the author's original patch: Coleco-SGV is not supported, some GME-specific m3u-support has been removed and IRAM is not used yet. Further changes are very likely to follow this submit. Thanks to Mauricio Garrido.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30264 a1c6a512-1295-4272-9138-f99709370657
2011-08-07 20:01:04 +00:00
Andree Buschmann
7155be6ca4
Sync rockbox to r475 of musepack's svn.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30240 a1c6a512-1295-4272-9138-f99709370657
2011-08-02 19:08:29 +00:00
Michael Giacomelli
55c77e229e
Fix a bug introduced in r27463 that caused the line spectral pair look up tables to overwrite the noise coding VLC tables. Should fix decoding of files that have both noise coding and line spectral pairs, which are usually very low bitrate WMAs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30220 a1c6a512-1295-4272-9138-f99709370657
2011-07-28 14:12:33 +00:00
Andree Buschmann
10a1e8a609
Fix musepack resume for resume positions > 7:30m.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30202 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 20:56:53 +00:00
Magnus Holmgren
6f392693b8
AAC: Another gapless fix, this one for the end of the file. The real size of the last frame was lost in r29727, as indicated by Yusaku Inui in FS#12185, so bring it back. Now the decoded length of test1_nero.m4a (in FS#12185) only differs by one sample compared to Foobar2000 (Rockbox has one more leading sample, for some reason). Also moved a few lines to a better place.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30149 a1c6a512-1295-4272-9138-f99709370657
2011-07-17 13:00:53 +00:00
Andree Buschmann
f27028dbb6
Do not use double/float calculations but predefined tables in mod codec. Reduces codesize by several kilobytes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30107 a1c6a512-1295-4272-9138-f99709370657
2011-06-30 21:53:02 +00:00
Andree Buschmann
96af117e21
Submit FS#12142 by Sean Bartell with minor chnages by myself. Removes unused code and irrelevant files from libmad.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30065 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 14:48:25 +00:00
Michael Sevakis
fcae888e81
SPC Codec: Restore correct FIR buffer alignment when an address mask is used. It must be FIR_BUF_ALIGN. Fix Coldfire assembly constraint where an input parameter was also being written.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30063 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 10:52:43 +00:00
Andree Buschmann
4b0e09c1ac
Submit FS#12164 by Sean Bartell with minor changes by myself. Fixes possible decoding corruption of RealAudio files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30060 a1c6a512-1295-4272-9138-f99709370657
2011-06-24 08:51:22 +00:00
Magnus Holmgren
6c8ef19dfd
FS#12161: Correct the gapless processing for AAC, so that it doesn't remove too much from the start of a track. Also simplify the logic a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30012 a1c6a512-1295-4272-9138-f99709370657
2011-06-18 15:11:30 +00:00
Nils Wallménius
f2e7c05c22
libtremor: comment out unused struct member.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29987 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 06:46:44 +00:00
Nils Wallménius
d5ceb4ce2b
codeclib: make selective inclusion of macros and inline functions from the codeclib_misc.h header easier and clean out some old libtremor stuff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29985 a1c6a512-1295-4272-9138-f99709370657
2011-06-08 10:35:27 +00:00
Nils Wallménius
331b23d15b
FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 11:56:23 +00:00
Nils Wallménius
e62b9a9aae
libtremor: Implement a memory configuration for targets that don't use separate iram for codecs.
...
Such targets would previously default to using the configuration for targets with small iram which uses an extra memcpy per block.
This saves 2MHz decoding a 128kbps vorbis file on the Gigabeat S and saves a bit of codec buffer.
Patch from FS#11268, also replaces patch from FS#12147.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29976 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 13:27:12 +00:00
Nils Wallménius
684b74147f
Safe part of FS#11268, saving some codec buffer space for targets that don't use separate iram.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29975 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 20:18:31 +00:00
Nils Wallménius
965113ed50
FS#12146: Fix libcook bugs introduced in r22055 by Sean Bartell.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29973 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 13:12:51 +00:00
Andree Buschmann
9f65f2b6ad
Accept FS#12143 (NSF codec clean up): Declare local stuff static, comment unused variables and functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29972 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 13:05:09 +00:00
Nils Wallménius
03c12a7906
Delete old unused macro.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29962 a1c6a512-1295-4272-9138-f99709370657
2011-06-05 09:27:58 +00:00
Nils Wallménius
73d0e14f44
Disable some unused code in speex to save binsize.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29949 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 20:52:54 +00:00
Nils Wallménius
d860c87800
Build the voice codec speex with core -O switch to save size on targets using -Os.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29948 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 16:11:22 +00:00
Nils Wallménius
927361b4ae
Fix define name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29947 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 15:25:50 +00:00
Nils Wallménius
4909e09267
FS#12141 by Sean Bartell
...
Some of these were found with http://www.samba.org/junkcode/#findstatic . Changes of note:
* The old MDCT has been removed.
* Makefile.test files that create test programs for libatrac, libcook, and libffmpegFLAC have been removed, as they don't work. My project will have a replacement that works with all codecs.
* I've tried not to remove anything useful. CLIP_TO_15 was removed from libtremor because there's another copy (also commented) in codeclib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29945 a1c6a512-1295-4272-9138-f99709370657
2011-06-02 14:59:15 +00:00
Nils Wallménius
7c6056b352
FS#12140 by Sean Bartell, Make various codec stuff static.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29942 a1c6a512-1295-4272-9138-f99709370657
2011-06-01 10:28:26 +00:00
Michael Giacomelli
0497adffcf
Commit FS#12130 - Fix ADX decoding on 64-bit systems by Sean Bartell. Fixes an incorrect assumption in the ADX decoder that sizeof(int) == 32 when performing fixed point math. Update comments in the fixed point library to correct this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29927 a1c6a512-1295-4272-9138-f99709370657
2011-05-26 21:22:29 +00:00
Andree Buschmann
8767ba9a85
Remove residual float operations from sid codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29919 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 18:28:08 +00:00
Andree Buschmann
3071b2bde1
Fix yellow.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29917 a1c6a512-1295-4272-9138-f99709370657
2011-05-23 06:19:30 +00:00
Andree Buschmann
de1529c4eb
Save a large static buffer in sid codec.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29915 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 21:00:32 +00:00
Andree Buschmann
d038f89f3f
S5L870x is fast enough to play spc with gaussian interpolation and echo processing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29914 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 20:01:07 +00:00
Andree Buschmann
6117ffdde5
Submit FS#12115: Use more IRAM in cook codec for several targets. Speeds up PP5022 and MCF5250 by ~3% and S5L87.0x by ~4%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29913 a1c6a512-1295-4272-9138-f99709370657
2011-05-22 19:03:58 +00:00
Andree Buschmann
609c526d56
Use more IRAM on S5L870x to speed up wmapro by ~2%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29906 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 23:28:09 +00:00
Andree Buschmann
99494140da
Use more IRAM on S5L870x to speed up wma by ~3%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29905 a1c6a512-1295-4272-9138-f99709370657
2011-05-20 22:53:22 +00:00
Andree Buschmann
7b054efa0b
FS#12117: Use more IRAM for atrac3. Speeds up decoding from 1-2% (PP5022, PP5024, S5L870x) to 11% (MCF5250).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29892 a1c6a512-1295-4272-9138-f99709370657
2011-05-16 21:47:13 +00:00
Andree Buschmann
22c9b6ef8e
Use more IRAM for mpc on S5L870x. Speed up decoding by ~2%.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29891 a1c6a512-1295-4272-9138-f99709370657
2011-05-16 21:31:59 +00:00
Andree Buschmann
46507d29b4
FS#12113: Optimize IRAM configuration for SPC. Performance increases by 5-6% on PP5022, PP5024 and S5L870x. No change of performance on Coldfire, PP5002 and PP5020.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29887 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 16:08:50 +00:00
Andree Buschmann
41723bc14b
FS#12113: Optimize IRAM configuration for NES Sound Format. Performance is stable on Coldfire and shows performance gains from about 50-100% (PP5020, S5L870x, PP5022) up to 168% (PP5002).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29886 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 15:00:41 +00:00
Andree Buschmann
bf46e634b4
FS#12113: Optimize IRAM configuration for Atari SAP format. Performance gains range from 5% (PP5020), over 13-16% (PP5002, PP5022, PP5024, S5L870x) to 115% (MCF5249, MCF5250).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29883 a1c6a512-1295-4272-9138-f99709370657
2011-05-15 13:40:02 +00:00
Andree Buschmann
fffc6c4a80
Trapped into ifdef-hell. Configure libfaad's IRAM/DRAM usage like it is meant to be.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29864 a1c6a512-1295-4272-9138-f99709370657
2011-05-12 22:24:09 +00:00
Andree Buschmann
281666a066
The last submit had one define too much. Nevertheless fix the IRAM configuration for static allocation method.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29863 a1c6a512-1295-4272-9138-f99709370657
2011-05-12 18:06:03 +00:00
Andree Buschmann
2263cf35ab
libfaad: AAC including HE-profile needs ~470 KB for playback (measured on ARM). Therefor it does not make sense to enable HE on devices with CODEC_SIZE < 512 KB. This will allow to load and play larger AAC-LC files on such devices.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29862 a1c6a512-1295-4272-9138-f99709370657
2011-05-12 17:41:45 +00:00
Andree Buschmann
72fba7a9d7
Make libfaad compilable again without PS_DEC.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29861 a1c6a512-1295-4272-9138-f99709370657
2011-05-12 17:35:06 +00:00
Andree Buschmann
0e7c04e57d
libfaad: Move PS related variables to sbr_info struct. This allows dynamic allocation including error handling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29857 a1c6a512-1295-4272-9138-f99709370657
2011-05-11 18:52:05 +00:00
Andree Buschmann
03e23d1113
Implement error handling for libfaad's memory allocation. Do not allocate PS related types dynamically anymore to minimize code changes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29854 a1c6a512-1295-4272-9138-f99709370657
2011-05-10 19:04:24 +00:00
Andree Buschmann
78b0f94c76
Proper initialization of static variables in codeclib.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29853 a1c6a512-1295-4272-9138-f99709370657
2011-05-10 18:20:56 +00:00
Andree Buschmann
b452fa061d
Use CACHEALIGN_SIZE in codec_malloc for optimal alignment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29838 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 19:50:39 +00:00
Andree Buschmann
f79769c541
Minor loop optimization in libfaad's is/ms decoding.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29837 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 19:36:08 +00:00
Andree Buschmann
e720724b95
Use MEM_ALIGN_ATTR and CACHEALIGN_SIZE in oggmalloc to ensure optimal alignment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29833 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 16:41:23 +00:00
Andree Buschmann
897fd92827
codeclib: Declare several variables static and remove unused variables.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29831 a1c6a512-1295-4272-9138-f99709370657
2011-05-08 10:34:05 +00:00