From 13b23fbcdb38dc2865d550ae5cc5bdaa8e444264 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Tue, 8 Aug 2006 21:28:08 +0000 Subject: Implementation of lcd_yuv_blit() for the ipod 5g. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10487 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 3 ++- apps/plugin.h | 3 ++- apps/plugins/mpegplayer/video_out_rockbox.c | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'apps') 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 = { #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 f43e0ae08b..9f17fa6480 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 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, (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); -- cgit v1.2.3