Thomas Martitz
bac611868e
FS#10114 - Sansa AMS : use IRAM for codecs on >2MB targets Rafaël Carré
...
Activates IRAM for AMS Sansas to be used by codecs and core. Fixes Reboot-on-mp3 and gives speed up on codecs using IRAM in general.
I've made a change: the core/codec ratio is 0x20000/0x30000 instead of 0x10000/0x40000, 0x30000 is way more than codecs currently use (0x14000 at max) and the core might need more than 0x10000.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20678 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 17:00:23 +00:00
Boris Gjenero
cd6cbf5001
Fix FS#10111 - Pops and clicks when playing 24 bit FLAC files. This fixes decoding of RICE2 entropy coding. Backported from ffmpeg.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20671 a1c6a512-1295-4272-9138-f99709370657
2009-04-10 02:15:04 +00:00
Thomas Martitz
7ce12e62aa
FS#8523 - Disable WPS updating when the backlight is off.
...
Disables WPS updating when the lcd is inactive (sleep or disabled, backlight doesn't count in), which prevents a good deal of code from running uselessly.
According to tests, it can yield up to 1h more battery life in cases of heavy WPSes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20666 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 08:30:05 +00:00
Karl Kurbjun
93fccc763b
M:Robe 500: More LCD initialization, QVGA (vs. VGA) is now enabled by default for performance, 256 color palette mode added, include some linker cleanups and reorganization. Doom and MPEGPlayer now run reaonably well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20664 a1c6a512-1295-4272-9138-f99709370657
2009-04-09 04:22:14 +00:00
Thomas Martitz
3eaefa65b7
Forgot to add the call too gwps_fix_statusbars(), fixes yellow too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20662 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 17:31:29 +00:00
Thomas Martitz
1d52b72952
WPS update optimizations:
...
*) always initialize restore with true, and make the get_action timeout 1 tick if restore is true (which only happens at initially showing the wps), which makes the wps show up way faster (nearly instantly)
*) reduce the number of full updates by removing update_track (full updates are initiated by the event now), rename partial_update to update.
Now, full updates should really happen only on (re-)entering the wps or track change now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20661 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 17:11:50 +00:00
Andrew Mahone
3e2cf9a380
Undo revert of r20653
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20657 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 10:38:55 +00:00
Andrew Mahone
54a0aeff5b
fix accidental reverts in r20651
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20656 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 10:27:38 +00:00
Andrew Mahone
1541c313a0
Improve scaler reciprocal precision by 1 bit, and remove unused SC_NUM, SC_FIX, and SC_SHIFT.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20654 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 06:25:06 +00:00
Andrew Mahone
05875e4ce1
Fix yellow
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20653 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 04:06:26 +00:00
Andrew Mahone
c79fb9ce06
FS#9992: remove PLA use from PictureFlow, replacing it with maps designed for each target, and inheriting the targets' standard actions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20651 a1c6a512-1295-4272-9138-f99709370657
2009-04-08 03:50:44 +00:00
Maurus Cuelenaere
fef405c328
Enable plugins on the Onda VX747
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20647 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 23:41:44 +00:00
Marianne Arnold
8b13d87ec3
Invadrox - some bitmap related changes in preparation of porting it to more screen resolutions, should not be visible to the user: (1) Use single bitmaps (or strips where possible) instead of one big bitmap each, so instructions and defines how to take the bitmap apart aren't needed. It's more flexible and makes it possible to (2) get some width/height variables directly from the bitmaps. (3) Use background images for static items. Both reduces the number of hardcoded values noticeably. (4) Make the 'fire_sprite' an external bitmap too - with help of Jens -. (5) Rename 'TINY_GRAPHICS' to 'SMALL_GRAPHICS' to have this name available for even smaller images (which is planned).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20646 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:56:16 +00:00
Bertrik Sikken
e15cf78987
Patch by Rafaël Carré - Chopper : define small screen limit on height <= 64
...
This way Clip is included as well, not only Archos
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20642 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 17:02:39 +00:00
Boris Gjenero
e84520c67e
Revert FS#9531 / r19723 - It did not fix the problem, and it caused the index parameter of shuffle and unshuffle .playlist_control commands to be ignored. When those parameters were non-zero, this caused some tracks from the end of the original playlist to instead appear at the beginning of the resumed playlist.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20641 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 16:16:55 +00:00
Marianne Arnold
2f973487dc
Tidy up and remove executable flag from a few plugin bitmap files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20639 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 14:03:38 +00:00
Boris Gjenero
265d855031
Remove unnecessary copying of current track id3 data back into the buffer. It was used before when track_unbuffer_callback existed, but now PLAYBACK_EVENT_TRACK_FINISH takes care of this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20638 a1c6a512-1295-4272-9138-f99709370657
2009-04-07 05:32:38 +00:00
Boris Gjenero
02b9c65ea3
Fix FS#10091 - On Archos targets properly detect charger at startup, so charging screen can be entered
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20634 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 01:47:28 +00:00
Jonathan Gordon
843c7efaf8
FS9795 - some playback cleanup.
...
* Use events to notify things when the track has changed instead of the nasty has_track_changed()
* Event for when the mp3entry for the next track is avilable (which allows alot more tags to be static which means less redrawing in the WPS)
* virtually guarentee that the mp3entry sturct returned by audio_current/next_track() is going to be valid for the duration of the current track. The only time it wont be now is during the time between the codec finishing the previous track and the next track actually starting (~2s), but this is not an issue as long as it is called again when the TRACK_CHANGED event happens (or just use the pointer that gives)
It is still possible to confuse the WPS with the next tracks id3 info being displayed but this should fix itself up faster than it used to (and be harder to do)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20633 a1c6a512-1295-4272-9138-f99709370657
2009-04-06 00:39:43 +00:00
Alexander Levin
9188f0ffd7
Drop the unnecessary checks since they are made by the caller
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20632 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:39:09 +00:00
Alexander Levin
be7f5253a1
Fix hopping backwards if skip length is > 0 and we're near the end of the track (less than skip length)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20631 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 19:29:21 +00:00
Antoine Cellerier
afc78cc329
Start rockpaint with the toolbar visible (I guess that a full white screen can be quite intimidating).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20629 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 17:36:24 +00:00
Jens Arnold
bf6e0cd9d1
ZXBox: Clean up display init. Saves ~1KB on colour targets, and 4KB (coldfire)... >6KB (SH1) for greyscale targets, due to no longer using floating point math. * Name the 2bpp display routines correctly.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20621 a1c6a512-1295-4272-9138-f99709370657
2009-04-05 12:13:58 +00:00
Thomas Martitz
23489bea1c
A few skip length and dir change fixes.
...
*) Fix 64bit sim for playhop.
*) Revert to pre-skip length behavor for dir skipping (always have dirskipping, no matter of skip length), only prevent dir skipping if "prevent track skipping" is enabled
*) small code unification with regards to track and dir skipping
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20618 a1c6a512-1295-4272-9138-f99709370657
2009-04-04 20:33:38 +00:00
Alexander Levin
d55ebceed7
Fix red introduced with r20610.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20612 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:48:19 +00:00
Alexander Levin
ed0ac675b0
Rocklife: allow the cells file to have comment (everything on a line starting with a '!' is a comment). FS#10081, thanks to Justin Hannigan.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20611 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:35:24 +00:00
Alexander Levin
b549ce9193
Some improvements to rocklife (FS#10087, but slightly less paranoid). Main improvement is that the file loading will not lead to stack overflow or illegal memory access.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20610 a1c6a512-1295-4272-9138-f99709370657
2009-04-03 20:25:12 +00:00
Nils Wallménius
dd36c57915
keybox: handle user canceling in the vkeyboard in a nicer way, fix a comment so that it makes sense
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20608 a1c6a512-1295-4272-9138-f99709370657
2009-04-02 21:27:26 +00:00
Tom Ross
8a36b1c323
Fix yellow in rocklife. j=j++ was most likely meant to be j++. Seems to be no change in behavior of my test file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20605 a1c6a512-1295-4272-9138-f99709370657
2009-04-02 06:26:21 +00:00
Alessio Lenzi
e2139124bc
Updated italian translation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20603 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 10:25:50 +00:00
Karl Kurbjun
e64b87ddb5
Fix warnings
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20601 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 05:34:48 +00:00
Karl Kurbjun
8580674b10
Add initial support for changing the LCD mode in MPEG player for hardware YUV conversion (256 color palette mode will also be added for doom and rockboy). This fixes the LCD mode/colors when MPEGPlayer exits.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20600 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 05:17:20 +00:00
Karl Kurbjun
4fa96fbc91
M:Robe 500i: More LCD initialization, and beginnings of support for QVGA as well as VGA on the LCD. MPEGPlayer now works with reasonable performance on smaller videos, but YUV blitting persists after MPEGPlayer is left, some cleanup/changes to the initialization code. This should be functionally equivalent for the ZVM, but the #ifdef's may need to be added back for app.lds. Get the bootloader building again.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20598 a1c6a512-1295-4272-9138-f99709370657
2009-04-01 03:21:18 +00:00
Robert Menes
843498feca
FS#10079 by Justin Hannigan: Support for opening and viewing .cells files in rocklife. To use, simply select a .cells file in the file browser, and rocklife will launch and load it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20591 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 14:38:01 +00:00
Rob Purchase
8739af490e
Some tweaks to the Doom keymap for D2/touchscreen targets.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20584 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 20:51:48 +00:00
Thomas Martitz
a56cba52bd
Bump plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20580 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 17:09:06 +00:00
Thomas Martitz
1034dea00e
Only export contrast if a target actually features contrast.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20579 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 16:06:02 +00:00
Thomas Martitz
842d2bc1c3
Some Sansa Fuze keymap work, enable line editing for the keyboard, copy from the e200 keymap mostly, but use the home key for some jobs (stopping playback, exiting some screens,i.e. what REC+POWER do on the e200 is only home on the fuze)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20578 a1c6a512-1295-4272-9138-f99709370657
2009-03-30 15:45:15 +00:00
Jens Arnold
ae61b94a3f
Fix the resume problems on hwcodec which were uncovered by r20483+r20485. The timing problem was there before; checking for id3 availability as a criterion whether to exit the wps was plain wrong. Now it exits only if playback actually finished.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20568 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 17:58:24 +00:00
Magnus Holmgren
efef625b3f
Fix FS#10067: Crash when playing very short (less than a second) FLAC files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20567 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 14:46:11 +00:00
Jens Arnold
59ba832e3a
Fix potential NULL pointer access.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20566 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 12:42:39 +00:00
Nils Wallménius
cc5400d9cf
Accept FS#10068 by Teruaki Kawashima correcting the instructions built into a couple of plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20565 a1c6a512-1295-4272-9138-f99709370657
2009-03-29 10:41:31 +00:00
Nils Wallménius
d81d91f494
Remove useless check for HAVE_BACKLIGHT noted in FS#9878
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20563 a1c6a512-1295-4272-9138-f99709370657
2009-03-28 16:59:31 +00:00
Nils Wallménius
1adc869d9c
midi: yield more, fixes flickering backlight fade on some targets while playing midi. Some coding style clean up, it's a little better but still a mess
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20562 a1c6a512-1295-4272-9138-f99709370657
2009-03-28 11:27:56 +00:00
Nils Wallménius
24ae50699d
Jewels: accept FS#9947 changing 'Resume Game' in the game menu to 'Resume Saved Game' to be less confusing. Bring up the in-game menu using the regular menu button on h100/h300/gigabeat S. Add keymap to the manual for gigabeat S
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20561 a1c6a512-1295-4272-9138-f99709370657
2009-03-28 09:21:27 +00:00
Alexander Levin
dca04925c6
Fix typos in comments
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20560 a1c6a512-1295-4272-9138-f99709370657
2009-03-28 09:09:58 +00:00
Thomas Martitz
f627ca8d23
Change "Prevent Skipping" to "Prevent track skipping" which is a more accurate name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20556 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 15:42:52 +00:00
Thomas Martitz
614f9daae4
Document the prevent skipping option in the manual, plus a few fixes for skip length. Also, remove the underscore in the config.cfg setting name.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20555 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 14:45:27 +00:00
Thomas Martitz
8d5982110b
Fix hwcodec to actually check for prevent_skip
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20554 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 13:57:56 +00:00
Thomas Martitz
62f3e95945
FS#10014 - Separate tracklocking out of skip length, skip length prevented to skip tracks. This is a seperate setting now. tracks can still change during normal playback (i.e. a song ends).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20553 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 13:53:29 +00:00