summaryrefslogtreecommitdiff
path: root/apps/plugin.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-08-07 22:11:07 +0000
committerDave Chapman <dave@dchapman.com>2006-08-07 22:11:07 +0000
commitc9d66562afc15de210854b32f30976859bce2023 (patch)
tree4fc7c506797bf96e389bd2fb68dd0e36d2735750 /apps/plugin.c
parent754e173c252ab80a9e1e290bddfa126e6227ac1c (diff)
downloadrockbox-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.c')
-rw-r--r--apps/plugin.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index f9f7e42..96d55ab 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -462,6 +462,11 @@ static const struct plugin_api rockbox_api = {
lcd_remote_bitmap_part,
lcd_remote_bitmap,
#endif
+
+#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO) && \
+ !defined(SIMULATOR)
+ lcd_yuv_blit,
+#endif
};
int plugin_load(const char* plugin, void* parameter)