Dave Chapman
|
88e32c2fc6
|
Reorganise the wma_decode_superframe() function - split into a separate init and decode functions. Each call to the decode function now decodes a single frame (2048 samples) instead of an entire superframe (which typically contained about 7 or 8 frames and can in theory contain up to 16 frames). This allows us to replace the 256KB output buffer with a 8KB buffer, and also perform more yields in the main decoding loop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13833 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 17:24:00 +00:00 |
|
Dan Everton
|
07fabd1cd1
|
ICONST_ATTR most constant tables in Speex. Results in a 10% improvement on Coldfire (200% to 220% realtime). Almost certainly not the best use of IRAM, but it works now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13831 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 11:18:10 +00:00 |
|
Dave Chapman
|
85aa3a8d38
|
Code reorganisation - move the vlc functions back to common.c/common.h (where they originally were in the ffmpeg source). This code is still identical to the ffmpeg source.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13830 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 10:53:56 +00:00 |
|
Michael Giacomelli
|
4b1cf3ea44
|
Compute MDCT in place. Make that place within IRAM. Gives nice speed boost on ARM. Probably make a huge difference on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13828 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 02:48:32 +00:00 |
|
Michael Giacomelli
|
5a1999eacd
|
Move very commonly accessed array into IRAM. Should give a nice speedup on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13827 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 01:59:33 +00:00 |
|
Dave Chapman
|
0361fd5e50
|
wma_decode_end() doesn't exist any more - it was only used to deallocate memory.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13826 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 00:35:36 +00:00 |
|
Michael Giacomelli
|
899212858c
|
Code clean up.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13825 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-09 00:21:19 +00:00 |
|
Michael Giacomelli
|
9b176d88c8
|
Inline wma_window functions. No real performance improvement. Also, thanks to Benjamin Larsson for cleaning up some code I was simply to lazy to fix myself.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13823 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 22:03:56 +00:00 |
|
Michael Giacomelli
|
610d3b4cc5
|
Merge bit reverse tables together.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13822 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 21:52:49 +00:00 |
|
Nils Wallménius
|
3f8c075f24
|
ifdef out charging screen for targets that do not use it, + minor cleaning
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13820 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 15:32:56 +00:00 |
|
Jens Arnold
|
32eddb44be
|
Jewels: repair resuming of puzzle mode games.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13817 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 12:28:56 +00:00 |
|
Michael Giacomelli
|
cf872bd594
|
Remove test_codec.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13816 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 06:06:38 +00:00 |
|
Michael Giacomelli
|
93bc5ef1d6
|
Fix rare overflow when decoding MDCT coefficients. As a bonus, decoding is now slightly faster. Thanks to preglow for suggesting I test with a full scale normalized square wave.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13815 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 06:06:00 +00:00 |
|
Michael Giacomelli
|
030dce6f88
|
Fix previous
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13814 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 05:57:14 +00:00 |
|
Michael Giacomelli
|
f5114daa73
|
Move MDCT reconstruction window code over to new trig function. Improves accuracy significantly and slightly reduces code size. Codec SNR now appears to be limited by truncation to 16 bit. Comparison to MS decoder gives > 91 dB of agreement, and a lower RMS error verses the source wav then MS. Additionally, move one commonly accessed table into IRAM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13813 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-08 05:16:24 +00:00 |
|
Nils Wallménius
|
68d70b35d8
|
Turn on backlight when test_codec speed test is finished
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13812 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-07 13:53:29 +00:00 |
|
Jens Arnold
|
1cf80c3c95
|
Improved clock estimation in debug menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13811 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-07 05:59:35 +00:00 |
|
Steve Bavin
|
276ff3bceb
|
Copy current track path as a string, not a slightly-oversized block.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13808 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-06 22:34:18 +00:00 |
|
Steve Bavin
|
cbed7a2cd2
|
Fix problem where follow playlist picks the next track, not the current one (FS#7244). Hopefully also fixes the wrong filename being displayed on the WPS (FS#7248).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13805 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-06 20:49:40 +00:00 |
|
Michael Giacomelli
|
2f1da8d24a
|
Merged in first part of ffmpeg accuracy improvments. No change on my samples, but brings us closer to ffmpeg's source and clears the way for additional bug fixes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13804 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-06 02:44:58 +00:00 |
|
Michael Giacomelli
|
e0473717e5
|
Merged in ffmpeg combined MDCT reconstruction. Saves us a 16KB buffer, and gives a nice speed increase. Brings code much closer to ffmpeg's.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13803 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-06 01:50:24 +00:00 |
|
Peter D'Hoye
|
16b67e5812
|
Make sure statusbar is updated when time changes. Fixes FS #7388. Moved time variable around and added init of info struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13802 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-05 23:20:58 +00:00 |
|
Peter D'Hoye
|
96e8a1b08d
|
Increase filetypes array a bit more to give headroom...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13800 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-05 20:02:09 +00:00 |
|
Dominik Riebeling
|
b0ce5ad856
|
add reversi sources to tarball.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13796 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-05 16:28:15 +00:00 |
|
Michael Sevakis
|
6f36bf4483
|
Oops...that wasn't suppose to get left there. :P
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13793 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-05 07:16:28 +00:00 |
|
Michael Sevakis
|
60efd38bbe
|
Gigabeat: Use vectored IRQ mode interrupts and add a trap for unhandled ones.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13792 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-05 07:14:24 +00:00 |
|
Dave Chapman
|
21b90e3466
|
Ooops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13791 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 21:07:18 +00:00 |
|
Dave Chapman
|
b081b94d17
|
Add tag parsing to the ASF metadata parser. TODO: 1) Stress test to ensure it deals correctly with very long tags and the id3v2/v2 buffers becoming full. 2) Review the entire parser and attempt to reduce the binary size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13790 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 20:55:59 +00:00 |
|
Dave Chapman
|
9b96d66621
|
Yet more dead code removal
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13789 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 20:45:00 +00:00 |
|
Dave Chapman
|
ba3f4ed565
|
Remove some unused code
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13788 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 20:27:26 +00:00 |
|
Jens Arnold
|
e7cdd6cbc6
|
Assemblerised CMUL() for ARM, giving ~20% speedup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13787 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 19:23:18 +00:00 |
|
Michael Giacomelli
|
fe8ae10ab4
|
Attempt #2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13786 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 17:51:52 +00:00 |
|
Michael Giacomelli
|
51b3bbbf1c
|
Opps fix static ASM function on coldfire
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13785 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 17:26:24 +00:00 |
|
Michael Giacomelli
|
a16d0f389e
|
Code clean up: Move fixed point functions into their own files. Move various lookup tables into header files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13784 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 17:15:09 +00:00 |
|
Jens Arnold
|
5717a0af87
|
Shorten the coldfire fixmul32() by 2 instructions and use one register less. Smaller code, but practically no speed change.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13783 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-04 00:31:17 +00:00 |
|
Peter D'Hoye
|
c7c21ae03d
|
Remove tabs (I wonder why Anjuta decided to insert them there)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13782 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 23:45:00 +00:00 |
|
Peter D'Hoye
|
11b559a027
|
Use splashes for errors in the properties plugin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13781 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 23:38:22 +00:00 |
|
Peter D'Hoye
|
76855f0039
|
File/Dir properties should at least print an error message when something goes wrong
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13780 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 23:18:14 +00:00 |
|
Thom Johansen
|
4aeab55f67
|
Replace some 64 bit multiplies with assembly on Coldfire targets. Codec lots closer to realtime on those targets now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13779 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 19:36:26 +00:00 |
|
Peter D'Hoye
|
9337efdb7a
|
Accept FS #7303 by Christoph Reiter: add context menu to FM radio entry in main menu. Also changes a small naming inconsistency.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13778 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 18:31:13 +00:00 |
|
Peter D'Hoye
|
98d4e09094
|
Increase filetypes array to make room for our latest supported audioformat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13777 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 17:45:54 +00:00 |
|
Jonathan Gordon
|
d4a9713d49
|
Updated Italian translation (FS#7389)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13775 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 15:24:06 +00:00 |
|
Dave Chapman
|
14193471db
|
The WMA decoder crashes when attempting to decode files encoded at less than 32kbps, so reject them at the metadata parsing stage. Current SVN ffmpeg can decode these files, so hopefully this can be fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13774 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 14:22:56 +00:00 |
|
Dave Chapman
|
48304ce6d9
|
Add .wmv and .asf as supported filetypes for the WMA codec
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13773 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 13:16:49 +00:00 |
|
Dave Chapman
|
92718a8068
|
Oops, this change shouldn't have been committed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13772 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 10:26:04 +00:00 |
|
Dave Chapman
|
9cb40ea5e3
|
WMA clean-up commit - fix 64-bit sim warnings, set svn keywords property, and add new files to apps/FILES
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13771 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 10:21:23 +00:00 |
|
Dave Chapman
|
c72824786a
|
Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 09:25:36 +00:00 |
|
Jonathan Gordon
|
2ca895bae7
|
Fix FS#7387 - trying to go into the file browser when the last folder was on the MMC/mSD card (which was removed) would go into an infinite loop.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13768 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 08:43:38 +00:00 |
|
Jens Arnold
|
7b861eca95
|
More PP502x clock setup rework. This should fix the freezes on PP5020 once and for all. Enabled clock scaling for H10. * CPUFREQ_MAX changed to 78MHz * To be cleaned up soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13767 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-03 00:42:42 +00:00 |
|
Nils Wallménius
|
ede373108a
|
Remove useless #ifdef, specify maximum field width for strings in the snprintf() call
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13766 a1c6a512-1295-4272-9138-f99709370657
|
2007-07-02 19:52:19 +00:00 |
|