Michael Sevakis
e0af34cb5f
More FFT fun: No point in computing and combining the 2nd FFT if it's just being made null. Use the regular complex FFT (called by fftr anyway) and save ram and computation for a given number of bins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26507 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 08:55:36 +00:00
Michael Sevakis
7e538995a5
FFT plugin: Some speed regulation for too-fast targets. (50FPS)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26503 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 04:21:27 +00:00
Wincent Balin
949d546fc8
pdbox: Fixing reds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26502 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 03:28:14 +00:00
Wincent Balin
471f50682b
pdbox: Added compilation on iPod 1G-4G.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26501 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 03:05:47 +00:00
Wincent Balin
d2f848fe39
pdbox: Added keypad for iPod 1G-4G. Reordered SOURCES alphabetically.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26500 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 02:34:19 +00:00
Michael Sevakis
e208b74915
FFT plugin: give everything in the main file a nice 'static'-ing. Saves approx. 1-3K size depending upon the target and so should speed it up a bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26499 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 01:38:50 +00:00
Michael Sevakis
cc38700b7a
FFT plugin: Use worker thread only on multiprocessor targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26498 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 00:59:05 +00:00
Wincent Balin
c1ae4414d4
pdbox: Source cleanup. Removed unneeded files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26497 a1c6a512-1295-4272-9138-f99709370657
2010-06-03 00:39:13 +00:00
Wincent Balin
5edd8cf736
pdbox: Syntax cleanup for the cosine table.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26496 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 23:26:12 +00:00
Rafaël Carré
ef57475f14
pdbox: add fuze keymap
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26489 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 20:15:44 +00:00
Michael Sevakis
ff2d224ae7
FFT Plugin: Should use scale_factor, not LCD_WIDTH/HEIGHT to break the spectrogram loop.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26471 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 08:59:37 +00:00
Michael Sevakis
30e2f42c82
FFT Plugin: Revamp the main code to rid it of 64-bit math. Use 32-bit kiss_fft_scalar because 16-bit integers are generally a poor choice for computation on-target. Simplify display code to speed it up. Add logarithmic frequency display (need keymappings, guessed on some). On dual-core, perform FFT on COP. Add some support function to fixedpoint.c. ... and stuff.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26470 a1c6a512-1295-4272-9138-f99709370657
2010-06-02 08:34:10 +00:00
Wincent Balin
36f3a8d67e
Added myself and Pure Data team to credits.
...
Updated copyright years where needed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26457 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 21:44:55 +00:00
Wincent Balin
921d10f86f
pdbox: Updated CPU boosting API
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26456 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 21:31:55 +00:00
Wincent Balin
f52c9aae3a
pdbox: Code cleanup, optimizations.
...
* Reverted minimal working memory to 4 MB
* Reverted size of a single audio buffer
* Optimized sound output loop
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26454 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 20:37:16 +00:00
Rafaël Carré
9b935b2888
fft: use long home button to exit on fuze
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26443 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 09:01:13 +00:00
Wincent Balin
c225b17015
pdbox: Removed unnecessary code from the main include file. Reduced neede memory to 2 MB.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26440 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 00:26:28 +00:00
Wincent Balin
a266ff185a
pdbox: Solved issue with WAV file import on big-endian targets (signed 16-bit files only); small I/O-related workaround in g_array.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26439 a1c6a512-1295-4272-9138-f99709370657
2010-06-01 00:23:59 +00:00
Rob Purchase
550ca6464a
test_codec: close the log file before attempting to open a new one, and clear the button queue before displaying the menu a second time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26437 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 21:07:25 +00:00
Rob Purchase
a6c1b54d46
Enable IRAM on TCC7801 (Cowon D2) for a 6-12% speedup in codecs that use it, and a small increase in battery life.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26436 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 21:00:25 +00:00
Rafaël Carré
09cc3e604d
battery_bench: comment the battery_bench.txt header with '#'
...
gnuplot will ignore lines which begin with '#'
Split a line so the output will fit in 80 columns
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26430 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 12:37:29 +00:00
Rafaël Carré
e04a71f382
Only build firmware_flash plugin on archos
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26424 a1c6a512-1295-4272-9138-f99709370657
2010-05-31 00:02:20 +00:00
Michael Sevakis
602bad427a
Doom plugin: Missed properly making a few 'unsigned' on my second pass.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26369 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 08:28:29 +00:00
Michael Sevakis
9c6e217f29
Doom plugin: In anticipation of moving to the EABI toolchain, because of its assumptions about enums being sized as ints, convert enum typdefs to int or unsigned depending upon whether they have negative values in the enumeration. This should effectively preserve the manner in which it is compiled under the old toolchain and avoids having to closely inspect and possibly change many places in the code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26368 a1c6a512-1295-4272-9138-f99709370657
2010-05-29 08:12:39 +00:00
Thomas Martitz
bedeac440e
Fix typo that made alarmclock exit immediately and add scrollwheel actions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26363 a1c6a512-1295-4272-9138-f99709370657
2010-05-28 21:08:52 +00:00
Rafaël Carré
b36e721aa6
rockboy: rename pcm_*() functions to avoid namespace clash with rockbox
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26327 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 12:00:23 +00:00
Rafaël Carré
5d236b2bfd
Generate C file / header for svn version string
...
It's now easier to force rebuild of files depending on the svn revision
version.c/version.h are generated once with new tools/genversion.sh
Changes in the VCS are still not auto detected, so you'll have to remove
builddir/version.* if you want to change the string in your binaries
APPSVERSION is now called RBVERSION and is defined in the generated
header instead of being defined by the Makefiles
appsversion is now called rbversion (the plugin api number didn't change
since old modules are still binary compatible)
Change some bootloaders to use knwon-at-buildtime RBVERSION instead of
"%s" + rbversion
You'll need to run make clean to regenerate dependencies after the
removal of apps/version.h
To build binaries with a different version string, hand-edit
tools/version.sh or tools/genversion.sh (which calls the former)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26320 a1c6a512-1295-4272-9138-f99709370657
2010-05-27 09:41:46 +00:00
Karl Kurbjun
b2f1e53608
Fix M:Robe Plugins and Codecs.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26279 a1c6a512-1295-4272-9138-f99709370657
2010-05-25 05:17:08 +00:00
Wincent Balin
112ad0ac42
pdbox: Code cleanup
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26274 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 23:38:04 +00:00
Jens Arnold
fead75812b
Fix test_mem for the archos plugin buffer size and for charcell.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26273 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 23:18:30 +00:00
Wincent Balin
cb185d2860
pdbox: Successfully resolved issue with loading of audio files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26272 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 23:13:37 +00:00
Jens Arnold
dba636a0fa
Test plugins: * test_sampr.c is swcodec only * Several plugins are bitmap only.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26271 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 23:13:17 +00:00
Szymon Dziok
06601e5fba
Vibe 500: fix the scrolling through the lists by implementing BUTTON_REPEAT for the scrollstrip.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26268 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 19:48:06 +00:00
Andree Buschmann
d76a9316fb
Correct new memcpy/memset functionality in test_mem plugin. Use appropriate clobber list for arm asm.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26255 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 17:13:48 +00:00
Michael Sevakis
d56999890f
Make PCM->driver interface about as simple as it will get. Registered callback, zero data, alignment and stops are handled entirely inside pcm.c; driver merely calls fixed pcm.c callback. Remove pcm_record_more and do it just like playback; the original reason behind it isn't very practical in general. Everything checks out on supported targets. There wer some compat changes I can't check out on many unsupoorted but if there's a problem it will be a minor oops. Plugins become incompatible due to recording tweak-- full update. Sorted API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26253 a1c6a512-1295-4272-9138-f99709370657
2010-05-24 16:42:32 +00:00
Michael Sevakis
d7244926f5
mpegplayer: use OFF_T_MIN/MAX instead of LONG_MIN/MAX in one spot. Define OFF_T_MIN as well if not already defined.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26232 a1c6a512-1295-4272-9138-f99709370657
2010-05-21 14:01:22 +00:00
Rafaël Carré
427e871319
Clipv2 / Clip+ : lcd scanrate checked with test_scanrate
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26217 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 22:35:44 +00:00
Thomas Martitz
d2af487a05
Fix test_resize
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26216 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 20:49:04 +00:00
Thomas Martitz
9d7d0b5af6
Fix reds: add m3 keypad, fix typo in the ipods part, correct button for h10, don't error out for touchscreens (onda vx777 has almost no tactical buttons).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26209 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 19:05:24 +00:00
Torne Wuff
970b46045e
Tweak new pluginlib button map for frotz to be more convenient
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26206 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 18:45:50 +00:00
Thomas Martitz
9df2f2fdc1
Fix a data abort in codebuster.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26203 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 18:09:41 +00:00
Thomas Martitz
20e9d56ba5
S#10387 - Rework pluginlib actions
...
It changes pluginlib actions to contain only a single and simple context (and
other one for remote directional buttons),
consisting of 7(9) buttons: up/down/left/right, select OR short select and long
select, exit and cancel (plus 2 for scrollwheel targets).
This ensures contexts don't clash with other contexts and simplifies them, at
the expense of reduced versatility. However, the versatility made it largely unusable
due to the great number of targets.
This should allow for using pluginlib actions safely for the most simple plugins (e.g. almost all demos).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26202 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 17:41:28 +00:00
Marcin Bukat
bb3a3ec7b0
HD200 - adjust LCD_SCANRATE (changed a bit after PLL settings change)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26187 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 10:21:55 +00:00
Wincent Balin
c208486fcc
pdbox: Rewrote recently added bugfixes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26184 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 04:23:40 +00:00
Wincent Balin
ae2659e633
pdbox: Got rid of signedness-related warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26183 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 03:38:53 +00:00
Wincent Balin
6274944942
pdbox: Made size value signed
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26182 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 03:33:18 +00:00
Wincent Balin
5ea0dc83ec
pdbox: Adjusted return values for functions read() and write()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26181 a1c6a512-1295-4272-9138-f99709370657
2010-05-20 03:27:12 +00:00
Teruaki Kawashima
93258e4130
sudoku: remove commented out code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26169 a1c6a512-1295-4272-9138-f99709370657
2010-05-19 15:56:27 +00:00
Rafaël Carré
681cedb4d8
Build overlay plugins for all targets with PLUGIN_BUFFER <= 0x10000 bytes
...
Bring Clipv1 & m200v4 plugin buffer down to this limit
zxbox, chessbox and rockboy build on the clip
rockboy doesn't build on m200v4 due to not enough buttons to make a keymap
Some gameboy roms won't run on Clipv1: tetris does but not pokemon for example
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26144 a1c6a512-1295-4272-9138-f99709370657
2010-05-18 14:14:53 +00:00
Rafaël Carré
6e15b710c0
apps/plugins/lib/SOURCES: make it more readable (space, comments, order)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26143 a1c6a512-1295-4272-9138-f99709370657
2010-05-18 14:14:48 +00:00