Lines Matching refs:image
174 static void arkfb_iplan_imageblit(struct fb_info *info, const struct fb_image *image) in arkfb_iplan_imageblit() argument
176 u32 fg = expand_color(image->fg_color); in arkfb_iplan_imageblit()
177 u32 bg = expand_color(image->bg_color); in arkfb_iplan_imageblit()
184 src1 = image->data; in arkfb_iplan_imageblit()
185 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_iplan_imageblit()
186 + ((image->dx / 8) * 4); in arkfb_iplan_imageblit()
188 for (y = 0; y < image->height; y++) { in arkfb_iplan_imageblit()
191 for (x = 0; x < image->width; x += 8) { in arkfb_iplan_imageblit()
196 src1 += image->width / 8; in arkfb_iplan_imageblit()
232 static void arkfb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image) in arkfb_cfb4_imageblit() argument
234 u32 fg = image->fg_color * 0x11111111; in arkfb_cfb4_imageblit()
235 u32 bg = image->bg_color * 0x11111111; in arkfb_cfb4_imageblit()
242 src1 = image->data; in arkfb_cfb4_imageblit()
243 dst1 = info->screen_base + (image->dy * info->fix.line_length) in arkfb_cfb4_imageblit()
244 + ((image->dx / 8) * 4); in arkfb_cfb4_imageblit()
246 for (y = 0; y < image->height; y++) { in arkfb_cfb4_imageblit()
249 for (x = 0; x < image->width; x += 8) { in arkfb_cfb4_imageblit()
254 src1 += image->width / 8; in arkfb_cfb4_imageblit()
260 static void arkfb_imageblit(struct fb_info *info, const struct fb_image *image) in arkfb_imageblit() argument
262 if ((info->var.bits_per_pixel == 4) && (image->depth == 1) in arkfb_imageblit()
263 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { in arkfb_imageblit()
265 arkfb_iplan_imageblit(info, image); in arkfb_imageblit()
267 arkfb_cfb4_imageblit(info, image); in arkfb_imageblit()
269 cfb_imageblit(info, image); in arkfb_imageblit()