Lines Matching refs:image
274 void atyfb_imageblit(struct fb_info *info, const struct fb_image *image) in atyfb_imageblit() argument
277 u32 src_bytes, dx = image->dx, dy = image->dy, width = image->width; in atyfb_imageblit()
282 if (!image->width || !image->height) in atyfb_imageblit()
285 (image->depth != 1 && info->var.bits_per_pixel != image->depth)) { in atyfb_imageblit()
286 cfb_imageblit(info, image); in atyfb_imageblit()
293 switch (image->depth) { in atyfb_imageblit()
339 if (M64_HAS(HW_TRIPLE) && image->width % 8 == 0) in atyfb_imageblit()
343 if (image->depth == 1) { in atyfb_imageblit()
347 fg = ((u32*)(info->pseudo_palette))[image->fg_color]; in atyfb_imageblit()
348 bg = ((u32*)(info->pseudo_palette))[image->bg_color]; in atyfb_imageblit()
350 fg = image->fg_color; in atyfb_imageblit()
351 bg = image->bg_color; in atyfb_imageblit()
372 draw_rect(dx, dy, width, image->height, par); in atyfb_imageblit()
373 src_bytes = (((image->width * image->depth) + 7) / 8) * image->height; in atyfb_imageblit()
378 u8 *pbitmapin = (u8*)image->data, *pbitmapout; in atyfb_imageblit()
381 for (width = image->width, inbit = 7, mult24 = 0; src_bytes; ) { in atyfb_imageblit()
402 width = image->width; in atyfb_imageblit()
413 for (pbitmap = (u32*)(image->data); dwords; dwords--, pbitmap++) { in atyfb_imageblit()