diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2022-10-13 11:03:53 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2022-10-13 11:08:06 -0400 |
commit | 418169aff8faf2cf90124cd95dba0af821cea73d (patch) | |
tree | 4fc206af57c9a07fba6cbcb3517fa946a7b84668 /apps/plugin.h | |
parent | f9ea1fc79d6aaff9949a5b11ae011b4e04e0e9d9 (diff) | |
download | rockbox-418169aff8faf2cf90124cd95dba0af821cea73d.tar.gz rockbox-418169aff8faf2cf90124cd95dba0af821cea73d.zip |
Revert "Remove YUV blitting functions and LCD modes"
This reverts commit fe6aa21e9eb88f49005863efd2003d0982920048.
Change-Id: I8bb1e5d6c52ed1478002d2140ef494ec5d62b8e3
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 681200608c..2ac333a19f 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -242,6 +242,17 @@ struct plugin_api { | |||
242 | int x, int y, int width, int height); | 242 | int x, int y, int width, int height); |
243 | void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y, | 243 | void (*lcd_bitmap_transparent)(const fb_data *src, int x, int y, |
244 | int width, int height); | 244 | int width, int height); |
245 | #if MEMORYSIZE > 2 | ||
246 | void (*lcd_blit_yuv)(unsigned char * const src[3], | ||
247 | int src_x, int src_y, int stride, | ||
248 | int x, int y, int width, int height); | ||
249 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ | ||
250 | || defined(IRIVER_H10) || defined(COWON_D2) || defined(PHILIPS_HDD1630) \ | ||
251 | || defined(SANSA_FUZE) || defined(SANSA_E200V2) || defined(SANSA_FUZEV2) \ | ||
252 | || defined(TOSHIBA_GIGABEAT_S) || defined(PHILIPS_SA9200) | ||
253 | void (*lcd_yuv_set_options)(unsigned options); | ||
254 | #endif | ||
255 | #endif /* MEMORYSIZE > 2 */ | ||
245 | #elif (LCD_DEPTH < 4) && (CONFIG_PLATFORM & PLATFORM_NATIVE) | 256 | #elif (LCD_DEPTH < 4) && (CONFIG_PLATFORM & PLATFORM_NATIVE) |
246 | void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width, | 257 | void (*lcd_blit_mono)(const unsigned char *data, int x, int by, int width, |
247 | int bheight, int stride); | 258 | int bheight, int stride); |