Commit graph

16 commits

Author SHA1 Message Date
Jens Arnold
a36b1d4083 New plugin loader. Solves the crashes introduced with the .bss changes while keeping the small binary size. The model & api version check is now part of the plugin loader. Codecs are not yet adapted, but the old method still works for them. Simulator plugins are not (yet) version-checked. API version numbering restarted, as this is an all-new system. Uses the target ID from configure, so don't change that too often.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8349 a1c6a512-1295-4272-9138-f99709370657
2006-01-15 18:20:18 +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
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
b65b52b1b9 Adjusted grayscale demo plugin to H1x0: (1) Button assignment. (2) Variable screen resolution.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7248 a1c6a512-1295-4272-9138-f99709370657
2005-07-28 09:15:00 +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
Daniel Stenberg
6700ad8f20 adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
2005-02-04 12:41:09 +00:00
Jens Arnold
9db31cf886 grayscale.rock, jpeg.rock and video.rock now use default_event_handler_ex(). Adapted and enabled them for Ondio.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5264 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 22:49:51 +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
Jens Arnold
2adfd88965 Adapted to new grayscale framework
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4712 a1c6a512-1295-4272-9138-f99709370657
2004-06-02 23:54:18 +00:00
Jens Arnold
38f1d4d285 Adapted to new gray_init_buffer()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4650 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 17:04:08 +00:00
Jens Arnold
e4c1667979 Grayscale demo plugin, now using the grayscale library
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4642 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 08:21:30 +00:00
Daniel Stenberg
8b043aece9 this source file was moved to the lib/ dir instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4637 a1c6a512-1295-4272-9138-f99709370657
2004-05-19 06:46:07 +00:00
Jens Arnold
507800a386 Implemented scrolling up/down by n pixels (<= 7)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4628 a1c6a512-1295-4272-9138-f99709370657
2004-05-17 00:43:58 +00:00
Jens Arnold
9580e3a577 Vastly improved speed for gray_fillrect(), gray_drawgraymap(), left and right scrolling. Various other optimizations.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4626 a1c6a512-1295-4272-9138-f99709370657
2004-05-15 21:55:15 +00:00
Jens Arnold
1f55909081 gray_drawbitmap() changed to use the same bitmap format as lcd_bitmap(). Also made the bound checks a lot more safe.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4612 a1c6a512-1295-4272-9138-f99709370657
2004-05-12 22:39:39 +00:00
Jens Arnold
f304356248 A plugin containing a framework to use grayscale display, primarily aimed at plugin developers. It also contains a small demo of what the framework can do.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4603 a1c6a512-1295-4272-9138-f99709370657
2004-05-10 21:43:51 +00:00