diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:35:53 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:35:53 +0000 |
commit | 68a21689aef3a81335456476d4d10860ef5bc6b3 (patch) | |
tree | a57b6c31e4edd13e178da276344d33b172796456 /firmware/target/arm/sandisk | |
parent | 99c0978faa94b0e2fabe5d06000a10c8d48e7a0c (diff) | |
download | rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.tar.gz rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.zip |
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/sandisk')
-rw-r--r-- | firmware/target/arm/sandisk/sansa-c200/lcd-c200.c | 16 | ||||
-rw-r--r-- | firmware/target/arm/sandisk/sansa-e200/lcd-e200.c | 14 |
2 files changed, 2 insertions, 28 deletions
diff --git a/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c b/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c index b17cce30fa..fed4119077 100644 --- a/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c +++ b/firmware/target/arm/sandisk/sansa-c200/lcd-c200.c | |||
@@ -195,20 +195,6 @@ void lcd_set_flip(bool yesno) | |||
195 | 195 | ||
196 | /*** update functions ***/ | 196 | /*** update functions ***/ |
197 | 197 | ||
198 | /* Performance function that works with an external buffer | ||
199 | note that by and bheight are in 4-pixel units! */ | ||
200 | void lcd_blit(const fb_data* data, int x, int by, int width, | ||
201 | int bheight, int stride) | ||
202 | { | ||
203 | /* TODO: Implement lcd_blit() */ | ||
204 | (void)data; | ||
205 | (void)x; | ||
206 | (void)by; | ||
207 | (void)width; | ||
208 | (void)bheight; | ||
209 | (void)stride; | ||
210 | } | ||
211 | |||
212 | void lcd_yuv_set_options(unsigned options) | 198 | void lcd_yuv_set_options(unsigned options) |
213 | { | 199 | { |
214 | lcd_yuv_options = options; | 200 | lcd_yuv_options = options; |
@@ -224,7 +210,7 @@ extern void lcd_write_yuv420_lines_odither(unsigned char const * const src[3], | |||
224 | int x_screen, /* To align dither pattern */ | 210 | int x_screen, /* To align dither pattern */ |
225 | int y_screen); | 211 | int y_screen); |
226 | /* Performance function to blit a YUV bitmap directly to the LCD */ | 212 | /* Performance function to blit a YUV bitmap directly to the LCD */ |
227 | void lcd_yuv_blit(unsigned char * const src[3], | 213 | void lcd_blit_yuv(unsigned char * const src[3], |
228 | int src_x, int src_y, int stride, | 214 | int src_x, int src_y, int stride, |
229 | int x, int y, int width, int height) | 215 | int x, int y, int width, int height) |
230 | { | 216 | { |
diff --git a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c index e1212c9512..f2689eabbf 100644 --- a/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c +++ b/firmware/target/arm/sandisk/sansa-e200/lcd-e200.c | |||
@@ -612,18 +612,6 @@ void lcd_set_flip(bool yesno) | |||
612 | 612 | ||
613 | /* Blitting functions */ | 613 | /* Blitting functions */ |
614 | 614 | ||
615 | void lcd_blit(const fb_data* data, int x, int by, int width, | ||
616 | int bheight, int stride) | ||
617 | { | ||
618 | /* TODO: Implement lcd_blit() */ | ||
619 | (void)data; | ||
620 | (void)x; | ||
621 | (void)by; | ||
622 | (void)width; | ||
623 | (void)bheight; | ||
624 | (void)stride; | ||
625 | } | ||
626 | |||
627 | void lcd_yuv_set_options(unsigned options) | 615 | void lcd_yuv_set_options(unsigned options) |
628 | { | 616 | { |
629 | lcd_yuv_options = options; | 617 | lcd_yuv_options = options; |
@@ -643,7 +631,7 @@ extern void lcd_write_yuv420_lines_odither(fb_data *dst, | |||
643 | /* Performance function to blit a YUV bitmap directly to the LCD */ | 631 | /* Performance function to blit a YUV bitmap directly to the LCD */ |
644 | /* For the e200 - show it rotated */ | 632 | /* For the e200 - show it rotated */ |
645 | /* So the LCD_WIDTH is now the height */ | 633 | /* So the LCD_WIDTH is now the height */ |
646 | void lcd_yuv_blit(unsigned char * const src[3], | 634 | void lcd_blit_yuv(unsigned char * const src[3], |
647 | int src_x, int src_y, int stride, | 635 | int src_x, int src_y, int stride, |
648 | int x, int y, int width, int height) | 636 | int x, int y, int width, int height) |
649 | { | 637 | { |