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 /firmware/export | |
parent | 754e173c252ab80a9e1e290bddfa126e6227ac1c (diff) | |
download | rockbox-c9d66562afc15de210854b32f30976859bce2023.tar.gz rockbox-c9d66562afc15de210854b32f30976859bce2023.zip |
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 'firmware/export')
-rw-r--r-- | firmware/export/lcd.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 38561a725e..32a958af2a 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -71,6 +71,12 @@ extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string, | |||
71 | int style); | 71 | int style); |
72 | extern void lcd_icon(int icon, bool enable); | 72 | extern void lcd_icon(int icon, bool enable); |
73 | 73 | ||
74 | #if CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO | ||
75 | void lcd_yuv_blit(unsigned char * const src[3], | ||
76 | int src_x, int src_y, int stride, | ||
77 | int x, int y, int width, int height); | ||
78 | #endif | ||
79 | |||
74 | #if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP) | 80 | #if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP) |
75 | /* performance function */ | 81 | /* performance function */ |
76 | extern void lcd_blit(const fb_data* data, int x, int by, int width, | 82 | extern void lcd_blit(const fb_data* data, int x, int by, int width, |