forked from len0rd/rockbox
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
This commit is contained in:
parent
6ceaf321f3
commit
40919d7db2
20 changed files with 744 additions and 315 deletions
|
@ -198,6 +198,18 @@ PLUGIN_HEADER
|
|||
#define JPEG_NEXT (BUTTON_DISPLAY | BUTTON_RIGHT)
|
||||
#define JPEG_PREVIOUS (BUTTON_DISPLAY | BUTTON_LEFT)
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
|
||||
#define JPEG_ZOOM_PRE BUTTON_RC_PLAY
|
||||
#define JPEG_ZOOM_IN (BUTTON_RC_PLAY|BUTTON_REL)
|
||||
#define JPEG_ZOOM_OUT (BUTTON_RC_PLAY|BUTTON_REPEAT)
|
||||
#define JPEG_UP BUTTON_RC_VOL_UP
|
||||
#define JPEG_DOWN BUTTON_RC_VOL_DOWN
|
||||
#define JPEG_LEFT BUTTON_RC_REW
|
||||
#define JPEG_RIGHT BUTTON_RC_FF
|
||||
#define JPEG_MENU BUTTON_RC_REC
|
||||
#define JPEG_NEXT BUTTON_RC_MODE
|
||||
#define JPEG_PREVIOUS BUTTON_RC_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_PAD
|
||||
#define JPEG_ZOOM_IN BUTTON_PLUS
|
||||
#define JPEG_ZOOM_OUT BUTTON_MINUS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue