summaryrefslogtreecommitdiff
path: root/apps/plugins/lib (follow)
Commit message (Collapse)AuthorAge
* Move the old api out of the core and into the plugin lib.Jonathan Gordon2007-05-08
| | | | | | | 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
* Missed a couple. Hopefully fix all warnings.Michael Sevakis2007-04-21
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13234 a1c6a512-1295-4272-9138-f99709370657
* General housekeeping: Make plugin buffer functions take size_t * instead of ↵Michael Sevakis2007-04-21
| | | | | | 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
* Now charcell displays require lcd_update() for updating the main lcd content ↵Jens Arnold2007-04-06
| | | | | | like bitmap displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13050 a1c6a512-1295-4272-9138-f99709370657
* woops, used the wrong defineJonathan Gordon2007-03-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12920 a1c6a512-1295-4272-9138-f99709370657
* Convert the playback control menu to the new API. Makes a good example Jonathan Gordon2007-03-26
| | | | | | | for plugin devs :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12919 a1c6a512-1295-4272-9138-f99709370657
* First step of charcell LCD code rework: * Make it fully unicode aware so ↵Jens Arnold2007-03-26
| | | | | | 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
* Rename some macros to account for the recently added M5 port. No code changes.Jens Arnold2007-03-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12809 a1c6a512-1295-4272-9138-f99709370657
* Get rid of the 'center' parameter for splashes. There were only 2 of almost ↵Jens Arnold2007-03-16
| | | | | | 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657
* Make the Play / Pause option restart playback if its stopped alsoJonathan Gordon2007-03-12
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12738 a1c6a512-1295-4272-9138-f99709370657
* Kill a warning.Thom Johansen2007-02-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12204 a1c6a512-1295-4272-9138-f99709370657
* Optimise EQ coef calculation routines for both speed and size. Move now ↵Thom Johansen2007-02-05
| | | | | | | | | 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
* Removed 'mode' parameter from creat(). It wasn't pure posix anyway, it was ↵Jens Arnold2007-02-01
| | | | | | 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
* Start of work on a port to the Archos 'AV300' (AV320/340/380) - a working UI ↵Dave Chapman2007-01-14
| | | | | | 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
* Removed executable flagLinus Nielsen Feltzing2007-01-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11966 a1c6a512-1295-4272-9138-f99709370657
* Gigabeat gets rockblox ! Thanks to the RedZZR Gary Allen.Steve Gotthardt2007-01-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11918 a1c6a512-1295-4272-9138-f99709370657
* Beginnings of a fixed point math library for use in plugins. fsincos() only ↵Jens Arnold2006-12-10
| | | | | | for now, mostly copied from eq.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11712 a1c6a512-1295-4272-9138-f99709370657
* Beginnings of a fixed point math library for use in plugins. fsincos() only ↵Jens Arnold2006-12-10
| | | | | | for now, mostly copied from eq.c git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11709 a1c6a512-1295-4272-9138-f99709370657
* Fix minor typo in the plugin playback control menu c->CNils Wallménius2006-11-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11619 a1c6a512-1295-4272-9138-f99709370657
* ipod keypad fixes.. fixes bubblesJonathan Gordon2006-11-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11598 a1c6a512-1295-4272-9138-f99709370657
* grr.. forgot to add these filesJonathan Gordon2006-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11553 a1c6a512-1295-4272-9138-f99709370657
* * Move checkbox to plugin api (core never uses it)Jonathan Gordon2006-11-19
| | | | | | | * 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
* fix ondios again. Add a context for left/right/fire actions which seemsJonathan Gordon2006-11-18
| | | | | | | to work well git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11546 a1c6a512-1295-4272-9138-f99709370657
* fix buildsJonathan Gordon2006-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11537 a1c6a512-1295-4272-9138-f99709370657
* woops, i'm a dill!Jonathan Gordon2006-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11536 a1c6a512-1295-4272-9138-f99709370657
* implement actions in the plugins, bubbles and metronome converted.Jonathan Gordon2006-11-16
| | | | | | | | | (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
* Grayscale lib: Using a 32x32->32 bit multiplication is better on ARM, as ↵Jens Arnold2006-11-05
| | | | | | 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
* Next step of Makefile tuning: * Use 'make' internal commands for printing ↵Jens Arnold2006-10-27
| | | | | | 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
* Consistent style of 'make' messages. Always use ranlib after ar.Jens Arnold2006-10-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11322 a1c6a512-1295-4272-9138-f99709370657
* Rockblox: * Ported to the Player :-P * Slight optimisation in refresh_board().Jens Arnold2006-10-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11146 a1c6a512-1295-4272-9138-f99709370657
* * Use fast multiplication macro in some more places. * Better pipelining on SH1.Jens Arnold2006-08-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10652 a1c6a512-1295-4272-9138-f99709370657
* Better implementation of the new greyscale algorithm. A bit faster (+2% on ↵Jens Arnold2006-08-11
| | | | | | 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
* New algorithm for grayscale buffer updates which is faster for large buffer ↵Jens Arnold2006-08-11
| | | | | | 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
* 'no voice' is -1 not 0 and menu_items does have a pointerMarcoen Hirschberg2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10527 a1c6a512-1295-4272-9138-f99709370657
* don't assign NULL to a long (fixes sim build warnings)Marcoen Hirschberg2006-08-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10526 a1c6a512-1295-4272-9138-f99709370657
* ARM targets: Shave off one instruction from the multiply-by-75.Jens Arnold2006-08-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10503 a1c6a512-1295-4272-9138-f99709370657
* Fix sim warnings.Jens Arnold2006-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10481 a1c6a512-1295-4272-9138-f99709370657
* Grayscale lib: Working screendump on iPod (target + sim).Jens Arnold2006-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10478 a1c6a512-1295-4272-9138-f99709370657
* * Assembler optimised gray_update_rect() and writearray() for arm (greyscale ↵Jens Arnold2006-08-07
| | | | | | 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
* We can run the grayscale lib at full frame rate on iPods...Jens Arnold2006-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10471 a1c6a512-1295-4272-9138-f99709370657
* Grayscale library ported to the grayscale iPods, first version. Added C ↵Jens Arnold2006-08-07
| | | | | | 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
* Again smaller fixed point exp()Jens Arnold2006-08-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10455 a1c6a512-1295-4272-9138-f99709370657
* Smaller & faster (on our targets) fixed point exp() with a multiplication.Jens Arnold2006-08-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10454 a1c6a512-1295-4272-9138-f99709370657
* Repair bufferend scrolling background.Jens Arnold2006-08-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10434 a1c6a512-1295-4272-9138-f99709370657
* Proper rounding...Jens Arnold2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10420 a1c6a512-1295-4272-9138-f99709370657
* Slightly better precision.Jens Arnold2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10419 a1c6a512-1295-4272-9138-f99709370657
* Ooops, don't apply correction when it shouldn't be applied.Jens Arnold2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10418 a1c6a512-1295-4272-9138-f99709370657
* Grayscale library: LCD linearisation and gamma correction.Jens Arnold2006-08-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10402 a1c6a512-1295-4272-9138-f99709370657
* Moved the X5 button driver to the target treeLinus Nielsen Feltzing2006-07-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
* Lib to save a bitmap struct to a bmp file. Only works/tested with color bitmaps.Antoine Cellerier2006-07-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10254 a1c6a512-1295-4272-9138-f99709370657