diff options
| author | Dave Chapman <dave@dchapman.com> | 2006-08-07 22:11:07 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2006-08-07 22:11:07 +0000 |
| commit | c9d66562afc15de210854b32f30976859bce2023 (patch) | |
| tree | 4fc7c506797bf96e389bd2fb68dd0e36d2735750 /apps/plugin.h | |
| parent | 754e173c252ab80a9e1e290bddfa126e6227ac1c (diff) | |
| download | rockbox-c9d66562afc15de210854b32f30976859bce2023.zip rockbox-c9d66562afc15de210854b32f30976859bce2023.tar.gz rockbox-c9d66562afc15de210854b32f30976859bce2023.tar.bz2 rockbox-c9d66562afc15de210854b32f30976859bce2023.tar.xz | |
Initial commit of work-in-progress MPEG video player plugin based on libmpeg2. Works on all targets with colour LCDs, but most optimised for the ipod Color/Photo and Nano. It currently only plays raw MPEG-1 or MPEG-2 video streams (no audio). Also adds a new lcd_yuv_blit() function to the plugin API - currently only implemented for the ipod Color/Photo and Nano.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10479 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 0187de8..69fbea9 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 25 +#define PLUGIN_API_VERSION 26 /* 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,6 +539,13 @@ 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) + 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); +#endif + }; /* plugin header */ |