summaryrefslogtreecommitdiff
path: root/firmware/target/coldfire/iriver/h100
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/iriver/h100
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/iriver/h100')
-rw-r--r--firmware/target/coldfire/iriver/h100/lcd-h100.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/coldfire/iriver/h100/lcd-h100.c b/firmware/target/coldfire/iriver/h100/lcd-h100.c
index 2ba19255da..fd22df81ef 100644
--- a/firmware/target/coldfire/iriver/h100/lcd-h100.c
+++ b/firmware/target/coldfire/iriver/h100/lcd-h100.c
@@ -140,8 +140,8 @@ void lcd_init_device(void)
140 140
141/* Performance function that works with an external buffer 141/* Performance function that works with an external buffer
142 note that by and bheight are in 8-pixel units! */ 142 note that by and bheight are in 8-pixel units! */
143void lcd_blit(const unsigned char* data, int x, int by, int width, 143void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
144 int bheight, int stride) 144 int bheight, int stride)
145{ 145{
146 const unsigned char *src, *src_end; 146 const unsigned char *src, *src_end;
147 unsigned char *dst_u, *dst_l; 147 unsigned char *dst_u, *dst_l;
@@ -185,7 +185,7 @@ void lcd_grey_data(unsigned char *values, unsigned char *phases, int count);
185 185
186/* Performance function that works with an external buffer 186/* Performance function that works with an external buffer
187 note that by and bheight are in 4-pixel units! */ 187 note that by and bheight are in 4-pixel units! */
188void lcd_grey_phase_blit(unsigned char *values, unsigned char *phases, 188void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
189 int x, int by, int width, int bheight, int stride) 189 int x, int by, int width, int bheight, int stride)
190{ 190{
191 stride <<= 2; /* 4 pixels per block */ 191 stride <<= 2; /* 4 pixels per block */