Lines Matching refs:image
358 static void s3fb_iplan_imageblit(struct fb_info *info, const struct fb_image *image) in s3fb_iplan_imageblit() argument
360 u32 fg = expand_color(image->fg_color); in s3fb_iplan_imageblit()
361 u32 bg = expand_color(image->bg_color); in s3fb_iplan_imageblit()
368 src1 = image->data; in s3fb_iplan_imageblit()
369 dst1 = info->screen_base + (image->dy * info->fix.line_length) in s3fb_iplan_imageblit()
370 + ((image->dx / 8) * 4); in s3fb_iplan_imageblit()
372 for (y = 0; y < image->height; y++) { in s3fb_iplan_imageblit()
375 for (x = 0; x < image->width; x += 8) { in s3fb_iplan_imageblit()
380 src1 += image->width / 8; in s3fb_iplan_imageblit()
415 static void s3fb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image) in s3fb_cfb4_imageblit() argument
417 u32 fg = image->fg_color * 0x11111111; in s3fb_cfb4_imageblit()
418 u32 bg = image->bg_color * 0x11111111; in s3fb_cfb4_imageblit()
425 src1 = image->data; in s3fb_cfb4_imageblit()
426 dst1 = info->screen_base + (image->dy * info->fix.line_length) in s3fb_cfb4_imageblit()
427 + ((image->dx / 8) * 4); in s3fb_cfb4_imageblit()
429 for (y = 0; y < image->height; y++) { in s3fb_cfb4_imageblit()
432 for (x = 0; x < image->width; x += 8) { in s3fb_cfb4_imageblit()
437 src1 += image->width / 8; in s3fb_cfb4_imageblit()
442 static void s3fb_imageblit(struct fb_info *info, const struct fb_image *image) in s3fb_imageblit() argument
444 if ((info->var.bits_per_pixel == 4) && (image->depth == 1) in s3fb_imageblit()
445 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { in s3fb_imageblit()
447 s3fb_iplan_imageblit(info, image); in s3fb_imageblit()
449 s3fb_cfb4_imageblit(info, image); in s3fb_imageblit()
451 cfb_imageblit(info, image); in s3fb_imageblit()