summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2006-08-08 21:28:08 +0000
committerDave Chapman <dave@dchapman.com>2006-08-08 21:28:08 +0000
commit13b23fbcdb38dc2865d550ae5cc5bdaa8e444264 (patch)
tree460022828d88e5c60335b0e06ecc4ec339cd7c4c /apps
parentc4c56a3da7a3ef868b853fb8f434198d6b9f9ee9 (diff)
downloadrockbox-13b23fbcdb38dc2865d550ae5cc5bdaa8e444264.zip
rockbox-13b23fbcdb38dc2865d550ae5cc5bdaa8e444264.tar.gz
rockbox-13b23fbcdb38dc2865d550ae5cc5bdaa8e444264.tar.bz2
rockbox-13b23fbcdb38dc2865d550ae5cc5bdaa8e444264.tar.xz
Implementation of lcd_yuv_blit() for the ipod 5g.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c3
-rw-r--r--apps/plugin.h3
-rw-r--r--apps/plugins/mpegplayer/video_out_rockbox.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/apps/plugin.c b/apps/plugin.c
index bbc5d7d..6641fe2 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -464,7 +464,8 @@ static const struct plugin_api rockbox_api = {
#endif
#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
- || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR)
+ || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \
+ !defined(SIMULATOR)
lcd_yuv_blit,
#endif
diff --git a/apps/plugin.h b/apps/plugin.h
index f43e0ae..9f17fa6 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -540,7 +540,8 @@ struct plugin_api {
int height);
#endif
#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
- || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR)
+ || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \
+ !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);
diff --git a/apps/plugins/mpegplayer/video_out_rockbox.c b/apps/plugins/mpegplayer/video_out_rockbox.c
index c77c433..174921e 100644
--- a/apps/plugins/mpegplayer/video_out_rockbox.c
+++ b/apps/plugins/mpegplayer/video_out_rockbox.c
@@ -201,7 +201,8 @@ static void rockbox_draw_frame (vo_instance_t * instance,
(void)instance;
#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
- || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR)
+ || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) \
+ && !defined(SIMULATOR)
rb->lcd_yuv_blit(buf,
0,0,image_width,
output_x,output_y,output_width,output_height);