summaryrefslogtreecommitdiff
path: root/firmware/target/arm/iriver/h10
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/arm/iriver/h10
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/arm/iriver/h10')
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_20gb.c16
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_5gb.c16
2 files changed, 2 insertions, 30 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
index 892adffea9..2052be724c 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
@@ -381,20 +381,6 @@ void lcd_sleep(void)
381 381
382/*** update functions ***/ 382/*** update functions ***/
383 383
384/* Performance function that works with an external buffer
385 note that by and bheight are in 4-pixel units! */
386void lcd_blit(const fb_data* data, int x, int by, int width,
387 int bheight, int stride)
388{
389 /* TODO: Implement lcd_blit() */
390 (void)data;
391 (void)x;
392 (void)by;
393 (void)width;
394 (void)bheight;
395 (void)stride;
396}
397
398void lcd_yuv_set_options(unsigned options) 384void lcd_yuv_set_options(unsigned options)
399{ 385{
400 lcd_yuv_options = options; 386 lcd_yuv_options = options;
@@ -411,7 +397,7 @@ extern void lcd_write_yuv420_lines_odither(unsigned char const * const src[3],
411 int y_screen); 397 int y_screen);
412 398
413/* Performance function to blit a YUV bitmap directly to the LCD */ 399/* Performance function to blit a YUV bitmap directly to the LCD */
414void lcd_yuv_blit(unsigned char * const src[3], 400void lcd_blit_yuv(unsigned char * const src[3],
415 int src_x, int src_y, int stride, 401 int src_x, int src_y, int stride,
416 int x, int y, int width, int height) 402 int x, int y, int width, int height)
417{ 403{
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
index 8972fd1e9c..5b022e09c5 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_5gb.c
@@ -112,20 +112,6 @@ void lcd_init_device(void)
112 112
113/*** update functions ***/ 113/*** update functions ***/
114 114
115/* Performance function that works with an external buffer
116 note that by and bheight are in 4-pixel units! */
117void lcd_blit(const fb_data* data, int x, int by, int width,
118 int bheight, int stride)
119{
120 /* TODO: Implement lcd_blit() */
121 (void)data;
122 (void)x;
123 (void)by;
124 (void)width;
125 (void)bheight;
126 (void)stride;
127}
128
129#define CSUB_X 2 115#define CSUB_X 2
130#define CSUB_Y 2 116#define CSUB_Y 2
131 117
@@ -141,7 +127,7 @@ void lcd_blit(const fb_data* data, int x, int by, int width,
141#define ROUNDOFFSG (63*257) 127#define ROUNDOFFSG (63*257)
142 128
143/* Performance function to blit a YUV bitmap directly to the LCD */ 129/* Performance function to blit a YUV bitmap directly to the LCD */
144void lcd_yuv_blit(unsigned char * const src[3], 130void lcd_blit_yuv(unsigned char * const src[3],
145 int src_x, int src_y, int stride, 131 int src_x, int src_y, int stride,
146 int x, int y, int width, int height) 132 int x, int y, int width, int height)
147{ 133{