summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-07-15 17:54:58 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-07-15 17:54:58 +0000
commitadb6a00c59371e202edba06d19f950f422b688ee (patch)
treee852e9340d9d3a567467bc8ded6b55b64820b316 /apps
parentbda60d18d8d2cc48eb39b37665809abb31116b55 (diff)
downloadrockbox-adb6a00c59371e202edba06d19f950f422b688ee.tar.gz
rockbox-adb6a00c59371e202edba06d19f950f422b688ee.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/plugin.c2
-rw-r--r--apps/plugin.h4
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.h2
3 files changed, 4 insertions, 4 deletions
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 = {
120 lcd_bitmap_transparent, 120 lcd_bitmap_transparent,
121 lcd_blit_yuv, 121 lcd_blit_yuv,
122#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ 122#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \
123 || defined (IRIVER_H10) 123 || defined(IRIVER_H10) || defined(COWON_D2)
124 lcd_yuv_set_options, 124 lcd_yuv_set_options,
125#endif 125#endif
126#elif (LCD_DEPTH < 4) && !defined(SIMULATOR) 126#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 {
206 int src_x, int src_y, int stride, 206 int src_x, int src_y, int stride,
207 int x, int y, int width, int height); 207 int x, int y, int width, int height);
208#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ 208#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \
209 || defined (IRIVER_H10) 209 || defined(IRIVER_H10) || defined(COWON_D2)
210 void (*lcd_yuv_set_options)(unsigned options); 210 void (*lcd_yuv_set_options)(unsigned options);
211#endif 211#endif
212#elif (LCD_DEPTH < 4) && !defined(SIMULATOR) 212#elif (LCD_DEPTH < 4) && !defined(SIMULATOR)
@@ -395,7 +395,7 @@ struct plugin_api {
395 size_t stack_size, unsigned flags, 395 size_t stack_size, unsigned flags,
396 const char *name 396 const char *name
397 IF_PRIO(, int priority) 397 IF_PRIO(, int priority)
398 IF_COP(, unsigned int core)); 398 IF_COP(, unsigned int core));
399 void (*thread_exit)(void); 399 void (*thread_exit)(void);
400 void (*thread_wait)(struct thread_entry *thread); 400 void (*thread_wait)(struct thread_entry *thread);
401#if CONFIG_CODEC == SWCODEC 401#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 @@
6#define SETTINGS_FILENAME "mpegplayer.cfg" 6#define SETTINGS_FILENAME "mpegplayer.cfg"
7 7
8#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ 8#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \
9 || defined (IRIVER_H10) 9 || defined(IRIVER_H10) || defined(COWON_D2)
10#define MPEG_OPTION_DITHERING_ENABLED 1 10#define MPEG_OPTION_DITHERING_ENABLED 1
11#endif 11#endif
12 12