From adb6a00c59371e202edba06d19f950f422b688ee Mon Sep 17 00:00:00 2001 From: Rob Purchase Date: Tue, 15 Jul 2008 17:54:58 +0000 Subject: Update lcd-as-memframe.S to only rotate YUV data for portrait LCDs (and remove the D2's temporary C implementation). Enable MpegPlayer dithering option for D2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18055 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.c | 2 +- apps/plugin.h | 4 ++-- apps/plugins/mpegplayer/mpeg_settings.h | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps') diff --git a/apps/plugin.c b/apps/plugin.c index b864170218..a220e8c429 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -120,7 +120,7 @@ static const struct plugin_api rockbox_api = { lcd_bitmap_transparent, lcd_blit_yuv, #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ - || defined (IRIVER_H10) + || defined(IRIVER_H10) || defined(COWON_D2) lcd_yuv_set_options, #endif #elif (LCD_DEPTH < 4) && !defined(SIMULATOR) diff --git a/apps/plugin.h b/apps/plugin.h index dfe746342e..3ffaafce2f 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -206,7 +206,7 @@ struct plugin_api { int src_x, int src_y, int stride, int x, int y, int width, int height); #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ - || defined (IRIVER_H10) + || defined(IRIVER_H10) || defined(COWON_D2) void (*lcd_yuv_set_options)(unsigned options); #endif #elif (LCD_DEPTH < 4) && !defined(SIMULATOR) @@ -395,7 +395,7 @@ struct plugin_api { size_t stack_size, unsigned flags, const char *name IF_PRIO(, int priority) - IF_COP(, unsigned int core)); + IF_COP(, unsigned int core)); void (*thread_exit)(void); void (*thread_wait)(struct thread_entry *thread); #if CONFIG_CODEC == SWCODEC diff --git a/apps/plugins/mpegplayer/mpeg_settings.h b/apps/plugins/mpegplayer/mpeg_settings.h index d00dc197cb..71c6db50b0 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.h +++ b/apps/plugins/mpegplayer/mpeg_settings.h @@ -6,7 +6,7 @@ #define SETTINGS_FILENAME "mpegplayer.cfg" #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ - || defined (IRIVER_H10) + || defined(IRIVER_H10) || defined(COWON_D2) #define MPEG_OPTION_DITHERING_ENABLED 1 #endif -- cgit v1.2.3