summaryrefslogtreecommitdiff
path: root/apps/plugin.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-08-08 13:44:43 +0000
committerJens Arnold <amiconn@rockbox.org>2006-08-08 13:44:43 +0000
commitc5a309afbd60114a4cb8b7f758647f7a6af0a6bd (patch)
treecb615f1619892e1d059c1767481d3f5f67a47402 /apps/plugin.h
parent905cf06e32197f54cd005851e4060f0e8cbff34c (diff)
downloadrockbox-c5a309afbd60114a4cb8b7f758647f7a6af0a6bd.zip
rockbox-c5a309afbd60114a4cb8b7f758647f7a6af0a6bd.tar.gz
rockbox-c5a309afbd60114a4cb8b7f758647f7a6af0a6bd.tar.bz2
rockbox-c5a309afbd60114a4cb8b7f758647f7a6af0a6bd.tar.xz
H300: * Implemented lcd_yuv_blit(). Speeds up video playback by about 7%. No bounds check in lcd_yuv_blit() (by convention), implementations for other targets should be adapted. * Fixed off-by-one bug in lcd_update_rect()
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10484 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r--apps/plugin.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugin.h b/apps/plugin.h
index b764d86..f43e0ae 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -104,7 +104,7 @@
#define PLUGIN_MAGIC 0x526F634B /* RocK */
/* increase this every time the api struct changes */
-#define PLUGIN_API_VERSION 27
+#define PLUGIN_API_VERSION 28
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@@ -539,8 +539,8 @@ struct plugin_api {
void (*lcd_remote_bitmap)(const fb_remote_data *src, int x, int y, int width,
int height);
#endif
-#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO) && \
- !defined(SIMULATOR)
+#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
+ || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR)
void (*lcd_yuv_blit)(unsigned char * const src[3],
int src_x, int src_y, int stride,
int x, int y, int width, int height);