summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2009-06-21 14:09:48 +0000
committerRafaël Carré <rafael.carre@gmail.com>2009-06-21 14:09:48 +0000
commita98c54f5f121f6323cb230e44b9f1b8d40b07283 (patch)
treeaa313998e0e59231b1bea4bb5cc790632a05dd46 /firmware/export
parent04451b436972de653804d0a178de648093453d53 (diff)
downloadrockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.tar.gz
rockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.zip
Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build)
Only affected target: Sansa c200v2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 870a9d3f61..11fcc98a66 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -151,11 +151,13 @@ extern void lcd_puts_scroll_style(int x, int y, const unsigned char* string,
151 151
152/* performance function */ 152/* performance function */
153#if defined(HAVE_LCD_COLOR) 153#if defined(HAVE_LCD_COLOR)
154#if MEMORYSIZE > 2
154#define LCD_YUV_DITHER 0x1 155#define LCD_YUV_DITHER 0x1
155extern void lcd_yuv_set_options(unsigned options); 156extern void lcd_yuv_set_options(unsigned options);
156extern void lcd_blit_yuv(unsigned char * const src[3], 157extern void lcd_blit_yuv(unsigned char * const src[3],
157 int src_x, int src_y, int stride, 158 int src_x, int src_y, int stride,
158 int x, int y, int width, int height); 159 int x, int y, int width, int height);
160#endif /* MEMORYSIZE > 2 */
159#else 161#else
160extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, 162extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
161 int bheight, int stride); 163 int bheight, int stride);