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.tar.gz
rockbox-13b23fbcdb38dc2865d550ae5cc5bdaa8e444264.zip
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 bbc5d7d15c..6641fe2ee1 100644
--- a/apps/plugin.c
+++ b/apps/plugin.c
@@ -464,7 +464,8 @@ static const struct plugin_api rockbox_api = {
464#endif 464#endif
465 465
466#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ 466#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
467 || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR) 467 || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \
468 !defined(SIMULATOR)
468 lcd_yuv_blit, 469 lcd_yuv_blit,
469#endif 470#endif
470 471
diff --git a/apps/plugin.h b/apps/plugin.h
index f43e0ae08b..9f17fa6480 100644
--- a/apps/plugin.h
+++ b/apps/plugin.h
@@ -540,7 +540,8 @@ struct plugin_api {
540 int height); 540 int height);
541#endif 541#endif
542#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ 542#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
543 || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR) 543 || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) && \
544 !defined(SIMULATOR)
544 void (*lcd_yuv_blit)(unsigned char * const src[3], 545 void (*lcd_yuv_blit)(unsigned char * const src[3],
545 int src_x, int src_y, int stride, 546 int src_x, int src_y, int stride,
546 int x, int y, int width, int height); 547 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 c77c433dee..174921e837 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,
201 (void)instance; 201 (void)instance;
202 202
203#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \ 203#if (CONFIG_LCD == LCD_IPODCOLOR || CONFIG_LCD == LCD_IPODNANO \
204 || CONFIG_LCD == LCD_H300) && !defined(SIMULATOR) 204 || CONFIG_LCD == LCD_H300 || CONFIG_LCD == LCD_IPODVIDEO) \
205 && !defined(SIMULATOR)
205 rb->lcd_yuv_blit(buf, 206 rb->lcd_yuv_blit(buf,
206 0,0,image_width, 207 0,0,image_width,
207 output_x,output_y,output_width,output_height); 208 output_x,output_y,output_width,output_height);