summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iaudio/m5
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-24 00:35:53 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-24 00:35:53 +0000
commit68a21689aef3a81335456476d4d10860ef5bc6b3 (patch)
treea57b6c31e4edd13e178da276344d33b172796456 /firmware/target/coldfire/iaudio/m5
parent99c0978faa94b0e2fabe5d06000a10c8d48e7a0c (diff)
downloadrockbox-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/coldfire/iaudio/m5')
-rw-r--r--firmware/target/coldfire/iaudio/m5/lcd-m5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/coldfire/iaudio/m5/lcd-m5.c b/firmware/target/coldfire/iaudio/m5/lcd-m5.c
index be9d5a39b8..71d49f544b 100644
--- a/firmware/target/coldfire/iaudio/m5/lcd-m5.c
+++ b/firmware/target/coldfire/iaudio/m5/lcd-m5.c
@@ -131,8 +131,8 @@ void lcd_init_device(void)
131 131
132/* Performance function that works with an external buffer 132/* Performance function that works with an external buffer
133 note that by and bheight are in 8-pixel units! */ 133 note that by and bheight are in 8-pixel units! */
134void lcd_blit(const unsigned char* data, int x, int by, int width, 134void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
135 int bheight, int stride) 135 int bheight, int stride)
136{ 136{
137 const unsigned char *src, *src_end; 137 const unsigned char *src, *src_end;
138 unsigned char *dst_u, *dst_l; 138 unsigned char *dst_u, *dst_l;
@@ -176,7 +176,7 @@ void lcd_grey_data(unsigned char *values, unsigned char *phases, int count);
176 176
177/* Performance function that works with an external buffer 177/* Performance function that works with an external buffer
178 note that by and bheight are in 4-pixel units! */ 178 note that by and bheight are in 4-pixel units! */
179void lcd_grey_phase_blit(unsigned char *values, unsigned char *phases, 179void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
180 int x, int by, int width, int bheight, int stride) 180 int x, int by, int width, int bheight, int stride)
181{ 181{
182 stride <<= 2; /* 4 pixels per block */ 182 stride <<= 2; /* 4 pixels per block */