Lines Matching refs:image
287 void atyfb_imageblit(struct fb_info *info, const struct fb_image *image) in atyfb_imageblit() argument
290 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit()
295 if (!image->width || !image->height) in atyfb_imageblit()
298 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) { in atyfb_imageblit()
299 cfb_imageblit(info, image); in atyfb_imageblit()
305 switch (image->depth) { in atyfb_imageblit()
351 if (image->depth == 1 && M64_HAS(HW_TRIPLE) && image->width % 8 == 0) in atyfb_imageblit()
355 if (image->depth == 1) { in atyfb_imageblit()
359 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit()
360 bg = ((u32*)(info->pseudo_palette))[image->bg_color]; in atyfb_imageblit()
362 fg = image->fg_color; in atyfb_imageblit()
363 bg = image->bg_color; in atyfb_imageblit()
383 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
384 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; in atyfb_imageblit()
387 if (image->depth == 1 && info->var.bits_per_pixel == 24 && !(pix_width & DP_HOST_TRIPLE_EN)) { in atyfb_imageblit()
389 u8 *pbitmapin = (u8*)image->data, *pbitmapout; in atyfb_imageblit()
392 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit()
413 width = image->width; in atyfb_imageblit()
424 for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) { in atyfb_imageblit()