diff options
| author | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-26 07:05:13 +0000 |
|---|---|---|
| committer | Andrew Mahone <andrew.mahone@gmail.com> | 2008-12-26 07:05:13 +0000 |
| commit | 9058620849c080a404fb156915856f9d0b06e71c (patch) | |
| tree | 004590b20a5ea0fa6b099f5332af162896e44098 /apps/plugin.h | |
| parent | f7fa7e5ad537415f1f75b3a9c1a58eb925e10d04 (diff) | |
| download | rockbox-9058620849c080a404fb156915856f9d0b06e71c.zip rockbox-9058620849c080a404fb156915856f9d0b06e71c.tar.gz rockbox-9058620849c080a404fb156915856f9d0b06e71c.tar.bz2 rockbox-9058620849c080a404fb156915856f9d0b06e71c.tar.xz | |
Make scaler output truly pluggable, add an 8-bit greyscale output to
pluginlib for use with greylib, and add source for a test scaled bmp
viewer using greylib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19593 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 20e3a71..81c0696 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -132,12 +132,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 130 +#define PLUGIN_API_VERSION 131 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define PLUGIN_MIN_API_VERSION 130 +#define PLUGIN_MIN_API_VERSION 131 /* plugin return codes */ enum plugin_status { @@ -714,7 +714,7 @@ struct plugin_api { #endif #ifdef HAVE_LCD_BITMAP int (*read_bmp_file)(const char* filename, struct bitmap *bm, int maxsize, - int format); + int format, const struct custom_format *cformat); void (*screen_dump_set_hook)(void (*hook)(int fh)); #endif int (*show_logo)(void); |