diff options
author | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-03 10:17:41 +0100 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2022-10-03 13:30:01 +0100 |
commit | fe6aa21e9eb88f49005863efd2003d0982920048 (patch) | |
tree | 11ffde0fdde131f39145542506cf9020dcf384d3 /firmware/export | |
parent | b371ff1f4758f6781e2b89f86bd8e65b8585f56e (diff) | |
download | rockbox-fe6aa21e9eb88f49005863efd2003d0982920048.tar.gz rockbox-fe6aa21e9eb88f49005863efd2003d0982920048.zip |
Remove YUV blitting functions and LCD modes
None of this is needed now that mpegplayer is gone.
Change-Id: I360366db8513e4d988021e8d7b7d8eb09930efb8
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/mrobe500.h | 2 | ||||
-rw-r--r-- | firmware/export/lcd.h | 11 |
2 files changed, 2 insertions, 11 deletions
diff --git a/firmware/export/config/mrobe500.h b/firmware/export/config/mrobe500.h index 621c0b75ca..0ecec80e02 100644 --- a/firmware/export/config/mrobe500.h +++ b/firmware/export/config/mrobe500.h | |||
@@ -220,7 +220,7 @@ | |||
220 | #define HAVE_USB_HID_MOUSE | 220 | #define HAVE_USB_HID_MOUSE |
221 | 221 | ||
222 | /* Define this if hardware supports alternate blitting */ | 222 | /* Define this if hardware supports alternate blitting */ |
223 | #define HAVE_LCD_MODES (LCD_MODE_RGB565 | LCD_MODE_YUV | LCD_MODE_PAL256) | 223 | #define HAVE_LCD_MODES (LCD_MODE_RGB565 | LCD_MODE_PAL256) |
224 | 224 | ||
225 | #define CONFIG_CPU DM320 | 225 | #define CONFIG_CPU DM320 |
226 | 226 | ||
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 67b22190ad..29c34b698b 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h | |||
@@ -145,7 +145,6 @@ struct scrollinfo; | |||
145 | #if defined(HAVE_LCD_MODES) | 145 | #if defined(HAVE_LCD_MODES) |
146 | void lcd_set_mode(int mode); | 146 | void lcd_set_mode(int mode); |
147 | #define LCD_MODE_RGB565 0x00000001 | 147 | #define LCD_MODE_RGB565 0x00000001 |
148 | #define LCD_MODE_YUV 0x00000002 | ||
149 | #define LCD_MODE_PAL256 0x00000004 | 148 | #define LCD_MODE_PAL256 0x00000004 |
150 | 149 | ||
151 | #if HAVE_LCD_MODES & LCD_MODE_PAL256 | 150 | #if HAVE_LCD_MODES & LCD_MODE_PAL256 |
@@ -236,15 +235,7 @@ extern bool lcd_putsxy_scroll_func(int x, int y, const unsigned char *string, | |||
236 | void *data, int x_offset); | 235 | void *data, int x_offset); |
237 | 236 | ||
238 | /* performance function */ | 237 | /* performance function */ |
239 | #if defined(HAVE_LCD_COLOR) | 238 | #if !defined(HAVE_LCD_COLOR) |
240 | #if MEMORYSIZE > 2 | ||
241 | #define LCD_YUV_DITHER 0x1 | ||
242 | extern void lcd_yuv_set_options(unsigned options); | ||
243 | extern void lcd_blit_yuv(unsigned char * const src[3], | ||
244 | int src_x, int src_y, int stride, | ||
245 | int x, int y, int width, int height); | ||
246 | #endif /* MEMORYSIZE > 2 */ | ||
247 | #else | ||
248 | extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, | 239 | extern void lcd_blit_mono(const unsigned char *data, int x, int by, int width, |
249 | int bheight, int stride); | 240 | int bheight, int stride); |
250 | extern void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, | 241 | extern void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, |