From c9d66562afc15de210854b32f30976859bce2023 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 7 Aug 2006 22:11:07 +0000 Subject: 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 --- firmware/export/lcd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'firmware/export') 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, int style); extern void lcd_icon(int icon, bool enable); +#if CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO +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 + #if defined(SIMULATOR) || defined(HAVE_LCD_BITMAP) /* performance function */ extern void lcd_blit(const fb_data* data, int x, int by, int width, -- cgit v1.2.3