diff options
Diffstat (limited to 'firmware/target/arm/pnx0101')
-rw-r--r-- | firmware/target/arm/pnx0101/iriver-ifp7xx/lcd-ifp7xx.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/firmware/target/arm/pnx0101/iriver-ifp7xx/lcd-ifp7xx.c b/firmware/target/arm/pnx0101/iriver-ifp7xx/lcd-ifp7xx.c index 0aacd8af67..39caf66b69 100644 --- a/firmware/target/arm/pnx0101/iriver-ifp7xx/lcd-ifp7xx.c +++ b/firmware/target/arm/pnx0101/iriver-ifp7xx/lcd-ifp7xx.c | |||
@@ -145,8 +145,8 @@ void lcd_init_device(void) | |||
145 | 145 | ||
146 | /* Performance function that works with an external buffer | 146 | /* Performance function that works with an external buffer |
147 | note that by and bheight are in 8-pixel units! */ | 147 | note that by and bheight are in 8-pixel units! */ |
148 | void lcd_blit(const unsigned char* data, int x, int by, int width, | 148 | void lcd_blit_mono(const unsigned char *data, int x, int by, int width, |
149 | int bheight, int stride) | 149 | int bheight, int stride) |
150 | { | 150 | { |
151 | /* Copy display bitmap to hardware */ | 151 | /* Copy display bitmap to hardware */ |
152 | while (bheight--) | 152 | while (bheight--) |
@@ -161,6 +161,20 @@ void lcd_blit(const unsigned char* data, int x, int by, int width, | |||
161 | } | 161 | } |
162 | 162 | ||
163 | 163 | ||
164 | /* Performance function that works with an external buffer | ||
165 | note that by and bheight are in 8-pixel units! */ | ||
166 | void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases, | ||
167 | int x, int by, int width, int bheight, int stride) | ||
168 | { | ||
169 | (void)values; | ||
170 | (void)phases; | ||
171 | (void)x; | ||
172 | (void)by; | ||
173 | (void)width; | ||
174 | (void)bheight; | ||
175 | (void)stride; | ||
176 | } | ||
177 | |||
164 | /* Update the display. | 178 | /* Update the display. |
165 | This must be called after all other LCD functions that change the display. */ | 179 | This must be called after all other LCD functions that change the display. */ |
166 | void lcd_update(void) ICODE_ATTR; | 180 | void lcd_update(void) ICODE_ATTR; |