Commit graph

2052 commits

Author SHA1 Message Date
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
Michael Sevakis
75380fd27d mpegplayer on grayscale targets: use greylib to display all text and graphics with the video images.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16042 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 22:19:25 +00:00
Marianne Arnold
0d8fd456cd E200: Restore the scroll wheel support in brickmania that got lost in the previous changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16040 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 21:06:42 +00:00
Linus Nielsen Feltzing
741f5b24b3 Prevent idle poweroff in the MPEG player plugin. Also save the settings when receiving SYS_POWEROFF and SYS_USB_CONNECTED. Fixes FS#8439 and FS#8388.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16033 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 14:26:19 +00:00
Linus Nielsen Feltzing
d86a9cac5c Reduce stack usage in the vbrfix plugin. Fixes FS#8402.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16031 a1c6a512-1295-4272-9138-f99709370657
2008-01-09 12:39:06 +00:00
Dave Chapman
3646c31367 Add the viewport functions to the screens API, including a new getfont() function to return the font used by the current viewport. A change to the screens API makes the plugin API incompatible, so we bump version and sort. Also commit the test_viewports plugin (not built by default). This is some more of FS#8385.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16022 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 01:22:14 +00:00
Jens Arnold
54aeadaa6b FPS Test plugin: add greyscale library performance measurement.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16020 a1c6a512-1295-4272-9138-f99709370657
2008-01-08 00:06:54 +00:00
Michael Sevakis
2a8f39820b mpegplayer: Fix a bitflag value. Add some commenting to the WVS code to help readability.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16017 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 17:27:08 +00:00
Michael Sevakis
0e98d7e315 mpegplayer: Misc seeking tweaks 1) Consolidate some code amongst functions. 2) Be sure times retured from stream_get_seek_time are never before the start of the movie 3) Stop PCM when clearing it so the current audio being sent to the audio device is also cleared.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16014 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 14:58:23 +00:00
Jens Arnold
a8b80b63db Gah, e200 sets CONFIG_LCD to LCD_X5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16011 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 00:01:32 +00:00
Jens Arnold
c46ee42bb1 Forgot to commit the adaption of 'fire' to the new greylib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16010 a1c6a512-1295-4272-9138-f99709370657
2008-01-07 00:01:26 +00:00
Jens Arnold
dbe24fcbac Doom LCD update: * Speed up the C versions slightly (colour and greyscale). * Fix the ASM version for H300 (caused line flicker, probably since buffered LCD writes were enabled). Slightly slower, but still ~8% faster than plain C. Removed the C version of this ASM because of the same problem (was only there for reference). * Added ASM optimised version for X5 (~8.5% faster).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16009 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 23:48:30 +00:00
Jens Arnold
2aa0c4c66b Doom: Keep the light on during gameplay.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16004 a1c6a512-1295-4272-9138-f99709370657
2008-01-06 14:05:55 +00:00
Jens Arnold
4ddfdc807c Fix chessbox and rockboy for archos (overlays were broken by yesterday's plugin binsize reduction commit).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16000 a1c6a512-1295-4272-9138-f99709370657
2008-01-05 12:45:12 +00:00
Jens Arnold
feb5b15e9b All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 23:42:38 +00:00
Jens Arnold
d3586837fa Stop wasting binary size + ram for several plugins. Plugins are supposed to be linked with --gc-sections, in case they use plugin library elements.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15997 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 21:07:05 +00:00
Michael Sevakis
c898630279 mpegplayer seek tweak: Have video keep the time and duration of the last decoded frame up to date at all times. Make sure streams that have reported and EOS condition are placed back on active list when seeking which it seems is the cause of a video glitch where the initial frame may be presented after a seek but video playback wouldn't restart. Set logical seek time to video start in the parser after after initial load.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15995 a1c6a512-1295-4272-9138-f99709370657
2008-01-04 20:36:15 +00:00
Michael Sevakis
dff0deb48c Ok...really fix the red. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15993 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:51:25 +00:00
Michael Sevakis
d9a895599e Fix some warnings/errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15992 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:30:50 +00:00
Michael Sevakis
a5fc3f4df4 Initial WVS for mpegplayer. Adjusts to the user's preferred font and uses FF/RW preferences set for playback. Picked a random color for the base WVS color but it could be configured. Some engine tweaks to accomodate it since certain nescessities are clearer now. Fix a clipped YUV output bug in the SIM.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15991 a1c6a512-1295-4272-9138-f99709370657
2008-01-03 17:14:28 +00:00
Stepan Moskovchenko
21abf6579f Oops, fix red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15988 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 07:44:03 +00:00
Stepan Moskovchenko
111049105b MIDI player: print out track names, copyright info, song names, etc during load time. This includes
lyrics... maybe we should print those while the song is playing?


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15987 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 07:09:17 +00:00
Stepan Moskovchenko
0f8c77b306 MIDI player: fix a very unlikely (but possible) file descriptor leak.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15986 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 06:40:15 +00:00
Stepan Moskovchenko
59acdc336b MIDI player: Allow pause and seeking during pause. Print out the play/pause/seek position in seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15985 a1c6a512-1295-4272-9138-f99709370657
2008-01-02 06:35:59 +00:00
Marianne Arnold
2e5f8f5c06 Brickmania for Sansa c200 and the small H10 with new graphics. While at it reduce the number of necessary per screen definition by letting the plugin retrieve the bitmap heights and widths from the file, therefore 'clean up' some graphics e.g. the menu items one, also make some backgrounds a bit nicer. Rearrange bitmaps/native/SOURCES and rename some graphics to reduce the number of duplicated bitmaps which only had a different name e.g. the ball - and tweak the gameover bitmap (on colour displays it uses transparency, and adapt the already existing mono bitmap to be usable). There might be minor differences in the 'looks' for existing ports but almost not noticeable with the exception that the gameover graphic is now centered. Introduce an alternative left and right key for c200 (volume up/down) for easier control. Manual update will follow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15981 a1c6a512-1295-4272-9138-f99709370657
2007-12-30 14:56:51 +00:00
Michael Sevakis
282c9d6e1b mpegplayer: Whoa. Left out a buffer wrap calculation when reading elementary streams.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15980 a1c6a512-1295-4272-9138-f99709370657
2007-12-30 00:19:43 +00:00
Michael Sevakis
3b1f61a1ff mpegplayer loose ends: Move gray_release to the exit routine where it should be. All gray handling is on CPU except frame rendering.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15979 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 22:12:10 +00:00
Michael Sevakis
b08409ee40 Fix some DEBUGF warnings for sims.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15978 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 20:06:42 +00:00
Michael Sevakis
a222f27c4a mpegplayer: Make playback engine fully seekable and frame-accurate and split into logical parts. Be sure to have all current features work. Actual UI for seeking will be added soon. Recommended GOP size is about 15-30 frames depending on target or seeking can be slow with really long GOPs (nature of MPEG video). More refined encoding recommendations for a particular player should be posted soon.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15977 a1c6a512-1295-4272-9138-f99709370657
2007-12-29 19:46:35 +00:00
Nicolas Pennequin
0918990a93 PictureFlow improvements:
* Track listing when selecting an album. Press select to go back to album view. Playing tracks from the list isn't implemented yet
* Added a "zoom" setting

Code changes:
* Switched to a state machine approach
* Some inlining and const changes
* Various optimizations and cosmetic tweaks


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15941 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 02:18:54 +00:00
Nicolas Pennequin
a2aec46f04 Fix the crashes observed on the H10 5GB during the caching process. It was a classic case of out of bounds access after resizing, more visible on the H10 because it has a small screen size and we use the screen size as buffer size.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15939 a1c6a512-1295-4272-9138-f99709370657
2007-12-16 01:22:35 +00:00
Magnus Holmgren
c21f59090e FS#7954: Free resources when speed testing a folder. Also simplify the error handling code a little.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15934 a1c6a512-1295-4272-9138-f99709370657
2007-12-15 13:54:58 +00:00
Nicolas Pennequin
a7d08774dc PictureFlow fixes and improvements:
* Reduced popping effect (FS#8303)
* Scale the empty slide to average album width
* Introduced some visual settings
* Fix FS#8298 but make the criteria a screen height of less than 100 px so that only the c200 gets 50x50 slides

The scaling code is added as a lib function with a basic test plugin that's not compiled by default.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15913 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 18:54:50 +00:00
Jonas Häggqvist
7ab63e3f1b Fixed a few typos spotted on IRC.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15910 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 09:50:36 +00:00
Nicolas Pennequin
c16470bf04 A couple fixes:
* The menu was being drawn with the wrong colour if entered while the album name was being faded
* Display an error message if no albums have been found (which indicates that the database isn't initialised)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15909 a1c6a512-1295-4272-9138-f99709370657
2007-12-11 00:32:08 +00:00
Nicolas Pennequin
16be6567b6 PictureFlow improvements by Jonas Hurrelmann:
* Scrolling and fading album titles
* Better support for small displays

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15908 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 21:07:06 +00:00
Nicolas Pennequin
f0ecbf4506 Fix a file descriptor leak
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15906 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 15:58:02 +00:00
Nicolas Pennequin
34c2c1b7f6 PictureFlow improvements:
* Fix a keymap problem on the c200, hopefully won't affect other targets
* Remove the 100x100 limitation (limit is now the screen size)
* Add an option in the settings menu to clear the cache

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15905 a1c6a512-1295-4272-9138-f99709370657
2007-12-10 14:43:58 +00:00
Nicolas Pennequin
90ce826903 Initial commit of the PictureFlow plugin, a nice visualization for album covers.
Original code by Ariya Hidayat. Rockbox port by Jonas Hurrelmann and a few tweaks by me.
On the first startup the database is scanned and album art is searched for each album. This process will take some time (dircache enabled and/or database in RAM speed it up, and it is possible to abort by pressing MENU), but the results are cached and the next startups will be very quick.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15900 a1c6a512-1295-4272-9138-f99709370657
2007-12-09 18:48:02 +00:00
Dave Chapman
06c405620c Remove X11/win32 simulator rules
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15893 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 22:34:37 +00:00
Michael Sevakis
2b5f979d75 Reformat and code police (tabs, trailing whitespace, annoying overuse of parentheses, etc.) in libmpeg2 so I can stomach working on it. Don't call IDCT functions through pointers - I don't feel like extracting that change just for relevance sake.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15892 a1c6a512-1295-4272-9138-f99709370657
2007-12-07 13:00:31 +00:00
Jens Arnold
bf2a33485f Fix some plugins not using the helper functions for the new backlight timeout handling.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15849 a1c6a512-1295-4272-9138-f99709370657
2007-11-29 23:55:58 +00:00
Jonas Häggqvist
00d0a3a661 Only compile Matrix on non-mono targets, rather than all bitmap targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15831 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:43:28 +00:00
Jonas Häggqvist
a8f900384b On second thoughts, let's compile Matrix for all non-mono bitmap displays.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15829 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 01:28:00 +00:00
Jonas Häggqvist
7034237dbb Only compile Matrix for colour targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15825 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:59:31 +00:00
Jonas Häggqvist
450ed5273a Matrix demo plugin for colour targets. Ported from Ipodlinux who ported it from cmatrix for Linux. Closes FS#7920.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15824 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 00:35:52 +00:00
Marianne Arnold
5979d78988 Fix backlight timeout in 'keep backlight running' plugins (related to yesterday's settings rework by Jens, fix also by him).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15809 a1c6a512-1295-4272-9138-f99709370657
2007-11-26 09:59:45 +00:00
Marcoen Hirschberg
b3f155d6a1 don't show the scrollbar after turning it off in the menu.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15775 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 15:42:08 +00:00
Marcoen Hirschberg
73d514f1c1 remove debug leftover
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15771 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:47:26 +00:00
Marcoen Hirschberg
f8232e738f use the plugin buffer instead of the static one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15770 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:11 +00:00
Marcoen Hirschberg
3f6461acfc rearrange the initialization a bit. also fixes the disappearing scrollbar.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15769 a1c6a512-1295-4272-9138-f99709370657
2007-11-23 09:11:09 +00:00
Dave Chapman
14ac7cafc8 0 is also a valid file descriptor
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15749 a1c6a512-1295-4272-9138-f99709370657
2007-11-22 00:32:50 +00:00
Björn Stenberg
e2e287d80e Removed annoying splash
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
2007-11-21 23:36:30 +00:00