Commit graph

2004 commits

Author SHA1 Message Date
Jens Arnold
6f65afd0b7 sliding_puzzle improvements: * Use the UI font for numerals and 'moves' display when possible. * Center the numerals and the 'moves' display. * Use a simple line separator. * Use black text on white background for greyscale targets. * Simplify the code a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16207 a1c6a512-1295-4272-9138-f99709370657
2008-02-03 14:34:37 +00:00
Marianne Arnold
dce2ef805c Small improvements to sliding puzzle. (1) Don't draw the 'Moves' box at fixed size, and display 'Moves:' and number of moves on one line for square and portrait screens. (2) Use 4x4 spots on Archos too, to make the spots look square on the Archos display - change the default 80x64 image accordingly. (3) Replace the 110x110 images with 108x108 so that the width is evenly divisible by 4 (number of spots) as mentioned in the comment. (4) Make the greyscale images look a little less broken, could be even better though. -- The code could be made simpler and more flexible but one step at a time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16200 a1c6a512-1295-4272-9138-f99709370657
2008-02-02 12:10:42 +00:00
Michael Sevakis
f90cbcb652 mpegplayer: Use the core DSP to process audio. Removes the sample rate restriction on audio and any mpeg audio samplerate may be used. Use the global sound settings for audio output with the option to force any one of the processing stages off. All are forced off by default. I didn't personally care to fully duplicate the Sound Settings menu which would have been needed since using the core one would affect settings globally and exactly the same configuration probably isn't desired since the CPU load for video playback is much greater. Rebalance the threading to compensate with some expense to buffering speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16194 a1c6a512-1295-4272-9138-f99709370657
2008-02-01 02:25:15 +00:00
Jonas Häggqvist
d5f372aa5c Use the .h bitmap headers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16192 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 21:05:32 +00:00
Jonas Häggqvist
2dd3ea0b5d Use the right type for the remote logo. Thanks to amiconn for spotting and explaining on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16191 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 20:42:28 +00:00
Jonas Häggqvist
0750d3c75b Balance my ifs and endifs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16190 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 19:48:36 +00:00
Jonas Häggqvist
4cd37d5ba4 Use nicer logos in the logo plugin, plus use the bitmap build system magic.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16189 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 19:28:51 +00:00
Marianne Arnold
cdc933f40f Sliding_puzzle: rearrange the default bitmap definitions and add two more sizes of the bitmap (fixes issues on Nano and small H10). The 'Moves' box is still not fully visible on the latter, I plan to work on it but thought the fix was worth an own commit already. Also let the plugin retrieve the image width and height from the bitmap.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16188 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 18:08:22 +00:00
Jonas Häggqvist
644ed7c278 Set proper svn:keywords
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16187 a1c6a512-1295-4272-9138-f99709370657
2008-01-31 17:34:48 +00:00
Michael Sevakis
3f4fd4d6a0 Now that headphone plug pause/resume should be better behaved, support it in mpegplayer too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16179 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 21:45:15 +00:00
Marcoen Hirschberg
762ec6ec33 fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16176 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:46:31 +00:00
Marcoen Hirschberg
11298701dd add support for the gigabeat remote control in mpegplayer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16175 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:18:29 +00:00
Michael Sevakis
9ef02a5fec mpegplayer: End of data would not be detected correctly if mpeg parser was in a sync state.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16174 a1c6a512-1295-4272-9138-f99709370657
2008-01-27 00:06:36 +00:00
Michael Sevakis
e4bb2bbb05 mpegplayer: make sure 'floating' videos are even-aligned on color displays or else clipping the image could have dead lines while the WVS is shown. Throw in a couple misc cleanups to vo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16172 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 15:15:50 +00:00
Michael Sevakis
f8709ac7e2 H10 20GB: Assembly YUV blitting and dithering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16171 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 14:24:09 +00:00
Nicolas Pennequin
9542471f7d * Add mktccboot to svn:ignore for tools/
* Rename the resize_test plugin to test_resize for consistency.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16170 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 01:34:23 +00:00
Nicolas Pennequin
988d4e8e3b Fix the errors and warnings from the previous commit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16169 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 00:37:24 +00:00
Nicolas Pennequin
02f1839bfe Accept FS#7218 by Dave Hooper: Bitmap version of the sliding puzzle game.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16168 a1c6a512-1295-4272-9138-f99709370657
2008-01-26 00:16:06 +00:00
Nils Wallménius
5677b4cfd7 Oops, forgot to change some #ifdefs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16156 a1c6a512-1295-4272-9138-f99709370657
2008-01-24 17:49:06 +00:00
Nils Wallménius
60baa54eed Make jpegviewer remember the slideshow timeout, fixes FS#8461, slight simplification of the menu code by making the slideshow timeout a regular int setting.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16155 a1c6a512-1295-4272-9138-f99709370657
2008-01-24 17:32:28 +00:00
Kevin Ferrare
ebe5acfb9d Fixed the problems on the new version of the fire plugin (so repush it), added new actions to the pluginlib_actions to fix the keymaps on the Sansa e200 for the clock and fire plugins. Also slightly simplified the metronome plugin's key mapping with those new actions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16148 a1c6a512-1295-4272-9138-f99709370657
2008-01-23 08:25:04 +00:00
Rob Purchase
fa85aa8d97 D2 simulator build (plugins not built yet)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16146 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 22:48:36 +00:00
Marianne Arnold
dae719dff7 Revert today's fire commits because it crashed all the targets I could test with (OndioFM, M5, C250). The plugin action conversion also caused problems (e.g. in a c200 sim which was working) I couldn't control flame type and movement and couldn't exit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16142 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 12:44:24 +00:00
Michael Sevakis
8b4ecfaa4d Oops. Only build mpegplayer bitmaps for SWCODEC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16141 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 12:11:10 +00:00
Kevin Ferrare
73afc47c05 A commit without a single warning is not really fun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16139 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 08:18:38 +00:00
Kevin Ferrare
eb93be2dd9 Fire plugin : initializes palettes with a function instead of storing them in static arrays, changed the color LCD's palette to make it look nicer, switched the button API to the action API, reorganized code a little bit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16138 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 08:02:31 +00:00
Robert Kukla
7da7e7bdd2 add timer registration for mrobe100 lcd to greyscale lib (fix yellow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16137 a1c6a512-1295-4272-9138-f99709370657
2008-01-22 04:16:28 +00:00
Dave Chapman
d7d073ac1b Reverse the behaviour of the scrollwheel (i.e. fwd/clockwise is down, back/anti-clockwise is up) in the text viewer for the Sansa. This was accidentally changed in r16045
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16096 a1c6a512-1295-4272-9138-f99709370657
2008-01-17 11:29:14 +00:00
Michael Sevakis
93ddef33b6 mpegplayer: fix a small mistake in validating the start time.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16095 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 02:43:42 +00:00
Michael Sevakis
0ae0e1d271 libmpeg2: Change a couple style points for consistency and some spacing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16094 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 01:43:31 +00:00
Michael Sevakis
0c7f2372d5 libmpeg2: Decode only Y on grayscale targets. The chroma skip code is probably less than optimal since it's basically the decoding code with minimum reading of the bitstream but it does the trick for now and gets some more FPS.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16093 a1c6a512-1295-4272-9138-f99709370657
2008-01-16 01:22:56 +00:00
Rob Purchase
47ea030e2e Initial Cowon D2 commit:
* bootloader test program (basic LCD & button drivers, reads touchscreen)
* work-in-progress stubs for main build


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 22:04:48 +00:00
Steve Bavin
feefc90a2a Change wording of date options to clarify; previously English format was not the format used in England.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16088 a1c6a512-1295-4272-9138-f99709370657
2008-01-14 13:21:05 +00:00
Jens Arnold
fa7eb56c84 Greyscale library: * Defer application of lcd linearisation + gamma in buffered mode to the actual update. This simplifies the update function (grey_update() and grey_update_rect() now are just calls to grey_ub_gray_bitmap_part()), and makes DRMODE_COMPLEMENT work properly. * Make the simulator version work and behave more similar to the target version.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16080 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 18:39:09 +00:00
Marianne Arnold
071c2ac339 Reenable metronome on Archos targets which got lost during the big change to it in last summer and fix a warning (wrong data type). The plugin button action system causes problems with the Ondio controls (tapping and playing conflict, even though there are exceptions defined) and it's only halfway usable, probably this applies to the Player as well but couldn't test. It is still better than nothing and e.g. metronome is not completely controllable on c200 too where it is also enabled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16079 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 18:27:54 +00:00
Marianne Arnold
9956c25540 Midiplay: more consistent button mapping on c200 - use the volume buttons to adjust volume (BTN_UP/DOWN), making it possible to use the 'Play' button for play/pause.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16077 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 14:52:31 +00:00
Jens Arnold
66ad9b1c08 Greyscale test plugin: Add missing button definitions for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16073 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 12:30:11 +00:00
Jens Arnold
f4f90c2283 Oops, looks like I overlooked a leftover from the old graylib...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16068 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:38:03 +00:00
Jens Arnold
c6b5d5531b The old grayscale library is now officially dead.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16067 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:21:45 +00:00
Jens Arnold
a72499a125 Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657
2008-01-13 00:11:43 +00:00
Michael Sevakis
29775f7bab mpegplayer: A) Replace 'Start Menu' option with 'Resume Settings' 1) Start menu - Always show the start menu 2) Start menu if not completed - show the start menu if playback was interrupted before finishing (equivalent to the previous 'Resume No/Yes' screen) 3) Resume automatically - Always resume immediately with no prompting 4) Play from beginning - Always play file from the beginning. B) Do everything possible at this time to ensure USB connection and power down preserve the resume time. C) Add Settings menu to start menu D) Small OSD erasure drawing tweak.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16061 a1c6a512-1295-4272-9138-f99709370657
2008-01-12 05:45:38 +00:00
Robert Kukla
fc13290a82 I didn't mean to commit the autostart.c entry.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16057 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 22:03:49 +00:00
Robert Kukla
7d961d390a m:robe 100:
- adjust lcd_grey_phase_blit() parameter to recent change
- detection of external power
- compilation of plugins - need to be enabled individually in SOURCES/SUBDIRS 
(use autostart.rock as test plugin with limited interaction via BUTTON_POWER)
also 
- move autostart.rock to apps dir where it is expected
- set missing svn:keywords for various files

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16056 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 21:48:01 +00:00
Jens Arnold
753b65737f Greyscale mpegplayer: * Use uncached greyscale buffers on dual core targets, removing the need for special cache handling. * Make the OSD properly disappear when viewing a widescreen or small video.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16052 a1c6a512-1295-4272-9138-f99709370657
2008-01-11 00:46:09 +00:00
Jens Arnold
59f0e7023c Fix warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 23:01:11 +00:00
Jens Arnold
df5c3e15e8 Greyscale library: * Introduced some extra macros dealing with block size, allowing to write some parts with less #ifdefing. * Optimised grey_update_rect() for horizontally packed LCDs, and unbuffered scrolling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16050 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 22:51:33 +00:00
Michael Sevakis
ea5d196c7b Fully clone the gray_show(false) procedure without the forced lcd update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16048 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 19:38:38 +00:00
Jonathan Gordon
94e5e1a1a9 woops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16046 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:21:57 +00:00
Jonathan Gordon
81ba146706 Accept FS#8341 - rename BUTTON_SCROLL_UP/DOWN to FWD/BACK on the e200 to make it consistant with the ipods. apart from removing a bit of confusion, it fixes the wheel in pictureflow and possibly elsewhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16045 a1c6a512-1295-4272-9138-f99709370657
2008-01-10 08:08:31 +00:00
Jens Arnold
6a56c14e17 Greyscale library: Changed the internal data format once more (separated pixel values and phases), allowing for further optimisation of drawing, scrolling etc. * Optimised grey phase blitting in the core reduces CPU load on all architectures, most significantly on coldfire. Previous version was too slow to keep up at 45MHz, leading to unwanted graininess (update frequency was halved). Also fixed screendump on 2bpp targets with vertical pixel packing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16043 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 23:48:26 +00:00