Commit graph

79 commits

Author SHA1 Message Date
Michael Sevakis
8970055ec1 Hopefully take care of the scrollwheel difficulties in plugins on e200.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13460 a1c6a512-1295-4272-9138-f99709370657
2007-05-22 06:31:44 +00:00
Marcoen Hirschberg
a7168feeac attempt to make the Gigabeat button mappings in the plugins more logical and in line with the mapping in rockbox itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13436 a1c6a512-1295-4272-9138-f99709370657
2007-05-19 23:38:09 +00:00
Jonathan Gordon
77a458a464 Move the old api out of the core and into the plugin lib.
ew plugins shuold use the new api and not this one.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13358 a1c6a512-1295-4272-9138-f99709370657
2007-05-08 11:55:43 +00:00
Michael Sevakis
8676dc25f5 Missed a couple. Hopefully fix all warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 19:07:15 +00:00
Michael Sevakis
26d242ae65 General housekeeping: Make plugin buffer functions take size_t * instead of int * to match the parameter type of the buffer functions called in the core. Get rid of unsafe int * <==> size_t * casting. Use ssize_t where int was used and size_t where unsigned int was used in the buffer calls to not alter signedness in the plugins. No API version change since it should only be an issue for 64-bit sim builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13233 a1c6a512-1295-4272-9138-f99709370657
2007-04-21 18:38:25 +00:00
Linus Nielsen Feltzing
69e1f7528a Gigabeat: Use the volume up/down buttons for zooming in the JPEG viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13192 a1c6a512-1295-4272-9138-f99709370657
2007-04-17 07:50:46 +00:00
Jens Arnold
47bf6c5a5a Moved archos backlight code to target tree. Changed old mutlivalue CONFIG_BACKLIGHT to a simple HAVE_BACKLIGHT.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13136 a1c6a512-1295-4272-9138-f99709370657
2007-04-12 22:12:13 +00:00
Michael Sevakis
9f2b5cce84 JPEG Viewer on color LCDs: Finish up another old project. Add grayscale display option. Add ordered and diffusion dither modes to output. These options are under 'Display Options' in the viewer menu and are persisted in jpeg.cfg. Default setting is color display without dithering as before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12987 a1c6a512-1295-4272-9138-f99709370657
2007-04-01 00:41:17 +00:00
Jens Arnold
79c8a8cbbe Let GCC check arguments of some more printf-style functions, also for plugins and codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12815 a1c6a512-1295-4272-9138-f99709370657
2007-03-17 09:02:53 +00:00
Jens Arnold
85a226d4e7 Rename some macros to account for the recently added M5 port. No code changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 23:02:39 +00:00
Jens Arnold
4d6374c923 Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
2007-03-16 21:56:08 +00:00
Jens Arnold
3a37f46fc9 Fix CONFIG_BACKLIGHT warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12393 a1c6a512-1295-4272-9138-f99709370657
2007-02-18 10:07:27 +00:00
Dave Chapman
d64e626387 Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI simulator (but with a dummy background image for now) and the beginnings of the target-specific firmare code. Port is temporarily using a 2bpp LCD buffer format - the AV300 has a 320x240 colour (YCbCr-based) LCD which will need a new framebuffer format and drawing routines, but the LCD is also capable of various paletted bitmap modes, one of which has an identical framebuffer format to the greyscale ipods. Buttons (and hence the button mappings) are identical to the Archos Recorder, with the exception that the PLAY button on the Recorder is replaced by pressing the joystick on the AV300 (which I call BUTTON_SELECT). The initial port will begin by being strictly HWCODEC, but will evolve to be a hybrid SWCODEC/HWCODEC platform - it has a MAS3587F but also a main CPU (54MHz arm7tdmi plus DSP) capable of software decoding of at least some formats.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12008 a1c6a512-1295-4272-9138-f99709370657
2007-01-14 13:48:09 +00:00
Nils Wallménius
5652b2528d Always use a black backgound while displaying images in jpegviewer, and use the usual foreground/background colors and backdrop in the jpegviewer menu
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11684 a1c6a512-1295-4272-9138-f99709370657
2006-12-07 17:23:52 +00:00
Jonathan Gordon
6288523cfe * Move checkbox to plugin api (core never uses it)
* replace the last of the scrollbar() calls with gui_scrollbar_draw()


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11552 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:11:42 +00:00
Peter D'Hoye
6170e8837b Quit the jpeg viewer gracefully if started without arguments or with a wrong file in a directory with no supported filetypes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11486 a1c6a512-1295-4272-9138-f99709370657
2006-11-09 23:21:28 +00:00
Jens Arnold
9a56fdf5b2 JPEG viewer: Removed the playback control menu on archos. It made no sense as the JPEG viewer always needs to use the main buffer on archos, and it could cause strange effects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11437 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 15:06:11 +00:00
Barry Wardell
24f4a2a8cf Allow the Sansa e200 UI simulator to be built. Thanks to Andre Smith for the nice image of the Sansa. Lots more to be done including testing and tweaking the keymaps and modifying the plugins for the Sansa's 176x220 LCD.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11351 a1c6a512-1295-4272-9138-f99709370657
2006-10-26 13:38:09 +00:00
Peter D'Hoye
9afce4d359 Disk spindown control during jpeg slideshow: for times below 10s, keep the disk spinning, for longer times spin down the disk immediately after loading the picture. Inspired by #FS5653 (Paul Jam / Gwen Roelants) and Jens Arnold
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11299 a1c6a512-1295-4272-9138-f99709370657
2006-10-21 14:47:55 +00:00
Peter D'Hoye
db0cc98aad Don't try to show the progress bar on top of the picture on grayscale lib targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11280 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 23:12:21 +00:00
Peter D'Hoye
167a9364a0 Make slideshow mode more slideshow: keep showing previous picture until next one is ready, just show a small progressbar to indicate loading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11276 a1c6a512-1295-4272-9138-f99709370657
2006-10-20 16:49:45 +00:00
Marcoen Hirschberg
d24ed9987b 'no voice' is -1 not 0 and menu_items does have a pointer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 12:48:36 +00:00
Marcoen Hirschberg
ed70da26bd don't assign NULL to a long (fixes sim build warnings)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 11:35:26 +00:00
Jens Arnold
e72820f5e2 Slightly optimised range_limit() for arm targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10494 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 23:15:17 +00:00
Jens Arnold
c214e7bb0c Grayscale library ported to the grayscale iPods, first version. Added C reference versions of gray_update_rect() for both horizontal and vertical pixel packing. gray_update_rect() and gray_ub_gray_bitmap_part() not yet assembler optimised. Grayscale screendump doesn't work yet. * Fixed button assignments for iPod in grayscale.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10468 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 01:46:42 +00:00
Daniel Stenberg
1e88be518a Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 20:17:25 +00:00
Jens Arnold
ce23f3d921 Greyscale targets: Fix empty display when returning from menu without action. Don't show remnants of old info during disk spinup when loading a new file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10426 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 06:51:27 +00:00
Jens Arnold
628d20a610 Grayscale library: LCD linearisation and gamma correction.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 00:22:01 +00:00
Peter D'Hoye
ac13e52522 jpeg viewer: keep backlight on. Patch 5652 by Matthias Mohr plus some changes by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10207 a1c6a512-1295-4272-9138-f99709370657
2006-07-12 23:15:16 +00:00
Kevin Ferrare
0e027bd90c To avoid having to use the main unit when accidentally launching a plugin from the remote, plugins now support remote quit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10157 a1c6a512-1295-4272-9138-f99709370657
2006-06-30 16:43:47 +00:00
Dave Chapman
217f54bc69 Patch #5362 from Alexander Spyridakis - fixes bugs #5159 and #5061
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9967 a1c6a512-1295-4272-9138-f99709370657
2006-05-20 13:47:08 +00:00
Hristo Kovachev
c138d004dc Fix jpeg viewer crashing in directories with files without extension.
Thanks go to Bill Janssen


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9954 a1c6a512-1295-4272-9138-f99709370657
2006-05-18 11:05:47 +00:00
Magnus Holmgren
7f1d214801 Correct a Coldfire asm constraint.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9869 a1c6a512-1295-4272-9138-f99709370657
2006-05-03 17:45:09 +00:00
Christian Gmeiner
a91b794cb2 use #ifdef x instead of #if defined(x)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9581 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 15:00:30 +00:00
Christian Gmeiner
eb7d4f88ea HAVE_ADJUSTABLE_CPU_FREQ isn't defined for simulators, so we don't have to check for simulator builds before using cpu_boost()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9580 a1c6a512-1295-4272-9138-f99709370657
2006-04-09 14:50:43 +00:00
Christian Gmeiner
e7a6749c41 its much better to clear everytime the lcd
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9342 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 10:36:48 +00:00
Christian Gmeiner
50012ab797 oops.. fix yellow builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9341 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 10:30:52 +00:00
Christian Gmeiner
47bf642002 Patch #4936 from Jonathan Gordon with a small change by me. slideshow support for JPEG viewer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9340 a1c6a512-1295-4272-9138-f99709370657
2006-03-29 10:12:39 +00:00
Jens Arnold
8dccb294a8 Removed unused debug function which caused a warning for 64bit simulators.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8895 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 08:51:04 +00:00
Daniel Stenberg
220fafdd72 Code Police raid. Mostly changed // comments and indented to Rockbox style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
2006-03-03 08:14:44 +00:00
Jens Arnold
6a972e0249 Finally - grayscale library support for the simulators. Currently SDL only, win32 and x11 won't link anymore due to missing simulator functions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
2006-02-26 13:37:42 +00:00
Marcoen Hirschberg
338e2bbb0c first gigabeat commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8831 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:42:52 +00:00
Linus Nielsen Feltzing
568ac3eb21 Button driver for iAudio X5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Thom Johansen
6e3ad7eead Add ASM optimised range_limit() for ARM, which gives a tiny performance
gain. Removed a couple of tabs.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8740 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 18:57:46 +00:00
Jens Arnold
f285f60936 Repeat rate adaption is now handled by the button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8739 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 13:45:35 +00:00
Jens Arnold
2ea75fdbec Replace the range_limit lookup table with an inline function, asm optimised for SH1 and coldfire. Slight speedup on SH1, up to 15% speedup on coldfire. Saves almost 1KB.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8736 a1c6a512-1295-4272-9138-f99709370657
2006-02-19 12:43:50 +00:00
Hristo Kovachev
800f81006e Oops, fix the simulator builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8730 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 21:44:33 +00:00
Hristo Kovachev
e1b33b96bc Okay, clearing the display twice doesn't give us anything more..
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8729 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 21:04:30 +00:00
Hristo Kovachev
cc6f37b8d8 "Next/Previous jpeg from within the JPEG viewer" addition by Alexander Spyridakis, modified a bit by me
Also tries to use the plugin buffer instead of the audio buffer on the platforms with more than 130kb plugin buffer size (thus not stopping the music playback). If the free buffer from the plugin buffer is not enough, asks for stopping playback. Needs a little more work, but seems stable as it is.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8728 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 20:51:34 +00:00
Jens Arnold
eaa7e22d98 Put not-so-large arrays on the stack, so they end up in IRAM on Iriver and iPod. Approximately doubles decoding speed on Iriver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8717 a1c6a512-1295-4272-9138-f99709370657
2006-02-17 18:14:28 +00:00