From 9058620849c080a404fb156915856f9d0b06e71c Mon Sep 17 00:00:00 2001 From: Andrew Mahone Date: Fri, 26 Dec 2008 07:05:13 +0000 Subject: 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 --- apps/plugin.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugin.h') 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); -- cgit v1.1