Maurus Cuelenaere
6471b3c81a
Commit FS#9607 by Adam Hogan: fix plugin keymaps for Creative Zen Vision:M
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19363 a1c6a512-1295-4272-9138-f99709370657
2008-12-08 09:51:42 +00:00
Björn Stenberg
cea285d64e
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
2008-12-04 21:28:56 +00:00
Rafaël Carré
81fe625a62
Sansa Clip: grey lib support (not calibrated yet)
...
Declare HAVE_LCD_INVERT
Put the framebuffer into IRAM
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19249 a1c6a512-1295-4272-9138-f99709370657
2008-11-27 21:07:54 +00:00
Björn Stenberg
c6b3d38a15
New makefile solution: A single invocation of 'make' to build the entire tree. Fully controlled dependencies give faster and more correct recompiles.
...
Many #include lines adjusted to conform to the new standards.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19146 a1c6a512-1295-4272-9138-f99709370657
2008-11-20 11:27:31 +00:00
Rafaël Carré
cd9b1379ff
Sansa Clip simulator
...
First draft at keymapping based on e200
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
2008-10-31 18:54:37 +00:00
Dave Chapman
d462a64a91
Initial commit of iaudio 7 port by Vitja Makarov (FS#9245). Port is at quite an advanced stage, but is troubled by the lack of a reliable NAND driver (similar to the Cowon D2 port) and is not yet suitable for non-developers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18435 a1c6a512-1295-4272-9138-f99709370657
2008-09-06 17:50:59 +00:00
Maurus Cuelenaere
1392dc2144
Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREEN
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
2008-08-23 09:46:38 +00:00
Nils Wallménius
01729e7a18
FS#9281 Rename of splash functions.
...
* Remove gui_splash()
* Rename gui_syncsplash() to splashf() and remove its voice
capabilities.
* Rename the internal splash() to splash_internal() and introduce an
externally visible splash() that handles simple splashing without
printf functionality e.g. splash(HZ, ID2P(LANG_FOO)); or splash(HZ,
"foo"); if a LANG_* id is passed it will be voiced.
* Adjust all places that called gui_syncsplash() to use the correct
variant from above.
* Export both new functions to plugins and adjust places calling
rb->splash() to use the correct variant so that we now have naming
consistency between the core and plugins.
* Fix one latent bug that would cause my sim to crash with the above
changes and correct P2STR and P2ID macros, thanks to pondlife.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18282 a1c6a512-1295-4272-9138-f99709370657
2008-08-15 08:27:39 +00:00
Daniel Stenberg
2acc0ac542
Updated our source code header to explicitly mention that we are GPL v2 or
...
later. We still need to hunt down snippets used that are not. 1324 modified
files...
http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
2008-06-28 18:10:04 +00:00
Antoine Cellerier
8e7454cc73
Hopefully fix compilation warnings and link errors. Add some feedback (file being hashed). Boost CPU.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17710 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 13:55:47 +00:00
Antoine Cellerier
34d4165f7b
New md5sum plugin. Open a file, a directory or just launch it from the plugin menu to create an md5sum of the file, the directory's contents or the whole filesystem. If the file's extension is .md5 or .md5sum, it will check the md5 sums in the file instead. If the file's extension is .md5list it will compute md5 sums for all the files listed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17709 a1c6a512-1295-4272-9138-f99709370657
2008-06-10 13:20:05 +00:00
Maurus Cuelenaere
e1753de41a
1) Implement generic touchscreen detection library for the plugins
...
2) Adapt minesweeper, pegbox & calculator to it
3) Simplify gui/bitmap/list.c
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17695 a1c6a512-1295-4272-9138-f99709370657
2008-06-06 18:29:46 +00:00
Jens Arnold
4a6190dd13
Hopefully fix FS #8840 for iAudio M3, M5 and X5. Reduce greyscale update frequency on M3 in order to reduce CPU load (was >50% before, but this fix would have made it even worse).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17621 a1c6a512-1295-4272-9138-f99709370657
2008-05-24 08:53:12 +00:00
Mark Arigo
b4275d4941
Philips GoGear SA9200 port. Working bootloader and normal builds, including sound. No touchpad now, buttons limited to using vol+/vol-/power for up/down/select. Rockbox USB is enabled since the OF is MTP only...read the warnings on the PortalPlayerUsb wiki page.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17591 a1c6a512-1295-4272-9138-f99709370657
2008-05-21 03:55:17 +00:00
Michael Sevakis
1f2df74079
MPEGPlayer quickie: add an option to set the backlight brightness to a plugin-specified value when playing video or interacting. Nice when one likes a dim backlight normally but that isn't sufficient when viewing video for instance. Suggested in FS#8417 in addition to my own desire for this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17563 a1c6a512-1295-4272-9138-f99709370657
2008-05-18 00:14:34 +00:00
Steve Bavin
6526577818
Plugin parameters should be const.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17492 a1c6a512-1295-4272-9138-f99709370657
2008-05-13 09:57:56 +00:00
Peter D'Hoye
21a3733888
Lamp plugin: accept the reduced patch of FS #8934 by Alexander Papst
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17425 a1c6a512-1295-4272-9138-f99709370657
2008-05-08 21:23:31 +00:00
Nicolas Pennequin
357ffb3c46
Convert the whole codebase to UTF-8, except docs/COMMITTERS and tools/creative.c, which need checking.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17369 a1c6a512-1295-4272-9138-f99709370657
2008-05-05 10:32:46 +00:00
Bertrik Sikken
a36c8f1db3
pluginlib: made local functions in static and made sure that source files include their own header file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17353 a1c6a512-1295-4272-9138-f99709370657
2008-05-04 13:21:07 +00:00
Jonathan Gordon
fe9dca3d5b
option_screen() now accepts a viewport
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17223 a1c6a512-1295-4272-9138-f99709370657
2008-04-23 11:07:40 +00:00
Jonathan Gordon
33b785e40b
allow the plugin playback control menu to be put in a viewport.
...
fix text editor so it is actually possible to get to the control menu if the file hasnt been changed (its in the regular menu now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17221 a1c6a512-1295-4272-9138-f99709370657
2008-04-23 10:28:34 +00:00
Jonathan Gordon
fa98e290b2
grr.. typo
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17138 a1c6a512-1295-4272-9138-f99709370657
2008-04-16 02:38:52 +00:00
Jonathan Gordon
05674b039a
more touchpad changes... both targets should be using the same action tables except for their real buttons.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17137 a1c6a512-1295-4272-9138-f99709370657
2008-04-16 02:31:20 +00:00
Rob Purchase
1423e9c0bc
Make the D2 pluginlib actions a little less braindead (and more green). Use physical buttons where possible, and/or touchpad quadrants where appropriate.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17132 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 22:35:00 +00:00
Jonathan Gordon
970cfee394
woops... fix red and some svn keywords.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17115 a1c6a512-1295-4272-9138-f99709370657
2008-04-15 11:00:38 +00:00
Nils Wallménius
6848961aa5
Pass the buffer length to the list_get_name callback functions instead of using hardcoded MAX_PATH
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17049 a1c6a512-1295-4272-9138-f99709370657
2008-04-09 15:25:17 +00:00
Robert Kukla
306652c940
it's #else not #elif (fix red)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17034 a1c6a512-1295-4272-9138-f99709370657
2008-04-08 15:25:35 +00:00
Robert Kukla
ff554e0c7f
m:robe 100 - make screendump work for greyscale and add screenshots for the manual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17033 a1c6a512-1295-4272-9138-f99709370657
2008-04-08 15:04:26 +00:00
Jens Arnold
9c32dde82c
This TODO is no longer todo...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17029 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 21:47:58 +00:00
Jens Arnold
ece03129b6
Make the greyscale library work on the m:robe 100. Testing on target done by Robert Kukla & Dominik Riebeling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17028 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 21:14:29 +00:00
Nicolas Pennequin
6bef4f6549
Oops. Fix red.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17002 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:47:21 +00:00
Nicolas Pennequin
6aa36c66a3
Commit FS#8308 (Port of imlib2 based smooth scaling) by Jonas Hurrelmann. It could be made smaller by taking out some special cases, but I'm leaving them in for now because size isn't really a concern until we decide to move it into the core (if we ever do). test_resize now allows to choose between both resize methods for comparison. sliding_puzzle is made to use the smooth scaling.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17001 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 22:30:50 +00:00
Jens Arnold
df8749d6d7
Adapt the remaining plugins to put the greyscale isr on cop. Now they can be used while playing music without making the audio stutter. Needs the new SHAREDBSS_ATTR.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16987 a1c6a512-1295-4272-9138-f99709370657
2008-04-06 13:59:31 +00:00
Jens Arnold
1d8312f996
Fix occasional crashes on greylib exit (LCD controller confusion) when running on COP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16976 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 09:38:59 +00:00
Jens Arnold
8f560bc2b5
Greyscale library: Always use reconstructing inversion, because it's legal to use unbuffered drawing functions in buffered mode, meaning that the chunky buffer might not be in sync with what's displayed. Mpegplayer does this.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16975 a1c6a512-1295-4272-9138-f99709370657
2008-04-05 08:56:43 +00:00
Jens Arnold
32bd0f8ab1
Greyscale library: Optionally put the greyscale ISR on COP on portalplayertargets (only use with the grey_info structure in IRAM atm\!). This speeds up doom by ~50%, and makes mpegplayer work without stuttering audio on targets using it (measured on iPod 2nd Gen and Mini 2nd Gen). It needs corelocking certain functions in the LCD driver on 1st/2nd Gen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16973 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 22:13:53 +00:00
Jens Arnold
ac9b92716a
Allow to select the core for running the user timer on portalplayer targets. * Incompatible plugin API change -> sorted API.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16965 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:38:46 +00:00
Jens Arnold
3183b9e534
Greyscale library: Put the backlight status on 1st/2nd Gen into the flags, saving a separate global.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16964 a1c6a512-1295-4272-9138-f99709370657
2008-04-04 19:14:19 +00:00
Jens Arnold
5c87a98b97
Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16936 a1c6a512-1295-4272-9138-f99709370657
2008-04-02 22:16:14 +00:00
Jonathan Gordon
5ca1539969
the menu and list now accepts a parent viewport to draw in (and the menu can be told to not show status/button bars). This lays the groundwork to fix colour problems with plugin menus (see star.c for an example.) This hopefully fixes some button bar issues as well as theme problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16812 a1c6a512-1295-4272-9138-f99709370657
2008-03-26 03:35:24 +00:00
Jens Arnold
40919d7db2
iAudio M3: Optimised LCD driver, with more/better assembly code. Speedup is ~80% when boosted, ~15% when unboosted. Also implemented grey phase blitting. * Adapted the greyscale library, and the plugins using it. * Fixed a bug in greyscale scroll down for vertically packed pixels.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16809 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 23:21:36 +00:00
Jens Arnold
1f4bcc86da
Revert accidental tree commit. /me needs a smaller enter key...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16805 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:57:23 +00:00
Jens Arnold
9a7978aeab
Cabbiev2 gigabeat background: reduce WPS backdrop filesize by storing it as 24 bit BMP instead of unnecessary 32 bit.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16802 a1c6a512-1295-4272-9138-f99709370657
2008-03-25 19:43:08 +00:00
Jens Arnold
68a21689ae
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
2008-03-24 00:35:53 +00:00
Jens Arnold
e03ef1ec23
LCd extension lib: Implement proper scrolling for 2 bit vertical interleaved LCD. Stops oscilloscope from crashing on M3. * A few small simplifications.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16754 a1c6a512-1295-4272-9138-f99709370657
2008-03-23 00:28:16 +00:00
Jens Arnold
29361abf74
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
2008-03-22 10:24:28 +00:00
Robert Kukla
6e209443c5
- add button descriptions to the m:robe 100 manual for the majority of plugins
...
- add gigabeat button descriptions which were missing
- fix a few inconsistencies I noticed doing the above (mainly outstanding r13278 follow-ons)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16693 a1c6a512-1295-4272-9138-f99709370657
2008-03-18 09:24:35 +00:00
Jonathan Gordon
c194b388fa
pointers suck... spotted in IRC
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16625 a1c6a512-1295-4272-9138-f99709370657
2008-03-11 09:16:44 +00:00
Jens Arnold
6058e0cdb7
Minor cleanups mostly for consistency.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16539 a1c6a512-1295-4272-9138-f99709370657
2008-03-06 18:25:29 +00:00
Jens Arnold
37d43f49f4
Greyscale library: Assembler optimised update function for SH1 (Archos recorders, Ondios), giving ~50% speedup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16532 a1c6a512-1295-4272-9138-f99709370657
2008-03-05 22:14:13 +00:00
Jens Arnold
8493f5bcf6
Greyscale library: Preparations for a gamma measurement plugin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16492 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 23:31:09 +00:00
Jens Arnold
e57806acaa
Fix svn properties.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16483 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:07:02 +00:00
Jens Arnold
52e1f81599
Greyscale library: Assembler optimised update for coldfire, ~73% speedup when using IRAM, ~35% speedup without IRAM. Slight optimisation for other targets as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16482 a1c6a512-1295-4272-9138-f99709370657
2008-03-02 17:05:00 +00:00
Mark Arigo
d829075a00
Driver for the Synaptics touchpad on the m:robe 100 based on the 3-wire interface spec. Needs some tweaking as it's too sensitive with the default hardware settings. For now, the vertical strip is divided into up/select/down buttons. Also, redo the keymap (using the Gigabeat as a starting point), but it still needs a good bit of work.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16400 a1c6a512-1295-4272-9138-f99709370657
2008-02-24 04:12:16 +00:00
Will Robertson
8215b34fdb
Plugins now enabled and working for the Gigabeat S.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16323 a1c6a512-1295-4272-9138-f99709370657
2008-02-17 12:23:02 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jonathan Gordon
5f3af14568
add PLA keys for mrobe, and dont bother compiling any plugins yet
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15258 a1c6a512-1295-4272-9138-f99709370657
2007-10-22 01:29:16 +00:00
Nils Wallménius
5a1b179f12
Accept FS#7966 by Bertrik Sikken, correcting captions in playback control submenus
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15229 a1c6a512-1295-4272-9138-f99709370657
2007-10-20 21:56:43 +00:00
Robert Kukla
a07e93938c
fix yellow and some house cleaning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15056 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 21:28:51 +00:00
Robert Kukla
fd3fe45bc1
FS#7487 - mpegplayer - video start time seek with resume
...
by John S. Gwynne & Brian J. Morey
This should stop the patch from breaking again and give them opportunity to improve it further.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15052 a1c6a512-1295-4272-9138-f99709370657
2007-10-09 20:42:20 +00:00
Tomasz Malesinski
4fc77ac3ff
Fix empty commit: Add grayscale support for ARM in vertical packing format.
...
Enable grayscale for Iriver ifp. Fix timer_unregister for PNX0101.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14825 a1c6a512-1295-4272-9138-f99709370657
2007-09-22 23:37:58 +00:00
Jens Arnold
a8af83e8f9
Code police raid: header files must not define actual code.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14789 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 17:42:28 +00:00
Marianne Arnold
12ddb8ea0d
Enable plugins on the Sansa C200. Large parts taken from patch FS#7749 by Max Kelley with tweaks, bit of cleanup and additional bitmaps by me. Some of the now enabled plugins could still be improved in regard to screen size adaptation or keymaps but this way it can easily be done later and one by one. The rather ugly 'ifndef's I added temporaryly in plugins/SOURCES will also go one by one. Plugin button actions cause some quirks in a few plugins (e.g. 'clock') but since it's not critical , the bitmaps were already done and it makes a good example for discussing plugin button actions, I thought it could go in.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14771 a1c6a512-1295-4272-9138-f99709370657
2007-09-20 10:49:48 +00:00
Jonathan Gordon
cf1cef5f57
minor update to gui_synclist_do_button() which will hopefully simplify things later.
...
Now returns true if the action was handled in that function instead of returning the handled action.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14733 a1c6a512-1295-4272-9138-f99709370657
2007-09-17 10:08:50 +00:00
Nils Wallménius
04b3435afd
Clean up hard-coded paths
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14662 a1c6a512-1295-4272-9138-f99709370657
2007-09-10 09:46:36 +00:00
Peter D'Hoye
767c0ec589
Pass plugin api pointer to funtion directly, fixes crashes when doing incremental builds. Fix incorrect backlight changes in rockblox introduced recently.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14373 a1c6a512-1295-4272-9138-f99709370657
2007-08-16 23:01:18 +00:00
Peter D'Hoye
ba8ec4a605
Ignore HAVE_BACKLIGHT for plugins, as they build without the check and makes life easier for ondio owners.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14360 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 18:25:03 +00:00
Peter D'Hoye
cb53e3cef4
Bring mpegplayer backlight fix to the other plugins, this also fixes some wrongly ifdef'd backlight calls.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14352 a1c6a512-1295-4272-9138-f99709370657
2007-08-15 12:42:09 +00:00
Peter D'Hoye
4060a8c4f7
Now get those keywords right...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14322 a1c6a512-1295-4272-9138-f99709370657
2007-08-13 22:37:44 +00:00
Peter D'Hoye
a5d4d67763
Also keep the backlight on in mpegplayer when plugged in. Fixes FS #7584 . Created two helper functions for this, because this issue also exists in other plugins (to do). The helper functions are in the pluginlib in helper.[ch], where other common stuff can be put.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14321 a1c6a512-1295-4272-9138-f99709370657
2007-08-13 22:31:11 +00:00
Peter D'Hoye
2c4cae1bf3
Let solitaire save its settings when performing shutdown from inside the game or menu
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14276 a1c6a512-1295-4272-9138-f99709370657
2007-08-10 22:48:55 +00:00
Jonathan Gordon
fda7d720c0
Accept FS#5464 - organise the rocks directory.
...
If any plugins or "open with" optoins dont work please let me know...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-08-06 13:42:52 +00:00
Kevin Ferrare
93b2f9fd44
Rewrote the clock plugin in a cleaner and more modular way so that it can scale on remote screens. Use left-right keys to change the type of clock displayed (analogic, digital, binary) and up/downto change the look of the clock
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14174 a1c6a512-1295-4272-9138-f99709370657
2007-08-04 03:01:46 +00:00
Robert Keevil
98e6073906
vu_meter: Use the fixedpoint lib (moving flog there)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14103 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 17:23:49 +00:00
Kevin Ferrare
df4f56b2b0
plugins code cleanup : moved the duplicated fixed point table loockup based sinus/cosinus functions to fixedpoint.c, removed the bmp size definition in the clock.c|-(useless as the size is already defined in a .h generated with every bitmaps ...)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14087 a1c6a512-1295-4272-9138-f99709370657
2007-07-31 04:59:03 +00:00
Kevin Ferrare
885cdfdeb9
fixed the speed problem on bitmaps LCD for the jackpot plugin and added the remote key bindings for h1x0 and x5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14034 a1c6a512-1295-4272-9138-f99709370657
2007-07-28 05:42:55 +00:00
Jens Arnold
cebd767224
Grayscale library: Tuned frame frequency for the 2nd/3rd gen LCD.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14026 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 16:21:01 +00:00
Jens Arnold
b701322fea
Rockbox compiles and boots now on the 2nd gen, but doesn't work properly yet.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14021 a1c6a512-1295-4272-9138-f99709370657
2007-07-27 09:57:27 +00:00
Jonathan Gordon
fe2b376060
Fix the text for settings which have a different title than what is shown in the menu (i.e scroll options)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13962 a1c6a512-1295-4272-9138-f99709370657
2007-07-23 05:40:45 +00:00
Jonathan Gordon
f7675a244b
remove the need for action_signalscreenchange().
...
Fixes problems with targets where the ACTION_STD_CANCEL event is a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
2007-07-22 06:05:53 +00:00
Kevin Ferrare
21cc9a6d76
Dice plugin now works on remote and uses the action api ; cleaned up the code a little bit as well
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13935 a1c6a512-1295-4272-9138-f99709370657
2007-07-20 02:47:37 +00:00
Kevin Ferrare
e68a2e6c41
Remote keys support for the demystify plugin (added remote_directions to the plugins actions), updated key bindings in manual
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13927 a1c6a512-1295-4272-9138-f99709370657
2007-07-19 03:49:43 +00:00
Jonathan Gordon
a5278fa3db
Rearrange and cleanup settings code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13851 a1c6a512-1295-4272-9138-f99709370657
2007-07-11 05:41:23 +00:00
Nils Wallménius
61cf9b8513
Move the MEM_FUNCTION_WRAPPERS macro into plugin.h and get rid of the extra header file
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13628 a1c6a512-1295-4272-9138-f99709370657
2007-06-14 15:07:54 +00:00
Nils Wallménius
c7f9ca4067
Accept FS#7264 'Build with -Os switch for coldfire targets'.
...
Introduces MEM_FUNCTION_WRAPPERS(api) macro which adds wrappers
functions to a plugin to make plugins link correctly when gcc
calls mem* functions directly.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13625 a1c6a512-1295-4272-9138-f99709370657
2007-06-13 15:35:07 +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
Jens Arnold
f9b90e9103
Now charcell displays require lcd_update() for updating the main lcd content like bitmap displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
2007-04-06 22:55:00 +00:00
Jonathan Gordon
21c930310c
woops, used the wrong define
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 10:14:32 +00:00
Jonathan Gordon
73c46ffd6e
Convert the playback control menu to the new API. Makes a good example
...
for plugin devs :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12919 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 09:14:16 +00:00
Jens Arnold
ad4e3d6657
First step of charcell LCD code rework: * Make it fully unicode aware so that adding non-ISO8859-1 scripts becomes possible (limited by the LCD capabilities of course). * Make the API more similar to the bitmap LCD code's API. * Moved hardware dependent parts to target tree. * Simplified code. * Jumpscroll temporarily non-functional.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12916 a1c6a512-1295-4272-9138-f99709370657
2007-03-26 07:52:13 +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
Jonathan Gordon
6e44209a4c
Make the Play / Pause option restart playback if its stopped also
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12738 a1c6a512-1295-4272-9138-f99709370657
2007-03-12 13:41:52 +00:00
Thom Johansen
5ba289bc27
Kill a warning.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12204 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:18:29 +00:00
Thom Johansen
5f48e1590f
Optimise EQ coef calculation routines for both speed and size. Move now unneeded fsqrt function to plugin fixed point library in case it'll be needed. Move all fixed point helper macros to dsp.h. Added FRACMUL_SHL macro to facilitate high-precision shifting of 64 bit multiplies and remove rounding from macsr in main thread to make this work as intended.
...
Tested quite thorougly, but as always, be careful with your ears.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12203 a1c6a512-1295-4272-9138-f99709370657
2007-02-05 01:01:15 +00:00
Jens Arnold
67eb154146
Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ignored on target and mixed into 'oflags' in the simulator. * Simplified io.c a bit by defining a dummy O_BINARY for OSes which don't have that.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12179 a1c6a512-1295-4272-9138-f99709370657
2007-02-01 23:08:15 +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
Linus Nielsen Feltzing
cf8251281c
Removed executable flag
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11966 a1c6a512-1295-4272-9138-f99709370657
2007-01-09 23:22:14 +00:00
Steve Gotthardt
d850db102f
Gigabeat gets rockblox ! Thanks to the RedZZR Gary Allen.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11918 a1c6a512-1295-4272-9138-f99709370657
2007-01-05 16:32:20 +00:00
Jens Arnold
fcc00458a9
Beginnings of a fixed point math library for use in plugins. fsincos() only for now, mostly copied from eq.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11712 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 23:04:05 +00:00
Jens Arnold
f98fd72fe7
Beginnings of a fixed point math library for use in plugins. fsincos() only for now, mostly copied from eq.c
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11709 a1c6a512-1295-4272-9138-f99709370657
2006-12-10 22:50:00 +00:00
Nils Wallménius
daa16b9d6b
Fix minor typo in the plugin playback control menu c->C
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11619 a1c6a512-1295-4272-9138-f99709370657
2006-11-28 15:28:30 +00:00
Jonathan Gordon
e25c840b98
ipod keypad fixes.. fixes bubbles
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11598 a1c6a512-1295-4272-9138-f99709370657
2006-11-26 09:35:12 +00:00
Jonathan Gordon
6e2778b079
grr.. forgot to add these files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11553 a1c6a512-1295-4272-9138-f99709370657
2006-11-19 14:19:15 +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
Jonathan Gordon
73e31d1af3
fix ondios again. Add a context for left/right/fire actions which seems
...
to work well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11546 a1c6a512-1295-4272-9138-f99709370657
2006-11-18 11:16:53 +00:00
Jonathan Gordon
ef35bb9d47
fix builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11537 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:12:27 +00:00
Jonathan Gordon
9ddcab8eb0
woops, i'm a dill!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11536 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 03:05:25 +00:00
Jonathan Gordon
7b8b0ff491
implement actions in the plugins, bubbles and metronome converted.
...
(hopefully buttons are correct, let me know in
http://forums.rockbox.org/index.php?topic=5829.0 if there is a major
stuff up)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
2006-11-16 02:53:44 +00:00
Jens Arnold
32c69452d6
Grayscale lib: Using a 32x32->32 bit multiplication is better on ARM, as 16x16->32 bit isn't a single instruction. Renamed the macro for pointing out that it's not necessarily 16 bit anymore, and to avoid collisions with similar macros in plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11436 a1c6a512-1295-4272-9138-f99709370657
2006-11-05 14:40:14 +00:00
Jens Arnold
a796260a6b
Next step of Makefile tuning: * Use 'make' internal commands for printing messages. Saves build time especially on cygwin. * SILENT variable used in more places. * Bitmap build system uses one Makefille less.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11369 a1c6a512-1295-4272-9138-f99709370657
2006-10-27 21:48:06 +00:00
Jens Arnold
d1ce4e779e
Consistent style of 'make' messages. Always use ranlib after ar.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
2006-10-23 22:33:39 +00:00
Jens Arnold
89658651d7
Rockblox: * Ported to the Player :-P * Slight optimisation in refresh_board().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11146 a1c6a512-1295-4272-9138-f99709370657
2006-10-07 20:00:49 +00:00
Jens Arnold
bd7248d106
* Use fast multiplication macro in some more places. * Better pipelining on SH1.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10652 a1c6a512-1295-4272-9138-f99709370657
2006-08-19 06:29:23 +00:00
Jens Arnold
e6ed58f6c5
Better implementation of the new greyscale algorithm. A bit faster (+2% on iPod and Archos, +7% on Iriver H1x0), and more straightforward. * Fixed garbage display when a plugin switches on the overlay before drawing anything.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10534 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 23:40:05 +00:00
Jens Arnold
71dc284b5d
New algorithm for grayscale buffer updates which is faster for large buffer depths. Speedup (unbuffered, depth==32): +8% on H1x0, +17% on Recorder (depth==24), and +83% on iPod Mini.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10529 a1c6a512-1295-4272-9138-f99709370657
2006-08-11 14:13:01 +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
f54c34eb0f
ARM targets: Shave off one instruction from the multiply-by-75.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10503 a1c6a512-1295-4272-9138-f99709370657
2006-08-09 14:17:09 +00:00
Jens Arnold
e7aeebf0bf
Fix sim warnings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10481 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 22:34:20 +00:00
Jens Arnold
754e173c25
Grayscale lib: Working screendump on iPod (target + sim).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10478 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 21:58:32 +00:00
Jens Arnold
c00d799fa3
* Assembler optimised gray_update_rect() and writearray() for arm (greyscale iPods). * Some slight optimisations for coldfire (H1x0) and SH1 (archos). * Comment and formatting cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10473 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 17:21:38 +00:00
Jens Arnold
d55503d80b
We can run the grayscale lib at full frame rate on iPods...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10471 a1c6a512-1295-4272-9138-f99709370657
2006-08-07 08:59:55 +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
Jens Arnold
51d3dba10a
Again smaller fixed point exp()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10455 a1c6a512-1295-4272-9138-f99709370657
2006-08-04 07:32:23 +00:00
Jens Arnold
f212e6cf5f
Smaller & faster (on our targets) fixed point exp() with a multiplication.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10454 a1c6a512-1295-4272-9138-f99709370657
2006-08-04 07:02:34 +00:00
Jens Arnold
89c81ce1fb
Repair bufferend scrolling background.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10434 a1c6a512-1295-4272-9138-f99709370657
2006-08-03 15:13:57 +00:00
Jens Arnold
b4cb493135
Proper rounding...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10420 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 21:15:22 +00:00
Jens Arnold
fd9bd310a2
Slightly better precision.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10419 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:57:40 +00:00
Jens Arnold
344849cc22
Ooops, don't apply correction when it shouldn't be applied.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
2006-08-02 20:19:20 +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
Linus Nielsen Feltzing
c849219370
Moved the X5 button driver to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Antoine Cellerier
2da8f69c95
Lib to save a bitmap struct to a bmp file. Only works/tested with color bitmaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10254 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:44:44 +00:00
Antoine Cellerier
5e306b4c19
RGB <-> HSV colorspace conversion lib
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10253 a1c6a512-1295-4272-9138-f99709370657
2006-07-19 19:40:17 +00:00
Jens Arnold
393f31cc43
1bit and 2bit LCD drivers: Low-level bit handling optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10225 a1c6a512-1295-4272-9138-f99709370657
2006-07-18 00:04:43 +00:00
Dan Everton
b2ec716534
Use correct file mode when creating files. Fixes task 5452
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10020 a1c6a512-1295-4272-9138-f99709370657
2006-05-30 11:26:41 +00:00
Jens Arnold
d43e719d59
SH1: Better placement of the C library routine references (gcc 3.4.x -Os and -O2 proof).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9748 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 19:48:02 +00:00
Jens Arnold
5ad51c61bc
Greyscale ipods: Fix horizontal scrolling in oscilloscope, the flipped LCD driver broke it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9537 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 20:31:57 +00:00
Jens Arnold
b509ff5069
Patch #3022 by Mikael Magnusson: Only zero out the actual bss area instead of the whole plugiin buffer, for faster plugin loading. * Applied the same idea to the overlay loader.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9535 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 18:26:14 +00:00
Jens Arnold
1be25a4d71
Use TIMER_FREQ for timers in plugins. Fixes timer speed on iPod.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9427 a1c6a512-1295-4272-9138-f99709370657
2006-04-02 12:45:30 +00:00
Linus Nielsen Feltzing
6f4d721d23
Basic plugin playback control menu by Jonathan Gordon (Patch #4874 )
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9269 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:33:25 +00:00
Brandon Low
9c2b203025
Fix profiling compilation for non-m68k targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8967 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 01:37:52 +00:00
Jens Arnold
93113f5645
The LCD extension lib was split into 3 parts: Removed old file.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8954 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 07:29:42 +00:00
Jens Arnold
10e7e22452
Minor optimisation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8952 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 01:15:09 +00:00
Jens Arnold
19b45a4374
LCD extension library: Implemented scrolling for LCD depths below 8 bit. * Oscilloscope: Use new scrolling function, some minor optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8951 a1c6a512-1295-4272-9138-f99709370657
2006-03-08 01:14:46 +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
f16c1f341a
prevent rockbox from using the wrong includes
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8827 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 13:48:52 +00:00
Jens Arnold
eeec278d21
Made the overlay loader code part of the plugin library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8813 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 20:46:33 +00:00
Jens Arnold
ba4991cc19
Apply same optimisation as for the core lcd drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8797 a1c6a512-1295-4272-9138-f99709370657
2006-02-23 01:22:29 +00:00
Jens Arnold
e48e60b3e0
Faster filled triangle drawing for colour targets and greyscale iPods.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8751 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 19:15:46 +00:00
Dave Chapman
3e164cb8da
Do not compile grayscale lib (and plugins needing it) for the iPod Grayscale LCD
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8653 a1c6a512-1295-4272-9138-f99709370657
2006-02-10 20:03:23 +00:00
Jens Arnold
fbfd3e2f31
Changed the 'stride' parameter of all *_bitmap_part() function to always mean the source bitmap width in pixels. Playergfx was the only engine where this was not true.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8621 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:45:17 +00:00
Jens Arnold
bfbbf4705f
Ooops, small fix.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8620 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:05:39 +00:00
Jens Arnold
09b9a412f0
Preparation for colour gfx viewers: xlcd_color_bitmap_part() and xlcd_color_bitmap() added to the plugin library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8619 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 08:03:14 +00:00
Jens Arnold
56647275b5
JPEG viewer adapted to colour targets (greyscale only for now). New functions in the lcd extensions plugin library for drawing canonical greyscale bitmaps.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8617 a1c6a512-1295-4272-9138-f99709370657
2006-02-08 01:14:29 +00:00
Jens Arnold
e6e8aa9519
Added memmove() to codec API & plugin API, and changed codeclib and plugin libs to use it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8602 a1c6a512-1295-4272-9138-f99709370657
2006-02-06 16:04:01 +00:00
Jens Arnold
e49cade42d
Colour targets: Adapted mandelbrot plugin. The plugin library now contains scrolling routines for >= 8 bpp displays.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8578 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 12:59:10 +00:00
Tomasz Malesinski
c31d2f84b7
Fixed warnings on iFP.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8550 a1c6a512-1295-4272-9138-f99709370657
2006-02-03 23:14:42 +00:00
Jens Arnold
83b2628b05
Bugfix: gray_putsxyofs() couldn't have worked before
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8432 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 22:13:38 +00:00
Jens Arnold
3d2cab614e
Grayscale library: colour macros now matching the core LCD drivers.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8431 a1c6a512-1295-4272-9138-f99709370657
2006-01-23 22:13:00 +00:00
Brandon Low
05dccc3551
Profiling support, tools and documentation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8375 a1c6a512-1295-4272-9138-f99709370657
2006-01-18 20:54:13 +00:00
Jens Arnold
b4d0587862
Fixed comment.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8067 a1c6a512-1295-4272-9138-f99709370657
2005-11-26 09:05:03 +00:00
Jens Arnold
bce7c3eb50
Slight optimisation of gray_mono_bitmap_part() (only affects H1x0).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8064 a1c6a512-1295-4272-9138-f99709370657
2005-11-25 18:46:55 +00:00
Jens Arnold
5b2cba17aa
Changed the LCD_COLOR pixel value format to packed RGB (unsigned int). Now all LCDs with depth > 1 use the same datatype. Added macros for easy pixel value definition.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7912 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 21:09:23 +00:00
Linus Nielsen Feltzing
dc9e201671
Support for a colon-separated path in APPEXTRA
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7663 a1c6a512-1295-4272-9138-f99709370657
2005-10-27 14:39:00 +00:00
Jens Arnold
ddad7197ed
H1x0: Slight optimisation of the grayscale library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7646 a1c6a512-1295-4272-9138-f99709370657
2005-10-20 19:56:32 +00:00
Jens Arnold
625ef752fb
Fixed some misleading comments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7608 a1c6a512-1295-4272-9138-f99709370657
2005-10-10 16:46:51 +00:00
Jens Arnold
1cbac551be
Grayscale lib on archos: Fixed bug introduced with the register usage change. Reusing a register twice won't work that well...
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7577 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 12:51:29 +00:00
Jens Arnold
cfb073c452
Coldfire: New timer handling on CPU frequency change, adjusting the prescaler on the fly, for both tick and user timer. Precondition is that the higher frequencies are integer multiples of the base: now NORMAL is 45 MHz and MAX is 124 MHz. Removes the need for applications with longer timer periods (>= 10 ms) to boost the CPU all the time, e.g. the grayscale lib. Timer counts are now always based on the base frequency (CPU_FREQ). * Adjusted the RAM refresh timers to the new frequencies (all frequencies for H100) * All: Fixed the tick timer count being off by one.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7576 a1c6a512-1295-4272-9138-f99709370657
2005-10-03 09:24:36 +00:00
Jens Arnold
05042affc7
Core: A graphics framework can now register a hook function to extend the core screendump routine. * Grayscale library: (1) Changed the screendump routine into a hook, and implemented it for H1x0. (2) The planar pixel setting routines now use one register less. Fixes build problem with developer builds (frame pointers enabled) on coldfire.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7574 a1c6a512-1295-4272-9138-f99709370657
2005-10-01 10:20:55 +00:00
Jens Arnold
1a40e10933
H1x0: Changed lcd_blit() and the grayscale library to use the same internal format as on archos (1bpp). While the slowdown of the ISR is minimal (the intermediate buffers are in IRAM), the planar grayscale buffer takes only half the space for a given depth, and gray_update[_rect]() and unbuffered drawing/scrolling are faster because less data needs to be moved. It should also make porting of video.rock somewhat easier. * Archos recorders, Ondios: Some slight optimisations of the grayscale library.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7571 a1c6a512-1295-4272-9138-f99709370657
2005-09-30 20:10:27 +00:00
Jens Arnold
feaf62704e
Grayscale lib: Moved the shift count doubling for unbuffered up/down scrolling out of the asm block itself (cosmetic).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7250 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 14:08:58 +00:00
Jens Arnold
00866dbf86
Grayscale library: (1) Ported to iriver H1x0. Experiments have shown that the intended 49-shade mode isn't possible due to interference between the internal greylevel generation of the LCD and external pixel flipping, so the lib allows 33 shades as on the Archos. The current implementation wastes RAM by not switching the LCD to b&w mode and simply using colours 0 and 3 only. However, this allows to show a partial greyscale overlay and normal 4-shade graphics in parallel. (2) Converted all asm blocks to use symbolic parameters. (3) Properly marked asm input parameters that are changed within the block as in-out and feed them from a temp variable where necessary. (4) Screenshot is not yet working on H1x0.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7244 a1c6a512-1295-4272-9138-f99709370657
2005-07-27 19:58:49 +00:00
Jens Arnold
e44372ef18
Moved implementation of user timer to the firmware layer, implemented it for iriver, and made it shareable based on priorities. On iriver, the user timer is shared between the backlight fading and other use, so if a plugin registers the timer, the backlight will resort to simple on/off switching until the plugin releases the timer again. Sorted and bumped the plugin api.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7242 a1c6a512-1295-4272-9138-f99709370657
2005-07-26 20:01:11 +00:00
Jens Arnold
c20a00ef3e
Complete rework of the grayscale library: (1) Implemented the new rockbox graphics api. (2) Added buffered mode, and implemented most drawing functions for buffered mode only. Buffered mode will ease implementation of animated graphics. Some functions are additionally provided as unbuffered versions (drawing grayscale bitmaps, scrolling) since unbuffered mode is better suited for non-animated graphics (JPEG viewer, mandelbrot) and saves some RAM, which is important on Archos. (3) Put all functions in a couple of source files, no more one-function-per-files. This became possible since sectioned compilation for the plugin library and appropriate linking for the pluginswas introduced, otherwise the binaries would be bloated by unused functions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7241 a1c6a512-1295-4272-9138-f99709370657
2005-07-25 20:50:34 +00:00
Jens Arnold
937725f674
Beginnings of a library complementing the core LCD functions. First function: filled triangle drawing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7128 a1c6a512-1295-4272-9138-f99709370657
2005-07-12 23:50:37 +00:00
Jens Arnold
d7f9439353
Adapted remote LCD driver and player graphics library to the new bitmap function naming scheme.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7047 a1c6a512-1295-4272-9138-f99709370657
2005-07-07 00:05:29 +00:00
Jens Arnold
3291ae6bfa
A couple of optimisations.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6981 a1c6a512-1295-4272-9138-f99709370657
2005-07-02 07:21:21 +00:00
Jens Arnold
93867305d5
Player graphics library extended and converted to new api. Please note that the player gfx bitmap format chas changed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6956 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 21:07:00 +00:00
Jens Arnold
305a7ce1a2
Enabled sectioned compilation for the plugin library, and linking with garbage collection for the plugins. The effect is that functions and data objects from one object file in the plugin library are included in the .elf individually, not as a whole. It makes maintaining larger plugin library packages easier, as it is no longer necessary to split the source files by function to avoid dead code to get included in the plugins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6931 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 21:04:22 +00:00
Daniel Stenberg
1c56afad5d
removed old codec leftovers
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6919 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 13:46:51 +00:00
Jens Arnold
9ca433f7bb
Don't try to compile the grayscale lib for unsupported configurations, saves compile time.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6895 a1c6a512-1295-4272-9138-f99709370657
2005-06-27 17:52:42 +00:00
Daniel Stenberg
1dd672fe32
moved and renamed the codecs, gave the codecs a new extension (.codec),
...
unified to a single codec-only API, made a new codeclib, disabled the building
of the *2wav plugins
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6812 a1c6a512-1295-4272-9138-f99709370657
2005-06-22 19:41:30 +00:00
Linus Nielsen Feltzing
fa148bb812
A new API for saving highscores in game plugins
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6611 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 13:47:46 +00:00
Linus Nielsen Feltzing
c10e148a6e
Killed a warning
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6581 a1c6a512-1295-4272-9138-f99709370657
2005-06-06 00:32:05 +00:00
Linus Nielsen Feltzing
1c497e6045
First audio codec playback attempt by Miikka Pekkarinen
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6574 a1c6a512-1295-4272-9138-f99709370657
2005-06-05 23:05:10 +00:00
Daniel Stenberg
b8a23f9e49
Fixed makefiles for autoconf.g include.
...
Fixed build output look in several Makefiles
Fixed code to include autoconf.h
Fixed code to use ROCKBOX_*_ENDIAN instead of previous attempts.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6421 a1c6a512-1295-4272-9138-f99709370657
2005-05-07 22:41:17 +00:00
Linus Nielsen Feltzing
d34865a530
mp3buf renamed to audiobuf
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6252 a1c6a512-1295-4272-9138-f99709370657
2005-04-05 11:33:58 +00:00
Jens Arnold
657fdf26f2
Compile the simulators without special code & data sections. Fixes intermittent hangs/ crashes of mpa2wav.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6181 a1c6a512-1295-4272-9138-f99709370657
2005-03-10 20:02:08 +00:00
Jens Arnold
58aa4c98bb
Fixes for the codec test environment: (1) Long aligned codec_malloc(). (2) Update all stats at most once per second.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6176 a1c6a512-1295-4272-9138-f99709370657
2005-03-09 19:36:53 +00:00
Daniel Stenberg
8ebff817a2
Use the new generic SRC build "macro" in tools/makesrc.inc to process the
...
SOURCES file. Hopefully this now works better for Mac OS X people.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6152 a1c6a512-1295-4272-9138-f99709370657
2005-03-06 15:40:03 +00:00
Jens Arnold
75640f45eb
Player graphics library: fixed and more robust bounds check, added bitmap drawing.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6139 a1c6a512-1295-4272-9138-f99709370657
2005-03-05 11:31:43 +00:00
Jens Arnold
b363d65625
Get malloc() and friends out of the way for the cygwin linker (and maybe others), to make plugins work properly in the simulator.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6086 a1c6a512-1295-4272-9138-f99709370657
2005-02-28 20:55:31 +00:00
Jens Arnold
cb78646baf
Codec test plugins: use DEBUGF() instead of (not cleanly avaliable) printf().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6052 a1c6a512-1295-4272-9138-f99709370657
2005-02-25 00:46:41 +00:00
Jens Arnold
6e372abb0e
Grayscale lib: let the compiler decide when to save the pr register.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6051 a1c6a512-1295-4272-9138-f99709370657
2005-02-24 23:24:00 +00:00
Linus Nielsen Feltzing
0cd492f552
Reduced the LCD updates to once per second
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6046 a1c6a512-1295-4272-9138-f99709370657
2005-02-23 14:04:33 +00:00
Daniel Stenberg
22b7701fe7
Build cleanup and general fixes. fprintf() is now fdprintf(), the separation
...
between uisimulator files and firmware/apps files are better done.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6031 a1c6a512-1295-4272-9138-f99709370657
2005-02-22 12:19:12 +00:00
Dave Chapman
4d961f2128
First version of vorbis decoder
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6017 a1c6a512-1295-4272-9138-f99709370657
2005-02-19 12:11:18 +00:00
Dave Chapman
7b56110e5e
Build the codec plugins in the simulator - only tested for X11
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6011 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 16:28:52 +00:00
Daniel Stenberg
cdde25b597
Unified build system to use SOURCES for sim builds too, a single Makefile-look
...
made by configure and various related adjustments. This has not yet been tested
on cygwin.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6001 a1c6a512-1295-4272-9138-f99709370657
2005-02-18 13:47:17 +00:00
Dave Chapman
b64d95fe85
Add flac2wav decoder - hardcoded output is /flactest.wav
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5989 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 21:43:57 +00:00
Dave Chapman
3c166be0a4
Do not build on simulator or non-software codecs targets
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5984 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 19:39:48 +00:00
Dave Chapman
9b32a1988f
Move contents of plugins/xxx2wav.h into the plugin library
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5982 a1c6a512-1295-4272-9138-f99709370657
2005-02-16 18:51:21 +00:00
Jens Arnold
aa6ec9530e
Clip bottom & right when positioning the gfx display.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5926 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 01:32:05 +00:00
Jens Arnold
85a026eacd
Added clearpixel() and clearline().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5924 a1c6a512-1295-4272-9138-f99709370657
2005-02-12 00:30:00 +00:00
Jens Arnold
b66f94b03d
Split the display & update function in two, and added invertpixel(), invertline() and invertrect().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5916 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 19:35:50 +00:00
Jens Arnold
c552e03c90
Beginnings of a graphics library for the player LCD. So far the only drawing functions are clear_display(), drawpixel() and drawline().
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5882 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:12:59 +00:00
Daniel Stenberg
bc45e628a1
these only build/run on targets using the LCD_SSD1815 display
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5773 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 08:35:29 +00:00
Daniel Stenberg
824cf0c649
CFLAGS is set (target-specific) in the root makefile, don't fiddle with them
...
here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5772 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 08:34:56 +00:00
Daniel Stenberg
d2f2953a74
only compile files that are relevant
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5173 a1c6a512-1295-4272-9138-f99709370657
2004-10-05 07:58:54 +00:00
Daniel Stenberg
9c85941786
new SOURCES file that specifies which files to build in each dir, use
...
config.h preprocessor symbols to make conditionals
use the GCCOPTS now specified in the root Makefile by configure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5158 a1c6a512-1295-4272-9138-f99709370657
2004-10-04 13:03:33 +00:00
Daniel Stenberg
8e55d0cca0
adjusted to work better in the new concept
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5108 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 21:40:45 +00:00
Daniel Stenberg
fc1e925c16
Rearranged makefiles again to move platform-specific stuff from the Makefiles
...
to either the configure script or to be ifdefed in the sources.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5103 a1c6a512-1295-4272-9138-f99709370657
2004-09-22 08:58:50 +00:00
Jens Arnold
962d99a72e
Makefile Fix: plugin lib includes for Ondio
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5077 a1c6a512-1295-4272-9138-f99709370657
2004-09-15 09:38:33 +00:00
Daniel Stenberg
678090a2e7
rombox support: building and zip
...
general makefile: less output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5043 a1c6a512-1295-4272-9138-f99709370657
2004-09-06 07:05:12 +00:00
Jens Arnold
b4920271ba
Fixed new font format: necessity of offset table generation, output of fonts without one
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5018 a1c6a512-1295-4272-9138-f99709370657
2004-08-27 00:34:15 +00:00
Jens Arnold
f8a5802d8e
Fixed pointer types & struct font
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5016 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 22:05:35 +00:00
Jörg Hohensohn
5d36aaf249
New font format (already rotated) saves code, space and time. On the downside this new format is incompatible, so get the new fonts, too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5015 a1c6a512-1295-4272-9138-f99709370657
2004-08-26 21:15:07 +00:00
Jens Arnold
85890b88df
Const policed the grayscale lib & plugin
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4985 a1c6a512-1295-4272-9138-f99709370657
2004-08-03 20:57:06 +00:00
Linus Nielsen Feltzing
0e067bbe55
Removed the simulator build option
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4929 a1c6a512-1295-4272-9138-f99709370657
2004-07-23 21:10:13 +00:00
Linus Nielsen Feltzing
e93aa4b09c
Now keeps integers within range, and saves a version number in the cfg file, refusing to load too old versions
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4916 a1c6a512-1295-4272-9138-f99709370657
2004-07-22 07:51:02 +00:00
Linus Nielsen Feltzing
897fb63ec8
New plugin library framework for loading and saving .cfg files
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4912 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 13:46:42 +00:00
Linus Nielsen Feltzing
e7bb8c0428
Added the apps/recorder dir to the include path for recorder builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4853 a1c6a512-1295-4272-9138-f99709370657
2004-07-08 13:12:16 +00:00
Jens Arnold
d073326b6b
Added screen dump function to the grayscale lib
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4843 a1c6a512-1295-4272-9138-f99709370657
2004-07-06 23:11:02 +00:00
Jens Arnold
0690ac1966
added comments about default values
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4804 a1c6a512-1295-4272-9138-f99709370657
2004-06-25 21:09:34 +00:00
Jens Arnold
b058366b13
Save and restore pr register within _writearray() / _writeblock(). Cleaner coding, fixes GCC 3.3.1 build.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4803 a1c6a512-1295-4272-9138-f99709370657
2004-06-25 21:01:37 +00:00
Jens Arnold
7c6bdd6493
Split grayscale library into several files to make up a real function library. Significantly decreases binary size for plugins using it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4802 a1c6a512-1295-4272-9138-f99709370657
2004-06-23 22:15:50 +00:00
Jens Arnold
051e017ab8
Slight speedup for drawing 1-bit bitmaps with draw modes 0..2
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4784 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 00:02:51 +00:00
Daniel Stenberg
91c51764ee
on request, set the SIMULATOR define when building for the sim
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4780 a1c6a512-1295-4272-9138-f99709370657
2004-06-20 22:01:26 +00:00
Linus Nielsen Feltzing
5b9c4c1297
The plugin lib now works in the win32 simulator
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4747 a1c6a512-1295-4272-9138-f99709370657
2004-06-15 05:41:41 +00:00
Jens Arnold
ca2bb463d3
Major rework of the grayscale framework:
...
* api change - all drawing functions now use draw mode, foreground and
background shades set globally by separate functions
* There are now 4 draw modes for all drawing functions, no more separate
functions for inverse drawing
* Significant speedup of 1-bit bitmap (and font) drawing (2..3 times)
* Some more speed tweaks
* Additional functions for horizontal and vertical lines
* Copied describing comments to the header file for easier reference
* The safety net against an uninitialized grayscale buffer is gone
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4711 a1c6a512-1295-4272-9138-f99709370657
2004-06-02 23:53:27 +00:00