Lines Matching refs:image

347 static void s3fb_iplan_imageblit(struct fb_info *info, const struct fb_image *image)  in s3fb_iplan_imageblit()  argument
349 u32 fg = expand_color(image->fg_color); in s3fb_iplan_imageblit()
350 u32 bg = expand_color(image->bg_color); in s3fb_iplan_imageblit()
357 src1 = image->data; in s3fb_iplan_imageblit()
358 dst1 = info->screen_base + (image->dy * info->fix.line_length) in s3fb_iplan_imageblit()
359 + ((image->dx / 8) * 4); in s3fb_iplan_imageblit()
361 for (y = 0; y < image->height; y++) { in s3fb_iplan_imageblit()
364 for (x = 0; x < image->width; x += 8) { in s3fb_iplan_imageblit()
369 src1 += image->width / 8; in s3fb_iplan_imageblit()
404 static void s3fb_cfb4_imageblit(struct fb_info *info, const struct fb_image *image) in s3fb_cfb4_imageblit() argument
406 u32 fg = image->fg_color * 0x11111111; in s3fb_cfb4_imageblit()
407 u32 bg = image->bg_color * 0x11111111; in s3fb_cfb4_imageblit()
414 src1 = image->data; in s3fb_cfb4_imageblit()
415 dst1 = info->screen_base + (image->dy * info->fix.line_length) in s3fb_cfb4_imageblit()
416 + ((image->dx / 8) * 4); in s3fb_cfb4_imageblit()
418 for (y = 0; y < image->height; y++) { in s3fb_cfb4_imageblit()
421 for (x = 0; x < image->width; x += 8) { in s3fb_cfb4_imageblit()
426 src1 += image->width / 8; in s3fb_cfb4_imageblit()
431 static void s3fb_imageblit(struct fb_info *info, const struct fb_image *image) in s3fb_imageblit() argument
433 if ((info->var.bits_per_pixel == 4) && (image->depth == 1) in s3fb_imageblit()
434 && ((image->width % 8) == 0) && ((image->dx % 8) == 0)) { in s3fb_imageblit()
436 s3fb_iplan_imageblit(info, image); in s3fb_imageblit()
438 s3fb_cfb4_imageblit(info, image); in s3fb_imageblit()
440 cfb_imageblit(info, image); in s3fb_imageblit()