Lines Matching refs:image

187 static void arkfb_iplan_imageblit(struct fb_info *info, const struct fb_image *image)  in arkfb_iplan_imageblit()  argument
189 u32 fg = expand_color(image->fg_color); in arkfb_iplan_imageblit()
190 u32 bg = expand_color(image->bg_color); in arkfb_iplan_imageblit()
197 src1 = image->data; in arkfb_iplan_imageblit()
198 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_iplan_imageblit()
199 + ((image->dx / 8) * 4); in arkfb_iplan_imageblit()
201 for (y = 0; y < image->height; y++) { in arkfb_iplan_imageblit()
204 for (x = 0; x < image->width; x += 8) { in arkfb_iplan_imageblit()
209 src1 += image->width / 8; in arkfb_iplan_imageblit()
245 static void arkfb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image) in arkfb_cfb4_imageblit() argument
247 u32 fg = image->fg_color * 0x11111111; in arkfb_cfb4_imageblit()
248 u32 bg = image->bg_color * 0x11111111; in arkfb_cfb4_imageblit()
255 src1 = image->data; in arkfb_cfb4_imageblit()
256 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_cfb4_imageblit()
257 + ((image->dx / 8) * 4); in arkfb_cfb4_imageblit()
259 for (y = 0; y < image->height; y++) { in arkfb_cfb4_imageblit()
262 for (x = 0; x < image->width; x += 8) { in arkfb_cfb4_imageblit()
267 src1 += image->width / 8; in arkfb_cfb4_imageblit()
273 static void arkfb_imageblit(struct fb_info *info, const struct fb_image *image) in arkfb_imageblit() argument
275 if ((info->var.bits_per_pixel == 4) && (image->depth == 1) in arkfb_imageblit()
276 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { in arkfb_imageblit()
278 arkfb_iplan_imageblit(info, image); in arkfb_imageblit()
280 arkfb_cfb4_imageblit(info, image); in arkfb_imageblit()
282 cfb_imageblit(info, image); in arkfb_imageblit()