diff options
Diffstat (limited to 'firmware/target/arm/iriver/h10')
-rw-r--r-- | firmware/target/arm/iriver/h10/lcd-h10_20gb.c | 16 | ||||
-rw-r--r-- | firmware/target/arm/iriver/h10/lcd-h10_5gb.c | 16 |
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! */ | ||
386 | void 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 | |||
398 | void lcd_yuv_set_options(unsigned options) | 384 | void 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 */ |
414 | void lcd_yuv_blit(unsigned char * const src[3], | 400 | void 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! */ | ||
117 | void 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 */ |
144 | void lcd_yuv_blit(unsigned char * const src[3], | 130 | void 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 | { |